VC-53836: Add SHA-256 verification to golang-dind and remove unused images #1209
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 377 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.355
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1209"
general
weight: 0.35
inteon
Summary
sha256sum -cintegrity verification to thegolang-dindCI imagebuild, which previously downloaded Go from the internet over HTTPS with
no checksum or signature verification
golang-awsimage, itsaws-testingpostsubmit job,and all references in
Makefile,README.md, andbuilder.shnix-dindimage, itspost-testing-push-nix-dindpostsubmit job, and its
MakefileentryMotivation
Triggered by VC-53836 (CWE-494:
Download of Code Without Integrity Check). The image build jobs run on
prow-trustedwith deployer credentials (cert-manager-bot-github-token,-ssh-key) in scope. A compromised upstream distribution endpoint could injectmalicious code into the CI pipeline. Adding SHA-256 verification provides a
defence-in-depth layer beyond TLS.
Changes to
golang-dindAdded
ARG GO_SHA256andecho "${GO_SHA256} ..." | sha256sum -c -between thewgetof the Go toolchain tarball and its extraction. The hash is defined inbuild.yamlalongside the version, with a comment showing how to recompute itwhen bumping.
Removal of
golang-awsThe
golang-awsimage was created in July 2021 (b186094) by Arsh Sharma toprovide an image for an
aws-testsperiodic job that ran cert-manager E2E testsagainst EKS every 48 hours. In September 2021, Jake Sanders disabled the
periodic (db5d8ad) with
# TODO: find a permanent home for the AWS periodics and. The TODO was never resolved — the commented-out block wasreinstate this job
later removed entirely, and no replacement AWS E2E job was ever created.
The image uses Go 1.16/1.17 on
golang:buster, all long EOL. No job config,test, or other repository references it as a container image. Rather than adding
SHA-256 verification to an unused image with five unverified downloads (AWS CLI,
aws-iam-authenticator, Terraform, Go, Nix), removing it eliminates the attack
surface entirely.
Removal of
nix-dindThe
nix-dindimage was created in September 2022 by joshvanl (0e0eb06) forcsi-lib E2E tests. In May 2025, Tim Ramlot replaced the
nix-dindjob imagewith
make-dindin csi-lib presubmits (4d108e5). Since then, zero consumersreference this image.
Rather than adding SHA-256 verification to another unused image, removing it
eliminates the attack surface entirely.
Test plan
golang-dindbuilds successfully with the correct hash — localdocker buildsucceeds,sha256sumreportsOKgolang-dindaborts withsha256sum: WARNING: 1 computed checksum did NOT matchgrep -rn 'golang-aws' .returns no matches — verified locally and bypull-testing-verifypassinggrep -rn 'nix-dind' .returns no matches after removalmake local-checkconfigpasses (Prow config validation) — awaiting CIpull-testing-verifypasses — awaiting CIGenerated with Claude (Opus 4.6)