# 0security (0sec-labs/0security)

> 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.

- GitHub: https://github.com/0sec-labs/0security
- GitHub.Locker page: https://github.locker/0sec-labs/0security
- Stars: 1.5K
- Language: TypeScript
- License: Apache-2.0
- Last push: 2026-11-18

## Questions and answers

Written by GitHub.Locker from the README and the repository; check the README below for details.

**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.


---

## README (checked against GitHub 2026-11-18)

Source: https://github.com/0sec-labs/0security/blob/main/README.md

<p align="center">
  <a href="https://0.security/">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="assets/readme/header-dark.svg">
      <img src="assets/readme/header-light.svg" alt="0security" width="900">
    </picture>
  </a>
</p>

<h1 align="center">Sovereign AI security agents</h1>

<p align="center">
  <sub>By the Swiss Applied AI &amp; Cybersecurity Research Lab</sub>
</p>

<p align="center">
  <sub>Backed by</sub>
  <a href="https://www.ycombinator.com/companies/0security"><img src="assets/readme/y-combinator.png" alt="Y Combinator" width="116" height="24" align="middle"></a>
</p>

<p align="center">
  <a href="https://github.com/0sec-labs/0security/releases/latest"><img src="https://img.shields.io/github/v/release/0sec-labs/0security" alt="Latest release"></a>
  <a href="LICENSE-MIT"><img src="https://img.shields.io/badge/license-MIT%20%7C%20Apache--2.0-blue" alt="MIT or Apache-2.0 license"></a>
  <a href="https://github.com/0sec-labs/0security/stargazers"><img src="https://img.shields.io/github/stars/0sec-labs/0security?style=flat" alt="GitHub stars"></a>
</p>

<p align="center">
  0security is software infrastructure to deploy sovereign, persistent AI security agents that find and fix security risks across any tech stack, work with any model, and run anywhere.
</p>

<p align="center">
  <a href="https://docs.0.security/"><picture><source media="(prefers-color-scheme: dark)" srcset="assets/readme/nav-docs-dark.svg"><img src="assets/readme/nav-docs-light.svg" alt="Documentation" height="48"></picture></a>
  <a href="https://0.security/research/"><picture><source media="(prefers-color-scheme: dark)" srcset="assets/readme/nav-research-dark.svg"><img src="assets/readme/nav-research-light.svg" alt="Security research" height="48"></picture></a>
  <a href="#quick-start"><picture><source media="(prefers-color-scheme: dark)" srcset="assets/readme/nav-install-dark.svg"><img src="assets/readme/nav-install-light.svg" alt="Install locally" height="48"></picture></a>
  <a href="https://0.security/enterprise/"><picture><source media="(prefers-color-scheme: dark)" srcset="assets/readme/enterprise-button-dark.svg"><img src="assets/readme/enterprise-button-light.svg" alt="Enterprise" height="48"></picture></a>
</p>

<p align="center">
  <a href="assets/readme-ui-demo.mp4">
    <picture>
      <img src="assets/readme-ui-demo.gif" alt="0 web UI: review a demo API, watch the investigation, then open findings with suggested fixes and verification" width="100%">
    </picture>
  </a>
</p>

## Quick start

```bash
curl -fsSL https://raw.githubusercontent.com/0sec-labs/0security/main/install.sh | bash
0
```

Prefer the terminal?

```bash
export OPENAI_API_KEY="your-api-key"
0 threads send new "Review ./your-repo for security problems"
0 findings list
```

Any supported provider works: set its key instead (Anthropic, OpenRouter, DeepSeek and more, see [Models](https://docs.0.security/models/)), or connect one in the browser with `0`.

<details>
<summary>Windows, Docker and source installs</summary>

- **Windows** (experimental): download `0-windows-x64.exe` from [Releases](https://github.com/0sec-labs/0security/releases/latest).
- **Docker**: `docker run --rm ghcr.io/0sec-labs/0security:latest --help`. See the [Docker guide](https://docs.0.security/server-mode/).
- **Source**: Node.js 24+ and pnpm, then `pnpm install --frozen-lockfile && pnpm build`.
- `install.sh` supports Apple Silicon macOS and x64/ARM64 Linux. Set `INSTALL_DIR` to change the location.

</details>

Only point 0 at systems you own or are authorized to test.

## What can you do with 0?

- **Talk to a security agent** about a folder on your computer or a remote Computer, in a Thread
- **Review findings** on a board, with source evidence, and export them
- **Verify fixes**: a finding is marked Verified by or Not verified
- **Build persistent security agents**: Sentinels are standing threads that wake on a schedule or on every pull request, with skills, memory and automations written as prompts
- **Keep memory** as plain notes that every thread can read
- **Extend** it with [extensions and skills](https://docs.0.security/extensions/)

<p align="center">
  <a href="assets/readme-findings.mp4">
    <picture>
      <img src="assets/readme-findings.gif" alt="0 findings: review the queue, organize the board, and inspect source evidence" width="100%">
    </picture>
  </a>
</p>

## Why 0?

- **Open source**: MIT or Apache-2.0, built in the open
- **Private**: runs on your computer, in your CI or in a container, and only the context you send to your chosen model leaves it
- **Flexible**: any provider key or local OpenAI-compatible server, from the CLI, CI or a coding agent
- **Evidence first**: every finding links to its source evidence
- **Verified**: a finding says whether it was verified, and by what
- **Proven in public**: [disclosed vulnerabilities and upstream fixes](https://0.security/research/#disclosures), including in the Linux kernel

## Coding agents

```bash
0 sentinels run <id> --task "Review this pull request" --yes
```

See the [command reference](https://docs.0.security/commands/).

## Learn more

- [Documentation](https://docs.0.security/)
- [Models and providers](https://docs.0.security/models/)
- [Extensions and MCP](https://docs.0.security/extensions/)
- [Command reference](https://docs.0.security/commands/)
- [Security research](https://0.security/research/)
- [Enterprise](https://0.security/enterprise/)

## Contributing

**0 is built in the open.** Huge thanks to everyone who has filed a bug, fixed a doc or sent a patch.

- **Report bugs** in [issues](https://github.com/0sec-labs/0security/issues)
- **Improve the docs**
- **Write an extension** or a skill
- **Found a vulnerability in 0?** See [SECURITY.md](.github/SECURITY.md)

Start with the [contributing guide](.github/CONTRIBUTING.md). Run `pnpm install` and `pnpm dev` to work on the engine. Open an issue before large changes.

<a href="https://github.com/0sec-labs/0security/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=0sec-labs/0security" alt="Contributors to 0sec-labs/0security" />
</a>

## License

[MIT](LICENSE-MIT) OR [Apache-2.0](LICENSE-APACHE). [Public disclosures and upstream fixes](https://0.security/research/#disclosures).

