需自行配置模型 provider 才能跑 AI 工作流;本地 MCP 需显式选择 host-local 执行配置;二进制分析要先跑 npm run setup:0verse 并依赖本地 Ghidra 与 Java。
0
0sec-labs活跃维护开源 AI 安全测试框架,提供网页界面做代码审计、渗透测试、漏洞挖掘、逆向与修复验证,另有 CLI 和 MCP 接口供智能体调用。
The open-source AI security harness. Includes a web interface for code analysis, pentesting, vulnerability research, reverse engineering, verification, and fixing + CLI and MCP for agents.
curl -fsSL https://raw.githubusercontent.com/0sec-labs/0/main/install.sh | bash
export PATH="$HOME/.0/bin:$PATH"
0README 未说明显存或 GPU 要求;安装支持 Apple Silicon macOS 与 x64/ARM64 Linux。
开源 AI 安全测试框架,在浏览器里做漏洞挖掘、验证与修复
开源 AI 安全测试框架,提供网页界面做代码审计、渗透测试、漏洞挖掘、逆向与修复验证,另有 CLI 和 MCP 接口供智能体调用。
核心能力
- 浏览器 Web 控制台做代码审计与漏洞调查
- 内置评估、验证、修复、研究等工作流模板
- CLI 暴露同一工作流运行器,可脚本化调用
- 通过 MCP 把工作流接入外部编码 agent
- 技能与记忆复用安全指令并关联源码留存经验
容易踩的坑
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
- v0.28.90 v0.28.9最新正式版2026-11-09 · 2026-11-09 22:46 UTC
Harness maintenance
- Inspect and stop owned workers through the existing
spawn_agenttool withop: list,get,stop, orstop_all. The parent can see descendants and bounded terminal history. Cleanup remains pending while descendants are live, including after their parent finishes. Worker lifecycle does not prove whether files changed. - Add explicit operator CLI access to the existing qualified escalation:
0 sessions force-stop LIVE_SESSION_ID. Exact live identity, owner authorization, backend identity and runtime eligibility remain enforced. Ambiguous requests are not replayed. - Preserve an idle live chat branch through authenticated private
save-as. Snapshots retain native history, paused input and execution safety markers under a fresh ID without overwriting the original. Snapshots require manual deletion; ordinary concurrent autosaves still need conflict protection. - Give the one fresh Windows ACL retry a separate ten-second startup allowance after the initial five-second timeout. Permissions, reparse-point checks and fail-closed behavior remain enforced. Native tests check delayed success, unsafe ACL rejection and timed-out process cleanup.
- Patch CVE-2026-103022 in optional firmware dependencies with Urwid 4.0.7 and wcwidth 0.4.0, retaining the existing Qiling and Pyfx versions. The strict dependency audit reports no known vulnerabilities.
Force-stop process supervision remains qualified for supported Bun sessions on macOS/Linux. This release does not extend that guarantee to Windows/Node execution or coordinate shared-checkout writes. Firmware UI/security regression tests pass; the local native Qiling test has the same missing-library failure on both old and patched environments.
- Inspect and stop owned workers through the existing
- v0.28.80 v0.28.82026-11-09 · 2026-11-09 21:58 UTC
查看更新说明
Console recovery
- Add confirmed session-level Force stop for Bun on macOS and Linux. Stop the dedicated execution process and registered tool resources while keeping the engine and unrelated chats usable. Retain history, paused messages, scope and captured model connections. (#285, #229)
- Keep an execution quarantined when startup or teardown cannot confirm cleanup. Oversized display records cannot discard safety state, account bindings or pending operator input.
- Acknowledge runtime changes before continuing; preserve Daybreak selection and OpenCode Go conversation affinity through worker replacement.
Windows and findings
- Retry one timed-out, read-only Windows ACL query using the same five-second per-attempt limit. Permission, validation and unsafe-ACL failures remain terminal; diagnostics distinguish fixed launch-failure categories without exposing native error text. Native timeout recovery, unsafe-ACL and process-exit controls passed. (#289, #280)
- Show recorded finding status separately from retained verifier votes. A recorded
reported,fixedorconfirmedlabel alone no longer implies verifier consensus. (#287)
Documentation
- Shorten onboarding and model-connection guidance, remove retired terminal instructions, and clarify cited-source learning freshness. Dependencies or build/runtime changes still require revalidating affected conclusions. (#286, #288)
Force stop retains the existing adapter on Node, Windows, enabled Jev features and unsupported transports. Arbitrary external daemon escape is not universal containment; unconfirmed ownership stays blocked. Native-plan or relay changes on a supervised chat require a new chat. The release workflow qualifies the actual compiled worker using a loopback-only synthetic provider on supported platforms.
- v0.28.70 v0.28.72026-11-09 · 2026-11-09 21:00 UTC
查看更新说明
Added
- Explicit Daybreak selection in the console model menu and CLI assessments, using existing ChatGPT/Codex OAuth or public OpenAI Responses API credentials. Choices remain bound to the selected connection; requested access and provider confirmation are recorded separately. Requires provider-approved access. (#279)
- MCP controls for existing session workers, including correct attachment after a saved conversation is resumed and an 8,000-character message limit matching the engine. (#283)
Fixed
- Stable conversation headers for current and legacy OpenCode Go endpoints, including custom OpenAI-compatible connections. (#284)
- Lower Windows storage-verifier cold-start overhead while retaining fresh ACL checks and the five-second fail-closed deadline. Measured fresh probes improved from 2.85–4.83s to 1.91–2.20s. (#282)
Validated with source CI, native Windows ACL/junction tests, synthetic full-assessment API/OAuth wire tests, and the custom Daybreak menu in a browser. Release binaries and npm packages are built and smoke-tested by the release workflow.
- v0.28.60 v0.28.62026-11-09 · 2026-11-09 19:41 UTC
查看更新说明
Fixes the Windows 11 dashboard crash when selecting a model (#277).
- Validate private storage using native Windows ACLs instead of synthetic POSIX permission bits, retaining ownership and reparse-point protections.
- Handle delayed executable-plugin initialization failures without an unhandled dashboard-wide rejection.
Validated with the full source suite, six native Windows cases, a compiled Bun 1.3.14 check, and smoke tests for all four release binaries.
- v0.28.50 v0.28.52026-11-09 · 2026-11-09 17:27 UTC
查看更新说明
- Preserve findings already saved during discovery when a later scan stage fails. Retained candidates keep their actual status; partial execution and provider errors remain visible.
- Preserve automatic workflow/step deadline causes in child reports instead of attributing expiry to operator cancellation.
- Correct scan help and guides for optional scope-plugin activation, timeout/plan precedence and the published npm package.
- Cross-check and shorten 13 documentation pages against current behavior: browser UI, model connections, development reloads, Findings sorting, team collaboration, research limits and tool discovery. Replace historical roadmap sprawl with current workflow pointers. Operator documentation is net 277 lines shorter.
Validation includes deterministic SQLite-backed failed-report tests, workflow/step deadline and explicit-cancel controls, full build, repository-wide TypeScript checks, the generated reference for 189 commands, and a 61-page docs build with link checks. No model assessment or paid evaluation was needed.
Explicit Daybreak selection for the direct ChatGPT subscription route and a confirmed force-stop boundary for cancellation-ignoring local work remain open issues. Model-backed routing/evolution qualification also remains unperformed; this release does not claim those capabilities are qualified.
Get started
Install on Apple Silicon macOS or x64/ARM64 Linux, then run 0:
curl -fsSL https://raw.githubusercontent.com/0sec-labs/0/main/install.sh | bash
export PATH="$HOME/.0/bin:$PATH"
0
0 opens the local browser console without an account. 0 web remains a
compatibility alias. The interactive terminal UI is retired; headless CLI commands
and MCP remain available.
Configure a model provider to run AI workflows. See installation and troubleshooting.
Findings
Review source evidence and organize findings in a queue or on the board.
Security workflows
Chat with 0 in the web UI, investigate findings, and use built-in templates for assessment, verification, fixes, and research. Runs retain results; Learning keeps local activity and source-grounded notes.
For automation and coding agents, the CLI exposes the same workflow runner:
0 workflow list --templates
0 workflow run --template security-research \
--target /absolute/path/to/repo --workspace /absolute/path/to/repo
0 runs list
0 chat --prompt "your request"
Workflow guide · Learning · GitHub Actions
Hosts and plugins
Choose a host for your work. Connect service integrations and manage extensions. Use ⌘K / Ctrl+K to jump between tools.
Skills and memory
Reuse security instructions and retain lessons linked to the source.
0cloud
The hosted version of 0, for managed security workflows on your team's repositories. Access is currently through the 0cloud waitlist. Local use does not require a cloud account.
Connect another agent
Use CLI commands or expose workflows through MCP:
0 mcp-server --workflows --workspace /absolute/path/to/repo
Local MCP requires an explicitly selected host-local execution profile. Browser chat's Connect an external agent provides a setup prompt. CLI and MCP workflow clients can share a running local engine's sessions and runs.
Plugins and MCP setup · Local and remote engines · Plugin development
For AI agents: product index · command reference.
Development
Install dependencies with pnpm install, run npm run dev, and open the printed
browser address. The dashboard updates with hot reload.
See CONTRIBUTING.md.
For local binary analysis, run npm run setup:0verse once. It discovers a local
Ghidra and Java installation, installs the Python analysis/MCP dependencies
without removing existing engines, and verifies the decompiler. In this source
checkout, web and terminal chats automatically connect the local 0verse MCP
server. Nine tools cover scanning, triage, preflight, bug classes, findings,
PoVs, reports, memory recall, and capability discovery. The capability catalog
also lists research CLI commands with their MCP-supported or CLI-only status.
Each chat has its own scan state. 0 binary ./target --mode scan --format ndjson uses the same runtime.
This does not install every platform executor or fuzzing environment. Inspect
0verse's capability report before requesting confirmation; unavailable analysis
is not a clean scan. An explicit ZERO_MCP configuration takes precedence, and
ZERO_0VERSE_MCP=0 disables automatic connection.
Status and safety
Research preview. Assess only authorized systems and review findings and fixes.
Use --mode standard with headless chat for explicit scope checks. The optional
scope plugin enforces target boundaries.
Report vulnerabilities through SECURITY.md. Licensed under MIT OR Apache-2.0.