Repository navigation
v0.43.0
Scan tiers, safer extensions, deeper dependency checks
Operators can set how deep each repository is scanned and compare a scan with other tools' findings. Extensions run in an OS sandbox, and Maven and Gradle projects resolve their dependency trees.
Highlights
- Scan tiers and second opinions: An operator-owned tier map sets budget, depth or skip per repository. 0 scan --known tells the scan what other tools already found, and --only-new hides the repeats. 0 findings metrics shows what runs cost.
- Fixes you can check: 0 findings fix --sandbox docker runs your checks in a container with no network. Pull requests follow your title, branch and label conventions, and 0 findings export-fixes reports what was proposed and merged. Accepted risks now need a reason and an expiry.
- Safer extensions and scanners: Extension scripts and MCP servers can run in a macOS or Linux sandbox with the network off. Extension commands are checked more strictly, and the scanners ignore ignore-files and config inside the repository being scanned.
- Dependencies and operations: 0 sbom generate --resolve reads Maven and Gradle trees from your own build tool, and 0 sbom licenses checks a license policy. Sentinels start on releases and finished checks, and 0 config audit-export sends the audit log to a SIEM.
Added
0 skills add <folder>installs an Agent Skills folder (SKILL.mdwith optional scripts and references) as a 0 skill, and0 scan --skill <name>runs it.--yesprints the skill id, its files and bundled scripts, and says that the `SKILL.0 scan --tiers <file>applies an operator-owned tier map (YAML or JSON, orscan-tiers.yaml|yml|jsonin the 0 state folder) that maps a repository (owner/namefrom the git remote or URL, with*patterns) or a folder path pattern tocritical,standard,lightor…0 scan --known <sarif>(repeatable) is a second-opinion mode. The scan thread is told, in a delimited, size-bounded, lower-priority block, what other tools already reported and is asked to look for other classes of bug and for authorization and business-logic flaws.docs/design/surfaces.mdsays which job belongs to the CLI and CI, to a chat thread and to the platform, what each leaves out, and the rule for new features.0 config audit-exportwrites the audit log as NDJSON (default), CEF or RFC 5424 syslog lines, oldest first, with--since,--until(a duration such as24hor a date),--type(an action or prefix),--limit,-o <file>(mode 0600) and--follow.- Sentinels can start on a published GitHub release or pushed tag (
release) and on a finished check run or suite (check-completed). Both poll throughghand accept signed webhook deliveries in server mode. The run receives a short, neutralised summary of the event. - A Sentinel can post its result back as a commit status or an in-place pull request comment. It is off by default and set per trigger with
report. Text is neutralised and size-capped, and evidence is never posted (#430). 0 sentinels syncaccepts thereleaseandcheck-completedtriggers and thereportsetting (#430).- Accepted risks have a reason, an expiry and an optional approver label:
0 findings update <id> --status accepted --reason <text> --expires <date|90d> --approver <name>. An expired acceptance reopens the finding in lists, exports and the next scan. 0 findings export-fixeswritesfix-outcomes.mdandfix-outcomes.jsonfor the fixes0 findings burndownproposed: pull requests, checks, cost and summary counts.- Fix pull requests follow your conventions. A
pullRequestobject in your own fix policy file setstitleTemplate,commitMessageTemplate,branchPrefix,labels,draft(always,on-failure,never),bodyFooterandreviewers. - Extensions can declare an OS sandbox for their scripts and MCP servers:
"sandbox": { "network", "process", "readPaths", "writePaths" }in the manifest. The block is part of the install approval, so a revision that widens it asks again. - …and 6 more in the full changelog.
Changed
0 findings accept(and0 findings update --status accepted) now needs a reason and an expiry. Calls without them fail instead of accepting the risk with no end date.- Extension script commands are checked strictly before they run with approved secrets: a
$outside single quotes, backticks,;,&,|, redirection, parentheses,#, line breaks and\line continuations are refused, as is any interpreter flag before the script (such as…
Fixed
- A Gradle version catalog (
libs.versions.toml) with a__proto__,constructororprototypetable header or key can no longer changeObject.prototypewhile the SBOM is read. Those keys are skipped and catalog tables are built without a prototype; aliases such as `my. - The Sentinel runner's
ghcalls now refuse to run underZERO_ENTERPRISE, like every other GitHub call. - Comments to GitHub no longer turn
#123in finding titles into issue links. - The pre-pass scanners no longer read configuration or ignore files from the scanned folder, so a change under review cannot hide findings with them. This covers
.foxguard.yml,.semgrepignore,.gitleaks.toml,.gitleaksignore,.trivyignoreandosv-scanner.toml. --engine-portrejects values such as8080abc, which used to be accepted as 8080.- The saved conversation list keeps the newest conversations when the file cap applies, instead of dropping recent ones with later file names.
--findingaccepts the short id that0 findings listshows for an imported finding.- Legacy redirect paths such as
/workers/<id>are titled as the app and not "Page not found" while they redirect. - A
NaNconcurrency limit no longer makes the concurrency helper return an array of empty slots. - SBOM generation reads lockfiles and Gradle scripts with Windows (CRLF) line endings.
- The installer treats a
ghwithout theattestationcommand as missing, says so, and showsgh's own error. It then installs on the checksum check alone, like the no-ghcase;INSTALL_ATTESTATION=requirestill refuses.
Install
curl -fsSL https://raw.githubusercontent.com/0sec-labs/0security/main/install.sh | bash
0 --versionWindows (experimental): download 0-windows-x64.exe below. Docker: docker run --rm ghcr.io/0sec-labs/0security:latest --help.
Verify downloads against the attached checksums.txt (SHA-256), for example sha256sum -c checksums.txt --ignore-missing.
Full changelog: https://github.com/0sec-labs/0security/blob/v0.43.0/docs/CHANGELOG.md