Skip to content

v0.43.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 06:42
· 1400 commits to main since this release

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.md with optional scripts and references) as a 0 skill, and 0 scan --skill <name> runs it. --yes prints 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, or scan-tiers.yaml|yml|json in the 0 state folder) that maps a repository (owner/name from the git remote or URL, with * patterns) or a folder path pattern to critical, standard, light or…
  • 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.md says 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-export writes the audit log as NDJSON (default), CEF or RFC 5424 syslog lines, oldest first, with --since, --until (a duration such as 24h or 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 through gh and 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 sync accepts the release and check-completed triggers and the report setting (#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-fixes writes fix-outcomes.md and fix-outcomes.json for the fixes 0 findings burndown proposed: pull requests, checks, cost and summary counts.
  • Fix pull requests follow your conventions. A pullRequest object in your own fix policy file sets titleTemplate, commitMessageTemplate, branchPrefix, labels, draft (always, on-failure, never), bodyFooter and reviewers.
  • 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 (and 0 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__, constructor or prototype table header or key can no longer change Object.prototype while the SBOM is read. Those keys are skipped and catalog tables are built without a prototype; aliases such as `my.
  • The Sentinel runner's gh calls now refuse to run under ZERO_ENTERPRISE, like every other GitHub call.
  • Comments to GitHub no longer turn #123 in 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, .trivyignore and osv-scanner.toml.
  • --engine-port rejects values such as 8080abc, 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.
  • --finding accepts the short id that 0 findings list shows 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 NaN concurrency 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 gh without the attestation command as missing, says so, and shows gh's own error. It then installs on the checksum check alone, like the no-gh case; INSTALL_ATTESTATION=require still refuses.

Install

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

Windows (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