0security README

The project's README from github.com/0sec-labs/0security. As one markdown file: README.md.

0security

Open-source AI security agents

By the Swiss Applied AI & Cybersecurity Research Lab

Backed by Y Combinator

Latest release MIT or Apache-2.0 license GitHub stars

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.

Documentation Security research Install locally Enterprise

Terminal recording: 0security scans a small vulnerable Express app, lists three findings, then fixes the SQL injection on a branch and runs the tests

0 web UI: review a demo API, watch the investigation, then open findings with suggested fixes and verification

Quick start

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.

Where you use it

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

What it does

See everything 0 can do.

It is one binary and uses your own model keys. Run 0security for an optional web console.

Learn more

Documentation · What 0 can do · Command reference · Models · Extensions · Security research · Enterprise

Contributing

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.

Contributors to 0sec-labs/0security

License

MIT OR Apache-2.0, except the enterprise/ directory, which has its own license and needs a key in production. See LICENSING.md.

0security (0sec-labs/0security)

application-security
Searching Database…

What is this?0 is an open-source, self-evolving, multi-model AI harness for security research that finds, verifies, and fixes vulnerabilities, built by the Swiss Applied AI & Cybersecurity Research Lab.
Is this a standalone tool, or do I need the hosted 0.security service?It is a self-contained open-source harness you can run locally or via CLI in CI/CD using your own model access; the hosted 0.security service is a separate, optional paid layer with extra model routing and tooling.
How do I get it running?Copy the provided setup prompt into your coding agent to install the harness and read the docs, or do a quick install and bring your own model access configured in the terminal.
Do I need my own LLM API access?Yes, you bring your own model access and configure the connections yourself; the open-source harness does not ship with a built-in model.
How reliable are the findings right now?This is a research preview, so coverage and verification depth vary by workflow, and you should inspect the evidence and review any generated fixes before applying them.
Can I point it at any target I want?No, you may only test systems you own or are explicitly authorized to assess.
What is the hosted 0.security service for?It adds optimized model routing, access to non-public frontier cyber models, a purpose-built attack runtime, and a curated offensive toolchain on top of the open-source harness.
What does self-improving mean for this harness?The harness proposes changes to its own agents and tools, evaluates them against benchmarks, and keeps the better-performing versions for future runs.
Why is it called a multiplayer offensive security OS?It delegates focused investigations to multiple subagents with fresh context and bounded budgets, then collects their findings into one workflow.
What output formats does it produce?Findings and verification results can be exported as JSON, Markdown, or SARIF reports.
Creator
0sec-labs
Size
230.7 MB
Stars
1.5K
Age
3mo
Commits · 90 Days