Repository navigation
v0.42.0
Fix findings, bring your own scanners, check dependencies
0 can now fix a finding as a pull request, import what other scanners found, review large repositories in batches, and check dependencies, licenses and model files.
Highlights
- Fix as a pull request: 0 findings fix makes one branch and one pull request per finding, as a draft when your checks fail. It never pushes to your base branch. 0 findings burndown works through a backlog in batches.
- One list of findings: Import SARIF from any scanner or a repository's GitHub alerts, run FoxGuard, Semgrep, Gitleaks, Trivy, OSV-Scanner or Checkov first, add your own Semgrep rules, and send findings to GitHub code scanning or Issues.
- Large repositories: A large scan runs in batches, can be continued with --resume and says how much was reviewed. It exits 3 when part was not reached; --allow-partial exits by findings only. 0 scan --plan shows the size and a rough cost first.
- Dependencies, evidence and AI apps: SBOMs carry hashes, the dependency graph and licenses. 0 sbom check shows fixed versions and flags malicious packages, 0 sbom licenses checks a license policy, and 0 findings evidence writes an evidence folder for CRA reviews.
Added
0 scan --allow-partialexits by the findings alone (0, or 1 with--fail-on) when a scan stops before it reviews everything; the default stays exit 3, which means "not finished", not "failed". The JSONstatusispartialandcoveragestays in the report.0 findings verify [finding...](experimental) re-checks findings with a fresh thread each, or a few findings of one file with--batch. The thread gets only the finding's title, location, category, description and claimed impact, follows the newverify-findingskill (read…0 sbom licenses [sbom-file-or-folder]checks the licenses in a CycloneDX SBOM, or in a folder's lockfiles, against a policy:--preset permissive|no-copyleft,--allow,--deny, or--policy(JSON or YAML with allow, deny,allowByPackageexceptions that need a reason…0 scan --scanneralso runsgitleaks,trivyandosv-scannerin the pre-pass, alone or together (--scanner gitleaks,trivy). Each runs without a shell and with a time limit, reads SARIF, has aZERO_<NAME>_PATHoverride and prints an install hint when missing.0 sbom checkshows the lowest fixed version for each advisory (orNo fixed version known.) and a severity from the database label or a CVSS 3 score, and labels OSVMAL-records as critical malicious packages.- The
dependency-reachabilityskill (experimental) estimates, for each advisory, whether the application imports and calls the vulnerable package: reachable, not-reached or cannot-tell, withpath:lineevidence. It is a model's reading of the code, not a proof. 0 scan --scanner checkovruns Checkov in the pre-pass for Terraform, CloudFormation, Kubernetes, Dockerfiles and GitHub Actions (ZERO_CHECKOV_PATHnames the binary), and the experimentaliac-reviewskill (--skill iac-review) reviews infrastructure code across resources.0 scan --rules <file-or-folder>(repeatable) passes your own Semgrep or OpenGrep rules to the pre-pass, one--configper path, without a shell. It needs--scanner semgreporopengrepand replaces the scanner's default pack.0 scanreviews a large folder in batches and says how much it reviewed. A folder with more than 8 entry points (or 150 source files) is listed without a model (routes, handlers, webhooks, queue and cron consumers, program mains, deserialization, upload and command points.0 findings import --github owner/repoimports GitHub code scanning, Dependabot and secret scanning alerts as findings (--state,--types,--ref). It reads them with your owngh auth loginsession throughgh api, not the 0 GitHub connector.0 findings fix --policy <file>gives the fix thread a policy of approved libraries, forbidden patterns and rules (JSON or YAML); without the flag it reads~/.0/fix-policy.json|yaml|yml.- A self-hosting guide for Azure and AWS (persistent data disk, cloud secret stores, TLS ingress, offsite backups, a restore procedure that checks the database before starting, upgrades and rollbacks). `deploy/compose/docker-compose.data-disk.
- …and 23 more in the full changelog.
Changed
- The FoxGuard companion that
install.shand the container image download is now v0.14.2 (checksum-pinned for every platform). It fixes changed-file scans of non-ASCII file names. On a test app and a Java servlet it reports the same findings as v0.14.0. - Less text in the app: shorter Settings descriptions, no subtitle that repeats a page's name, a one-line Memory notice, and shorter dialogs on Computers.
Removed
- Business priority: every finding read "Not assessed" because a scan cannot know a business, so the label, its sort order, the rationale line, the SARIF
businessPriority*properties and the "Edit business impact" form are gone. - Memory: the model-written notes shared across threads, with its
memorytool, the Memory page,0 memory, the/memoryroutes and the hidden0 findings triagecommands that wrote to it. Operator instructions (`~/.0/AGENTS. - About 27,000 lines of engine code that nothing used: ten unfinished engines (mobile, recon, attack, emit, h1, cve, protocol, specdrift, adgraph, xnu-fuzz), old scanners and helpers, the old runners, the attack-template loader, the red-team harness and its
0-llmbin, the… 0 memory proposed list,acceptandreject, and theproposedfield of0 memory list --jsonand of the Memory API.
Fixed
- Pending crash reports, feedback, scanner binaries and the 0verse runtime config now live under the same state folder as everything else, so they follow
HOMEon Windows too. - A Lima worker's private ssh config is now kept in the 0 state folder with owner-only permissions, can no longer be pre-created or swapped by another user, and is removed when the worker's tunnel is stopped or already gone.
0 findings issues,0 fixand0 findings burndown, found by an end-to-end run: issue titles are plain text (no backslash escapes), id hints resolve for imported findings, a closed issue's status table says closed, the pull request body shows the real Checks table before the…- An MCP server that lists the same tool name twice is refused with a clear reason ("duplicate tool names; refused") and shown as needing approval, instead of failing with a generic listing error. Duplicate names cannot be used to slip past tool pinning.
0 computers add --target-gitaccepts onlyhttps://URLs (no spaces or quotes); the option help and docs now say so.0 findings fixno longer fails its commit on a machine with no git identity (a fresh install, a GitHub Actions runner); it uses a neutral0 <noreply@0.security>author unless git has one.0 scanwith the released binary could not start its own console on a machine where none was running: it waited 30 seconds and gave up (v0.41.0). The console's output now goes to a file instead of a closed stream, and when it stops the scan says why at once.- The repository of a Sentinel pull request trigger can no longer be a path such as
../x; it must beowner/name. - The console that
0 scanstarts for itself takes a free port, so another console on the default port can no longer stop the scan from finding its own. - The scan skill tells the model not to use the memory tool.
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.42.0/docs/CHANGELOG.md