by 0sec-labs
The open-source ai security agent. Continuously find, prove and fix vulnerabilities. CLI, web console and GitHub Action. Bring your own model.
# Add to your Claude Code skills
git clone https://github.com/0sec-labs/0security0security is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by 0sec-labs. The open-source ai security agent. Continuously find, prove and fix vulnerabilities. CLI, web console and GitHub Action. Bring your own model. It has 1,693 GitHub stars.
0security's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/0sec-labs/0security" and add it to your Claude Code skills directory (see the Installation section above).
0security is primarily written in TypeScript. It is open-source under 0sec-labs on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh 0security against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
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 does not edit your shell startup files. It prints the export PATH=... line to run or add yourself. To have it add the line to ~/.profile and your shell's rc file, run curl -fsSL https://raw.githubusercontent.com/0sec-labs/0security/main/install.sh | bash -s -- --modify-path. Set INSTALL_DIR to install somewhere else.
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. The enterprise/ folder is source-available under the 0security Enterprise License (enterprise/LICENSE): you can read and change it, and production use needs a license key. See enterprise/README.md.