Skip to content

Verify updater and proxy image attestations - #675

Merged
JamieMagee merged 3 commits into
mainfrom
verify-container-attestations
Oct 16, 2026
Merged

JamieMagee merged 3 commits into
mainfrom
verify-container-attestations

Conversation

@JamieMagee

@JamieMagee JamieMagee commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Summary

updater/proxy -> resolve digest -> verify GitHub provenance -> pull/run that digest

Native Go verification is on by default. --skip-image-verification permits trusted development images.
Storage/collector checks and independent producer-commit pinning remain deferred.

Before: Container startup uses tags without provenance checks.
After: Race/cache tests and live OCI verification pass. All seven CLI release targets and both static Action builds pass.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The default-on execution trust boundary warrants human security review, and the cached-tag regression remains unresolved.

1 open finding
What changed in this PR

Adds default-on GitHub provenance verification before the CLI and Docker Action run updater or proxy images.

Changes:

  • Resolves and verifies image digests, then uses them for pulls and container creation.
  • Adds an explicit development bypass with CLI and Action configuration.
  • Adds verification tests, signed fixtures, and documentation.
File Description
testdata/​scripts/​timeout.txt Bypasses verification for test image.
testdata/​scripts/​smb-mount.txt Bypasses verification for test image.
testdata/​scripts/​smb-mount-local.txt Bypasses verification for test image.
testdata/​scripts/​security.txt Bypasses verification for test images.
testdata/​scripts/​pypi.txt Bypasses verification for test image.
testdata/​scripts/​proxy.txt Bypasses verification for custom images.
testdata/​scripts/​local.txt Bypasses verification for local tests.
testdata/​scripts/​input.txt Bypasses verification for input tests.
testdata/​scripts/​graph.txt Bypasses verification for graph tests.
testdata/​scripts/​flamegraph.txt Bypasses verification for profiling test.
testdata/​scripts/​fail.txt Bypasses verification for failure tests.
testdata/​scripts/​credentials.txt Bypasses verification for credential tests.
testdata/​scripts/​basic.txt Tests rejection and explicit bypass.
README.md Documents verification policy and limitations.
internal/​infra/​testdata/​attestations/​updater.json Adds signed updater bundle.
internal/​infra/​testdata/​attestations/​updater-manifest.json Adds updater manifest fixture.
internal/​infra/​testdata/​attestations/​trusted-root.json Adds test trust material.
internal/​infra/​testdata/​attestations/​proxy.json Adds signed proxy bundle.
internal/​infra/​testdata/​attestations/​proxy-manifest.json Adds proxy manifest fixture.
internal/​infra/​run.go Gates startup on verification.
internal/​infra/​run_test.go Tests startup rejection and bypass.
internal/​infra/​registry_client.go Adds scoped registry authentication.
internal/​infra/​image.go Selects, verifies, and pulls immutable images.
internal/​infra/​image_test.go Tests digest pinning and cache behavior.
internal/​infra/​attestation.go Implements provenance verification.
internal/​infra/​attestation_test.go Tests bundles and verification policy.
go.sum Records dependency checksums.
go.mod Adds verification dependencies.
docs/​debugging.md Explains trusted development bypass.
cmd/​dependabot/​internal/​cmd/​update.go Forwards verification setting.
cmd/​dependabot/​internal/​cmd/​test.go Forwards verification setting.
cmd/​dependabot/​internal/​cmd/​test_test.go Tests bypass flag propagation.
cmd/​dependabot/​internal/​cmd/​root.go Registers bypass flag.
cmd/​dependabot/​internal/​cmd/​graph.go Forwards verification setting.
cmd/​dependabot-action/​main.go Forwards Action verification setting.
cmd/​dependabot-action/​main_test.go Tests Action setting propagation.
cmd/​dependabot-action/​inputs.go Parses bypass input.
cmd/​dependabot-action/​inputs_test.go Tests bypass input validation.
cmd/​dependabot-action/​docker_test.go Enables bypass for test images.
action.yml Exposes default-off bypass input.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread internal/infra/image.go Resolved

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Default-on cryptographic verification changes the container trust boundary and requires final human security review.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

ByAgenT
ByAgenT previously approved these changes Oct 15, 2026
Comment thread internal/infra/registry_client.go Resolved
brettfo
brettfo previously approved these changes Oct 16, 2026
honeyankit
honeyankit previously approved these changes Oct 16, 2026
@JamieMagee
JamieMagee dismissed stale reviews from honeyankit, brettfo, and ByAgenT via 4c72ebd October 16, 2026 17:15
@JamieMagee
JamieMagee enabled auto-merge October 16, 2026 17:18
@JamieMagee
JamieMagee added this pull request to the merge queue Oct 16, 2026
Merged via the queue into main with commit b3cb00a Oct 16, 2026
215 checks passed
@JamieMagee
JamieMagee deleted the verify-container-attestations branch October 16, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants