0sec-labs/0security
Open-source cybersecurity harness to build and deploy sovereign, persistent AI security agents (sentinels) that continuously find, prove and fix security risks. Web UI, CLI, CI and MCP.
What it solves
Security teams often struggle with scattered, manual vulnerability hunting across code, dependencies, infrastructure, and AI applications. 0security addresses this by providing a continuous, automated framework that not only finds weaknesses but also proves them, generates patches, validates fixes, and keeps monitoring — all while staying under your control.
How it works
You install the 0 CLI (or run it via Docker, Windows executable, or from source). You point it at a target — a source repo, a web app, an API, a dependency manifest, a binary, or even an MCP endpoint — and choose an LLM provider (Anthropic, any provider key, or a local OpenAI-compatible server). The tool runs scan modules that detect vulnerabilities, then it attempts to reproduce each finding, suggests a patch, verifies the patch, and produces evidence links. You can run it interactively, in CI/CD pipelines, or as persistent "Sentinels" that operate on a schedule or on every pull request. It also supports plugins, skills, and MCP integration so coding agents can drive it.
Who it's for
Developers, security engineers, and DevOps teams who want automated, continuous security testing that respects privacy (runs on your own infrastructure, only context you send leaves). It's also useful for AI/LLM application builders who need prompt-injection testing, and for researchers who want to automate vulnerability discovery and disclosure workflows.
Highlights
- Private by design: runs on your machine, CI, or container; only the context you explicitly send to your chosen model leaves.
- Evidence first: every finding links to source evidence; patches are reproduced and validated before application.
- Broad coverage: source code, web apps/APIs, MCP endpoints, packages, dependencies, binaries (Ghidra reverse engineering), cloud posture, and Entra ID.
- Multi-surface scanning: domains, JavaScript, cloud configuration, and more.
- Persistent agents: Sentinels with scope, budget, memory, scheduled or event-driven operation.
- CI/CD and automation: JSON and SARIF output, GitHub Action support, and MCP server for coding agents.
- Flexible LLM choice: any provider key or local OpenAI-compatible server.
- Open source and proven: dual-licensed (MIT/Apache-2.0), with public disclosures including Linux kernel fixes.
Related
- Project
- Project
- Project
- Project