Open source
Nothing hidden. Read every line.
Al-Khandaq is free and open-source software. Anyone can read the code, build it, change it and share it, under the GNU GPL and AGPL, version 3.
Why open source
A security tool you can check
Al-Khandaq runs with administrator rights. With its source public, anyone can see what it checks, what it changes and every connection it makes.
Free for everyone
Homes, schools, NGOs and businesses use it at no cost, fixes included. The licence keeps it that way: nobody can take the code back.
Fixed in the open
Researchers, translators and developers can find problems, propose fixes and follow every change.
The licences in plain words
A short summary. The licence texts decide.
App, agent and tools: GPL-3.0-only
Use, study, change and share Al-Khandaq, at home or at work, also commercially. If you give a changed version to others, give them its source under the same licence.
Fleet server: AGPL-3.0-only
The same rules, plus one: if you let other people use a changed fleet server over a network, offer them its source.
Other people's work
Fonts, detection rules and libraries from others keep their own licences. Each release lists them in its third-party notices and SBOM.
Organisation keys
Official builds use a key for the features made for many computers. The licence lets you change those checks in your own build; a key never limits your rights under it.
Name and logo
The licences cover the code, not the Al-Khandaq name and logo. Forks are welcome; give yours its own name and logo.
Installers of version 1.0.2 and earlier came with a separate licence, which still applies to them. Version 1.0.2 licence
Check a release yourself
Each release publishes its installers with the matching source and the evidence that ties them together.
Checksums
A SHA-256 list for each platform covers every installer, SBOM and source archive.
Signatures
Each checksum list is signed with an offline Ed25519 key; its public half is on this site and in the source. The macOS installers are also signed with Apple Developer ID and notarised.
SBOM
A CycloneDX software bill of materials lists the components of the Windows and Linux builds and their versions.
Matching source
The source archive is made from the release commit and includes the source of every dependency, so it builds offline. Its SOURCE-REVISION.json names the commit.
Reproducible builds
Releases are built with a pinned Rust toolchain and locked dependencies, and record their commit and build time. Byte-for-byte reproducible builds are a goal; we do not claim them yet.
Contribute
Bug reports, translations, documentation, tests and code are all welcome.
Start with CONTRIBUTING.md
How to build and test, and how to sign off each commit under the Developer Certificate of Origin. You keep your copyright.
Working with an AI assistant?
AGENTS.md gives coding assistants the project map and its rules. You still review, test and sign off every change yourself.
Good first issues
Small, clearly described tasks: a good place to start.
Pashto and Dari
If Pashto or Dari is your first language, reviewing the app's text in it helps the most people.
Governance
Al-Khandaq is developed by Akhund Baba Software Development Services. Its two co-founders are the founding maintainers. Routine changes need one maintainer; licensing and ownership decisions need both.
Report a security problem
Please do not open a public issue. Email security@akhundbaba.af instead; we reply privately.