Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Learn
Start
Guides
Domain packs
Participants
Security and privacy
Pilot kits
Operations
Ecosystem

Supply chain and release hardening: the checks

Source docs/ops/supply-chain.md

On this page
  1. Dependency audits
  2. Images
  3. What a run here found

The commands and CI jobs that check the dependencies, images and artifacts of this repository. The controls, their status and the evidence for each are listed in docs/security/supply-chain.md; the Scorecard self-assessment is scorecard.yaml. Everything here is a check that anyone can run: none of it publishes, pushes or signs with a real key.

Command CI job What it checks
make audit supply-chain (every change) dependency audits of every ecosystem against ci/audit-allowlist.yaml
make scorecard supply-chain progress on the OpenSSF Scorecard checks; fails when an evidence path is missing
make image-scan image-scan (nightly) vulnerability scan of every image SBOM; high and critical findings fail
make sbom-diff OLD=… NEW=… image-scan components added, removed, changed version or changed licence between two SBOMs or two folders of them
make sign-images image-scan a dry-run signature over the image digests with a TEST key, then its verification
make images-reproducible image-scan the Rust binaries and the static sites built twice from scratch, compared byte for byte
make reproducibility (release-dry-run, every change) every release artifact built twice; dist/supply-chain/reproducibility.json gives the verdict per file

All of them are tools/supply_chain.py (standard library plus PyYAML) or existing scripts. On a laptop a missing tool is reported as a skip, never as a pass; in CI (strict mode) it fails the job.

Dependency audits

Ecosystem Tool (open source, pinned in ci/versions.env) Input
Rust cargo-audit (advisory database), cargo-deny (advisories, licences, bans, sources; policy in reference/rust/deny.toml) reference/rust/Cargo.lock
JavaScript npm audit, production dependencies every committed package-lock.json (the two Astro apps)
Python pip-audit requirements.txt, the runner image’s hashed lock

A tool that cannot produce a report (no network, an advisory database it cannot read) is an error, never zero findings. Results: dist/supply-chain/audit.json with the tools that ran, the skipped ones, the open findings and the allow-listed ones.

The allow-list. One file for every audit and the image scan. An entry names the advisory id (aliases match), the ecosystem, the package, the reason it does not apply or cannot be fixed yet, and an expiry at most 180 days ahead; an expired entry fails the job like a new finding, so every waiver is looked at again. cargo-deny receives the Rust entries as its ignore list at run time, so deny.toml keeps ignore = []. An entry is added in its own reviewed change, never inside the dependency update that brought the finding.

Images

make images-sbom writes one CycloneDX SBOM per image (dist/sbom/, the scanner’s view plus the crates compiled into the Rust binaries). The nightly job then:

  1. diffs them against the previous night’s (OBSP_SBOM_BASELINE, kept as a CI artifact); a licence change fails;
  2. scans every SBOM with an open-source vulnerability scanner run from its image pinned by digest (OBSP_GRYPE_IMAGE), failing on high or critical findings not in the allow-list;
  3. signs the list of image digests: an in-toto Statement v1 whose subjects are the images and their digests, in the draft OIP-0008 envelope, with a TEST key derived from a public label (testOnly: true, proves nothing, like the release dry run’s), and verifies it; a digest that changes after signing fails verification;
  4. rebuilds the binaries and the static sites from scratch and compares them byte for byte.

Signing images with the release key and attaching signatures in a registry belong to the maintainers’ release procedure (releasing.md), with a key no CI job reads.

What a run here found

Run on the development container on 2026-11-21 with the pinned tools; both findings are left open, so the supply-chain job fails until a maintainer acts on them:

  • RUSTSEC-2026-0387 (cargo-audit and cargo-deny): crypto-bigint 0.5.5, through elliptic-curve 0.13 into the P-256 and P-384 signature code of obsp-core: operations meant to be constant-time may branch on secret data. The fix is crypto-bigint 0.7.6, which needs the next major versions of the p256, p384 and elliptic-curve crates: a dependency change of obsp-core with its own review. Verification of public signatures does not handle secrets; signing with P-256 or P-384 keys in the reference code does.
  • GHSA-48c2-rrv3-qjmp (npm audit, moderate): the yaml parser in the services site’s lockfile, stack overflow on deeply nested input; a build-time dependency of the static site generator that only parses YAML from this repository. Fixed by a lockfile update of that app.

Either is closed by the update, or waived by an allow-list entry with its reason and an expiry, in a change of its own. cargo-deny’s licence, ban and source checks pass. Two tool problems found on the way are fixed: cargo-audit 0.21 could not read the current advisory database (CVSS 4.0 scores), so 0.22 is pinned and a tool that gives no report now fails the audit instead of counting zero findings; cargo-deny’s built-in git client could not pass the container’s proxy, so deny.toml fetches with the git command line.