Repository navigation
One privacy switch, scans that finish, and live checks
DO_NOT_TRACK=1 is now the only environment switch, and the enterprise no-egress mode is gone. Large scans finish in one run, findings can be checked against a running preview, and agent runs can be fenced to an allowlist of hosts.
Highlights
- Breaking: one environment switch: DO_NOT_TRACK=1 is the only environment switch; ZERO_NO_EGRESS, ZERO_ENTERPRISE, ZERO_OFFLINE, ZERO_NO_TELEMETRY, ZERO_NO_UPDATE_CHECK and the enterprise no-egress mode are gone.
- Large scans finish in one run: A scan draws on one budget pool, runs batches in priority order and stops with one plain sentence. The default time limit grows with the number of batches, and a retry that gets past a dropped connection no longer counts as a failure.
- Check findings against a running app: findings verify --live replays a baseline, an attack and a control request against a preview you own and stores the verdict apart from the static one.
- Safer runs and installs: Agent runs can be limited to an allowlist of hosts in a Linux network namespace, the workbench sandbox no longer holds a model credential, and a checkout's git config can no longer run programs when 0 commits. install.sh says only what it verified.
Added
0security ci init [folder]sets a GitHub repository up for pull request scanning with no configuration. It prints the workflow `.github/workflows/0security.- Anonymous telemetry has a
scan_finishedevent, sent once when a0security scanrun ends: its outcome (completed,partial,failedorcancelled), the finding count, the duration, the kind of target (folder,gitorurl, never the target) and the model provider… 0security policy status [--json]and0security policy refresh, and the runner side of central policy (thepolicy-distributionentitlement).0security license usage <repo...>(also--repos-file,--json) counts active developers for the yearly true-up: distinct commit authors of the last 90 days per repository and de-duplicated across repositories, from local git history. It runs offline and needs no key.0security license statusand0security config get licenseshowTeam seats: <used> of <allowed> usednext to the license state (--jsonadds ateamobject);GET /api/team/usersreturnsseatsand the Members page shows the count.0security scan --rescanmerges results across scans. Every batch writes an append-only per-unit result (scan, unit, attempt, thread, model, settings, finding ids, cost share, outcome),scan --coverageand the scan report show them with the failure cause and attempt count of…0security scan --triage [model]is an opt-in stage for batched scans. A small model scores each inventory unit 0 to 3 for how likely it holds security-relevant code; units below--triage-min(default 1) are skipped and the rest are scanned highest score first.0security scan --min-coverage <0-100>stops a scan before any model call when too little of the folder would be read, and says why and what to change.--planshows the coverage facts and whether the gate would pass (#879).- A scan detects a model refusal in a batch's output, offers an opt-in budget-bounded re-run on a fallback model, and reports refused and re-run units in the scan summary. Only a bare refusal at the start of a short reply counts as one.
0security findings verify --live <url> --targets <file>confirms a finding against a running preview. It sends a baseline, an attack and a control request (GET, HEAD or OPTIONS only) through the scoped fetch and stores aconfirmed,not-reproducedorblockedverdict apart…0security findings push <file>sends findings from any CI job or laptop to the shared findings server, with the URL and awrite:findingskey from the environment (never printed), batches under the ingest limits, retries with backoff, a spool that is re-sent on the next run….0security/suppressions.yamlholds accepted risks that survive a fresh CI runner (path, line, category, reason, approver, created and expiry, at most 90 days after created). It is never read on its own.- …and 14 more in the full changelog.
Changed
- Breaking:
DO_NOT_TRACK=1is now the only environment switch. It turns off every automatic background call: telemetry and lifecycle events, crash reports and feedback upload, the update check, and the public model catalog and price lookups. - Breaking: the enterprise no-egress mode no longer exists. Calls you start yourself used to be refused under it, and they are not any more.
- A build with only
ZERO_NO_EGRESS,ZERO_ENTERPRISEorZERO_OFFLINEset now sends anonymous telemetry unlessDO_NOT_TRACK=1is also set. The Helm chart'senterprisevalue and the Jenkins and Bitbucket pipeenterpriseandallowedBitbucketUrloptions are removed. - BREAKING: The native Bitbucket integration is now the paid
bitbucket-nativefeature (honoured by the CLI, no limit key). It needs an enterprise license key; it ships in the one public image and is unlocked by the key. The license gate is source-available inenterprise/. - Without a key, with a key past its 30 days of grace, or with a key that lacks the name, these commands refuse with a message that names the feature and https://0.security/enterprise/; the Bitbucket Sentinel trigger shows the same message as its status and does not run.
- Still free, unchanged:
0 scanin Bitbucket Pipelines and Jenkins, the Bitbucket Pipe and the CI templates, Code Insights report upload from CI (findings uploadandcode-insights), SARIF export,findings upload, and fix pull requests on GitHub. - BREAKING: audit log export and the SIEM push moved to the paid edition.
0security config audit-export(NDJSON, CEF, syslog) now needs an enterprise license with the newaudit-exportfeature, and the push from a server to a collector (ZERO_AUDIT_SINK_URL) needs the new… - BREAKING: the free team server now holds up to 5 accounts (password, OIDC or SCIM). It used to hold 1,000. Creating a sixth account (adding a teammate in the browser, the command-line account add, OIDC account creation, SCIM) is refused without an enterprise license that…
- The separate
LICENSING.mdis gone. The license terms are inLICENSE-MIT,LICENSE-APACHE,NOTICEandenterprise/LICENSE; the promise that features of the open core do not move intoenterprise/is now stated inenterprise/README.md. - A large scan now finishes in one run on a flaky network. The scan budget is one pool: batches draw what is left, up to
--batch-ceiling, and run in priority order. Without--timeoutthe whole-scan limit is 180 seconds per batch counted at concurrency 1, printed at the start. - A scan states why it stopped in one sentence and never blames the budget or a ceiling for a stop the clock caused. The report gives the budget, the spend, per-batch spend, the unreviewed batches with their reasons, how many of the batches were reviewed, and the
--resume… - Every output shows the same scan total, from the stored rows. Findings use one counting definition and a root-cause dedupe, and the same site is deduplicated across reworded titles (#945).
- …and 3 more in the full changelog.
Fixed
findings export,scan --resumeandscan --coveragetake a scan id (scan-xxxx) or a thread id, and exporting a scan id merges all batches and dedupes.- A batch that waited for a retry or a rate-limit pause is no longer started with a zero budget under
--concurrencyabove 1, which the console rejected; it waits for running batches to release budget. A console payload error now names the failing field (#929). findings verifyno longer aborts when a thread has no cost receipt: that thread is charged at its own spend ceiling and the report marks the cost as an upper bound.--scanaccepts the scan id the report prints (#901).findings fixon Bitbucket now checks the token and the repository with one read before it starts the model thread or the tests, so a wrong or expiredBITBUCKET_TOKEN(401, 403), an unknown repository (404) or an unreachable host fails in seconds with a message that names the…- The pull request description written by
0security findings fixandfindings burndowncan no longer contradict what 0 recorded. It states the checks and their result from the recorded data, adds a "Recorded by 0" line beside the model's explanation, and removes model… config db repairandconfig db resetnow see a process that opened the database through a symbolic link: its session is registered beside the real file, not beside the link, so repair can no longer miss it.0security config db repairandconfig db resetno longer move or delete a database that another 0 process still has open (#780). Writers now register a<db>.owner.<pid>session file (pid, start time, token) that is removed on close; repair and reset take an exclusive `.- Parallel 0 processes on one
HOMEstay safe (#753). The database lock now sits beside the real file, so a process that reaches0.dbthrough a symlink (for example aZERO_DB_PATHthat points at a link) is excluded like any other. finding_class_countsnow recognises the category ids findings really carry (command-injection,hardcoded-secret,known-vulnerable-package,broken-access-controland others) and CWE numbers, so the class breakdown is no longer empty for real scans.java/taint-xssno longer reports a value an HTML encoder cleaned in a helper or inner class (#835), or numbers, class names and self-built cookies.- Inventory counts Groovy, Gradle and Jenkinsfile sources, and a Groovy file containing
println "text".method()is no longer skipped as a parse error. - The Bitbucket Pipe image runs its scanner: the base image is
debian:trixie-slim, because the released foxguard needs a newer glibc thanbookworm-slimhas and every scan endedfailedwith no findings.ZEROCI_REPORT_IDsets the report id (#885). - …and 3 more in the full changelog.
Security
- A remote MCP server is now reached at the address 0 checked. Before, the check resolved the host name and then the connection resolved it again, so a name that answered with a public address for the check and a private, loopback or cloud-metadata address for the connection (DNS…
- A checkout's own git config can no longer run signing, credential or
extprograms when 0 commits and pushes (#904). - Signed webhook replay protection is keyed on the signed bytes, not on the unsigned delivery id, and password sign-in attempts are counted per IPv6 /64 instead of per address (#903, #906).
cross-spawnis pinned to 7.1.2 for the critical Windows command-injection advisory (#888).
Install
curl -fsSL https://raw.githubusercontent.com/0sec-labs/0security/main/install.sh | bash
0security --versionWindows (experimental): download 0security-windows-x64.exe below (also published as 0-windows-x64.exe, kept so existing installs can update). 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.48.0/docs/CHANGELOG.md