Skip to content

v0.45.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 18:31
· 1304 commits to main since this release
4e5a996

Java projects, team sign-in, and signed releases

Scans, SBOMs and fixes understand Maven and Gradle projects, and Bitbucket, Jenkins, Azure and GitLab get CI recipes. A license key adds SAML, SCIM, roles, a shared findings server and a tamper-evident audit log. Releases are signed with cosign.

Highlights

  • Fixes and findings for Java: A scan keeps each batch inside one Maven or Gradle module. 0 findings fix bumps a vulnerable dependency without a model call, and 0 sbom generate reads a Maven or Gradle report you already ran.
  • Bitbucket, Jenkins, Azure and GitLab: Sentinels review Bitbucket pull requests, and signed webhooks start a Sentinel from another system. CI recipes cover four pipelines. They are new and have not run on a live service. Azure OpenAI can sign in with Entra ID.
  • Team features with a license key: A license key unlocks SAML sign-in, SCIM provisioning, custom roles, a shared findings server, audit retention and signed evidence. Checking the audit log and the evidence stays free and offline.
  • Signed releases and offline installs: Checksums, the SBOM and container images are signed with cosign, and install.sh verifies the signature when cosign is installed. A Helm chart, an EKS example and an air-gapped bundle are included.

Added

  • 0security findings rollup counts open findings across repositories by severity, category, age and owner, in text, JSON or HTML. It reads rollup export files (--export writes one) and findings databases, and sends nothing.
  • 0security findings fix records its pull request in the same file as burndown, so 0security findings export-fixes covers single fixes too. The report also gives a summary for each repository.
  • 0security findings list --context <file> orders findings by what matters to your business. A small JSON file tags paths as payments, personal-data, internet-facing, operationally-critical, internal-only or non-production, and each tag moves matching findings up or…
  • 0security findings metrics takes --by week or --by model to show one row per week or model, and --format csv to export those rows.
  • Fix pull request conventions cover a ticket key and a body layout. Use {ticket} in the branch prefix, title or commit template and pass --ticket SEC-123 to 0security findings fix or findings burndown.
  • 0security findings fix bumps a vulnerable Maven or Gradle dependency itself, without a model call, when the repository sets the version. It never lowers a version. Other cases go to the new java-dependency-fix skill, and the pull request says which way the change was made.
  • 0security findings fix --sandbox docker has a setup step. --sandbox-setup runs once with the network on, and the --test checks reuse its cache with the network off.
  • A batched scan of a Maven or Gradle project keeps each batch inside one build module. --plan prints the module map and --resume continues module by module.
  • 0security sbom generate --resolve-from reads a mvn dependency:tree or gradle dependencies report you already ran, with no build and no network. --maven-settings and --gradle-init-script point --resolve at your own mirror or proxy.
  • Sentinels have a signed webhook trigger. Another system calls /api/webhooks/trigger/<trigger-id> in server mode and proves it with a GitHub, Bitbucket or GitLab signature, or with X-0-Signature-256 and a timestamp.
  • 0security sentinels bitbucket review and watch review Bitbucket Cloud and Data Center pull requests from your machine, by poll, by signed webhook or both. Each review publishes a Code Insights report and keeps one summary comment and a few inline comments up to date. New.
  • Azure OpenAI can sign in with Microsoft Entra ID through a managed identity or workload identity. Set AZURE_OPENAI_AUTH=entra and no key is stored. Checked with fake token servers, not against a live Azure tenant.
  • …and 8 more in the full changelog.

Changed

  • The scan report is shown as readable text in a terminal. Files, pipes and --output still get markdown.
  • The first line of 0security --help describes the product as a security agent. The one-line description and the README headline say "open-source" instead of "sovereign".
  • The docs, help examples, hints and error messages name the command 0security, and the GitHub Action calls 0security. 0 stays as its short alias. Set ZERO_PROGRAM_NAME=0security or 0 to force the name that help shows.
  • Every skill on the Skills page has a topic icon. Your own skills get an icon when their name matches a topic.
  • The messages for --chat no longer point at a command that does not exist.
  • The first-run telemetry notice is one line.
  • The web console and the docs site render Mermaid diagrams with Mermaid 12.

Fixed

  • Opening a thread in the web console could show only part of the conversation until you refreshed. It now re-reads the messages when a turn starts or ends.
  • Saved threads in the web console's Threads list show their folder under the title.
  • Queued messages in the web console sit above the message box and say why they are paused (stopped, error, or thread reopened).
  • SBOM source attribution no longer credits a dependency declared in a submodule to the root pom.xml when the declared and resolved versions differ. A dependency declared in several files is not attributed to one at random.
  • The protected-paths hook closes six bypasses: ANSI-C $'...' quoting, the >| redirection, flags before the directory in cd and pushd, case differences on case-insensitive file systems, and several state files that were not protected.
  • Sentinel release, tag and check triggers reject git refs with dot segments or path traversal, so they cannot reach other GitHub API paths.

Install

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

Windows (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.45.0/docs/CHANGELOG.md