The project's README from github.com/0sec-labs/0security. As one markdown file: README.md.
By the Swiss Applied AI & Cybersecurity Research Lab
0security is open-source software to deploy persistent AI security agents that find and fix security risks across any tech stack, work with any model, and run anywhere.
curl -fsSL https://raw.githubusercontent.com/0sec-labs/0security/main/install.sh | bash
export OPENAI_API_KEY="your-api-key"
0security scan ./your-repo
The installer adds the command as 0security and as the short alias 0. Both run the same program. It also installs foxguard, the static analysis engine that 0 scan runs first; it is built from crates/foxguard in this repository and verified against the same checksums.txt. Set INSTALL_FOXGUARD=0 to skip it.
That scans the folder, prints a report and stops at a $5 budget. Any model provider works: set its key instead (see Models).
Windows, Docker and source installs are in the docs. Only scan code you own or are authorized to test.
| For | Start | |
|---|---|---|
| CLI | Scan, fix, SBOM and evidence from a terminal or a script | 0security scan . |
| Web console | Threads, findings and fixes in a browser, on your machine | 0security |
| GitHub Action | Scan each pull request and show the findings in GitHub's Security tab | Pull request checks |
See everything 0 can do.
It is one binary and uses your own model keys. Run 0security for an optional web console.
Documentation · What 0 can do · Command reference · Models · Extensions · Security research · Enterprise
Report bugs in issues, improve the docs, or write a skill or extension. Start with the contributing guide, and open an issue before large changes. To report a vulnerability in 0 itself, see SECURITY.md.
MIT OR Apache-2.0, except the enterprise/ directory, which has its own license and needs a key in production. See LICENSING.md.