ci: seal supplychain 47a53e3, whose Gitleaks ignores inline allow comments, over the current runner image (codewire#3991) #35
Loading…
Reference in a new issue
No description provided.
Delete branch "cw-security/supplychain-47a53e3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
codewire#3991, step 3: the runner image leaf for supplychain 47a53e3 (noeljackson/supplychain#91; the owner's approval is recorded on codewire#3013). Its secret scan runs Gitleaks with
--ignore-gitleaks-allow, so an inline allow comment can no longer hide a secret from the sealed source approval. Repositories pick it up only by changingEXPECTED_SUPPLYCHAIN, after this image is published and adopted.Change. An additive leaf over the current runner image, v10, the Kyverno CLI 1.17.1 image (
sha256:6f746afc…aab1ee). It's modelled on #33's supplychain half, with no Node change:Dockerfile.system-hz-supplychain-47a53e3: one networklessRUNbuilds supplychain from source into/usr/local/libexec/supplychain-47a53e3….PATH.PATHis unchanged.supplychain-47a53e3-inputs.json: 83fffe1's list with only the source archive changed (revision, URL, sha2561c6c0eff…eb9f, identical over two fetches).go.modandgo.sumare byte-identical to 83fffe1's, so Go 1.27.3 and semver v3.5.0 stay.verify-installed-system-hz-supplychain-47a53e3.py, adapted from the Kyverno verifier. It checks:PATH, and Codewire's runner assertion;16 commands. The file carries no literal marker.
README.system-hz-supplychain-47a53e3.md.The binary's sha256,
35fd108b…d45153, is from a local build with exactly the Dockerfile's recipe and inputs. The same recipe reproduces 83fffe1's sealed bytes (955d42cf…) exactly, so the pin is the image's.Next, after merge: the infra
forgejo-runner-imagedry run at the merged revision,promote(standing approval for CI and runner images), then the adopt PR in infra.Review at
d865529fe(runner images).Checked and correct:
act-node-docker@sha256:6f746afc…(Kyverno 1.17.1), which is what the warm VMs preload.Masterminds/semverv3.5.0 are identical.1c6c0eff…7eb9f.gitleaks:allowcomment is reported by 47a53e3 and still hidden by 83fffe1.One fix before merge (accuracy of the sealed record): 83fffe1..47a53e3 holds two supplychain commits, not one:
OSM_API_KEYwhenSUPPLYCHAIN_OSM_TOKENis unset, and scrubs both before starting any tool.The Dockerfile comment and README describe only #91. Please name #90 too. It's harmless in CI today, because no workflow in infra, codewire or security sets
OSM_API_KEY, so it changes no job. But the leaf ships it, and the record should say so.With that doc fix, approved. Adoption is paced after v0.4.19's release runs, per the orchestrator.
Approved at
6c188e32b(runner images). The delta fromd865529fe: the Dockerfile changes only in comments; in the inputs record only the release text changed, and the tarball sha2561c6c0eff…7eb9fis unchanged; the README now names #90 and #91; and the verifier adds one check, that with a syntheticOSM_API_KEYset,--helpnames the variable and never echoes its value. Merge when ready. Adoption into infra waits until v0.4.19's release runs are done.