Repository navigation
Verify updater and proxy image attestations - #675
Merged
Merged
Conversation
1 task
There was a problem hiding this comment.
🔵 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.
ByAgenT
previously approved these changes
Oct 15, 2026
brettfo
previously approved these changes
Oct 16, 2026
honeyankit
previously approved these changes
Oct 16, 2026
JamieMagee
dismissed stale reviews from honeyankit, brettfo, and ByAgenT
via
October 16, 2026 17:15
4c72ebd
JamieMagee
enabled auto-merge
October 16, 2026 17:18
brettfo
approved these changes
Oct 16, 2026
4 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Native Go verification is on by default.
--skip-image-verificationpermits 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.