ci: seal supplychain 83fffe1 and the official Node.js 24.22.1 over the current runner image (codewire#3991) #33

Merged
noel merged 1 commit from ci/supplychain-83fffe1 into main 2026-11-11 20:25:06 +00:00
Owner

Image leaf for codewire#3991. It adds two things in one layer over the current runner image c7985c18 (Rust 1.99.1, infra#2385), so the image is built, published and adopted once:

  1. supplychain 83fffe1 (noeljackson/supplychain#89) is sealed beside the existing scanners and selectable by EXPECTED_SUPPLYCHAIN. It runs osv-scanner with an empty --config and zizmor with --no-config, so a pull request's own osv-scanner.toml or zizmor.yml can no longer hide findings from the sealed source approval. The default, compat and v0.1.7 scanners are unchanged.
  2. Node.js 24.22.1 (CVE-2026-111497) replaces the inherited 24.18.1, and the end-of-life 20.20.2 is removed. This is the change #23/#24 sealed, but runners never adopted it: the chain went 1f0ae8ac → c7985c18, and today's image runs v24.18.1.

Removed: the b8d2059 leaf (Dockerfile, README, inputs, verifier). Nothing outside those four files references it or its unadopted base b2236bb, and 83fffe1 contains b8d2059. The node24 leaf files stay: this leaf reuses node24-inputs.json.

Needs infra#2433: the builder must admit two sealed input lists (supplychain-83fffe1-inputs.json and node24-inputs.json).

What I checked locally (no registry, no credential):

  • Every sealed input matches its pinned sha256.
  • The binary is reproducible. Building b8d2059 with the same offline procedure gives its recorded cae0a0b7…, and 83fffe1 gives 955d42cf5ae500562f68e54adcd83b86b8ab5241d9617119a7b5ad299dd2743b, the hash the verifier pins.
  • A prototype of this Dockerfile, built networkless and uncached on the previous image 1f0ae8ac (the real parent isn't in the local store yet), changed only FROM and the parent-PATH assertion (c7985c18's PATH repeats /opt/infra-rust/bin). Its RUN passed every assertion. The result is the parent plus one layer (33 → 34), with the 83fffe1 binary at 955d42cf…, node at e32e2d16…, and the wrapper unchanged at 3d74b07b….
  • The installed verifier in that prototype (UID 1000, read-only root, no network, closed consumer tree from codewire main b0f1416c):
    • all 21 checks before Codewire's runner assertion pass;
    • the assertion then refuses with "Rust 1.99.1 is not installed", as expected on a parent without 1.99.1;
    • every inherited scanner, provider and database hash it pins matches.

The real dry run on c7985c18 follows once the owner approves the parent fetch, then publication with the owner's yes, then infra's adoption.

Image leaf for codewire#3991. It adds two things in one layer over the current runner image `c7985c18` (Rust 1.99.1, infra#2385), so the image is built, published and adopted once: 1. **supplychain 83fffe1** (noeljackson/supplychain#89) is sealed beside the existing scanners and selectable by `EXPECTED_SUPPLYCHAIN`. It runs osv-scanner with an empty `--config` and zizmor with `--no-config`, so a pull request's own `osv-scanner.toml` or `zizmor.yml` can no longer hide findings from the sealed source approval. The default, compat and v0.1.7 scanners are unchanged. 2. **Node.js 24.22.1** (CVE-2026-111497) replaces the inherited 24.18.1, and the end-of-life 20.20.2 is removed. This is the change #23/#24 sealed, but runners never adopted it: the chain went 1f0ae8ac → c7985c18, and today's image runs v24.18.1. **Removed:** the b8d2059 leaf (Dockerfile, README, inputs, verifier). Nothing outside those four files references it or its unadopted base `b2236bb`, and 83fffe1 contains b8d2059. The `node24` leaf files stay: this leaf reuses `node24-inputs.json`. **Needs** infra#2433: the builder must admit two sealed input lists (`supplychain-83fffe1-inputs.json` and `node24-inputs.json`). **What I checked locally** (no registry, no credential): - Every sealed input matches its pinned sha256. - The binary is reproducible. Building b8d2059 with the same offline procedure gives its recorded `cae0a0b7…`, and 83fffe1 gives `955d42cf5ae500562f68e54adcd83b86b8ab5241d9617119a7b5ad299dd2743b`, the hash the verifier pins. - A **prototype** of this Dockerfile, built networkless and uncached on the previous image 1f0ae8ac (the real parent isn't in the local store yet), changed only `FROM` and the parent-`PATH` assertion (c7985c18's `PATH` repeats `/opt/infra-rust/bin`). Its `RUN` passed every assertion. The result is the parent plus one layer (33 → 34), with the 83fffe1 binary at `955d42cf…`, node at `e32e2d16…`, and the wrapper unchanged at `3d74b07b…`. - The installed verifier in that prototype (UID 1000, read-only root, no network, closed consumer tree from codewire main `b0f1416c`): - all 21 checks before Codewire's runner assertion pass; - the assertion then refuses with "Rust 1.99.1 is not installed", as expected on a parent without 1.99.1; - every inherited scanner, provider and database hash it pins matches. The real dry run on `c7985c18` follows once the owner approves the parent fetch, then publication with the owner's yes, then infra's adoption.
ci: seal supplychain 83fffe1 and the official Node.js 24.22.1 over the current runner image (codewire#3991)
All checks were successful
Supply-chain scan / Supply-chain scan (pull_request_target) Successful in 18s
6844089d26
Author
Owner

Reviewed 6844089d26: looks good to merge after infra#2433.

  • Dockerfile. It asserts the parent's exact PATH, node and toolcache before the change. It checks every sealed input against its sha256, builds offline, and installs 24.22.1 in the toolcache layout the parent used. It removes 24.18.1 and 20.20.2 and checks the result in the same RUN, so the leaf is one layer. The new ENV PATH also drops the parent's duplicated /opt/infra-rust/bin.
  • Verifier. It now pins the node bytes and the PATH order. It checks that the old trees are gone, that no system node, npm or npx is present, and the LTS line, the brotli round trip and the 1.99.1 consumer pins. The mode change from 0755 to 0644 doesn't matter, because the builder runs it with python3 -I -B.
  • The b8d2059 leaf's removal. Nothing in infra uses it. One comment in .forgejo/workflows/native-auth-tests.yml:46 names supplychain-b8d2059-inputs.json as the Go toolchain's source, but it pins act-node-docker 783cdc170f, so that comment still resolves.
Reviewed 6844089d26: looks good to merge after infra#2433. - **Dockerfile.** It asserts the parent's exact PATH, node and toolcache before the change. It checks every sealed input against its sha256, builds offline, and installs 24.22.1 in the toolcache layout the parent used. It removes 24.18.1 and 20.20.2 and checks the result in the same RUN, so the leaf is one layer. The new ENV PATH also drops the parent's duplicated `/opt/infra-rust/bin`. - **Verifier.** It now pins the node bytes and the PATH order. It checks that the old trees are gone, that no system node, npm or npx is present, and the LTS line, the brotli round trip and the 1.99.1 consumer pins. The mode change from 0755 to 0644 doesn't matter, because the builder runs it with `python3 -I -B`. - **The b8d2059 leaf's removal.** Nothing in infra uses it. One comment in `.forgejo/workflows/native-auth-tests.yml:46` names `supplychain-b8d2059-inputs.json` as the Go toolchain's source, but it pins act-node-docker 783cdc170f, so that comment still resolves.
noel merged commit 4b5b7885c4 into main 2026-11-11 20:25:06 +00:00
noel deleted branch ci/supplychain-83fffe1 2026-11-11 20:25:08 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
noel/act-node-docker!33
No description provided.