Repository navigation
chore(toolbox): bump five pinned tools to clear the drift gate - #67
Merged
Merged
Conversation
garymike
added a commit
that referenced
this pull request
Sep 30, 2026
sast, iac-security, gha-security and skill-audit pulled their domain image by :latest, so a toolbox rebuild silently changed what every caller scanned with -- the failure mode the digest pin in security-scan.yml exists to prevent (betterleaks 1.6.1 -> 1.8.1 in #64 turned green repos red overnight). All four now pin by digest, with the same rationale comment. security-scan.yml's own pin is bumped in the same commit. It still referenced 5614f8b9, the base image built before the #67 and #70 tool bumps, so it had drifted from tools.lock -- exactly what its comment says not to let happen. Every digest here comes from build 36661628989, the rebuild after #75, which is the first run in which all six images published: the Trivy publish gate had been rejecting sast and skill-audit over CVE-2026-102268 until PyJWT was fixed. These five now move deliberately, alongside toolbox/tools.lock. dogfood-scan is untouched -- it builds from source at :ci tags and never pulls from the registry.
garymike
added a commit
that referenced
this pull request
Oct 1, 2026
* chore(workflows): pin every toolbox image by digest sast, iac-security, gha-security and skill-audit pulled their domain image by :latest, so a toolbox rebuild silently changed what every caller scanned with -- the failure mode the digest pin in security-scan.yml exists to prevent (betterleaks 1.6.1 -> 1.8.1 in #64 turned green repos red overnight). All four now pin by digest, with the same rationale comment. security-scan.yml's own pin is bumped in the same commit. It still referenced 5614f8b9, the base image built before the #67 and #70 tool bumps, so it had drifted from tools.lock -- exactly what its comment says not to let happen. Every digest here comes from build 36661628989, the rebuild after #75, which is the first run in which all six images published: the Trivy publish gate had been rejecting sast and skill-audit over CVE-2026-102268 until PyJWT was fixed. These five now move deliberately, alongside toolbox/tools.lock. dogfood-scan is untouched -- it builds from source at :ci tags and never pulls from the registry. * docs(toolbox-scan): stop the input description contradicting its default The image input advised pinning by digest while defaulting to :latest. Keeping the mutable default is deliberate, and is the one place this repo should not follow the digest rule: this is a public action, and pinning its default would freeze external callers on a digest they never chose and silently stop their scanner updates. The reusable workflows pin because their images are bumped here, deliberately, alongside tools.lock; a third party has no such cadence. So the description now says what the default actually does and offers pinning as the opt-in, rather than advising one thing and doing another.
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.
Why
The weekly Tool drift scheduled run has been failing. It is not a broken workflow —
check-tool-updates.sh --fail-on-driftis doing its job and reporting that five pinnedtools have fallen behind upstream:
Every repo in the estate pulls these images, so the whole fleet has been scanning with
one-version-old engines — stale rulesets for semgrep and checkov in particular.
What
Bumps each version in
toolbox/tools.lockand the matchingARGin the Dockerfiles thatconsume it.
semgrepis pinned in two images (sast,skill-audit) and both move together,as
tools.lockrequires.toolbox/tools.lock— all five (semgrep twice)toolbox/base/Dockerfile—OSV_SCANNER_VERSIONtoolbox/gha/Dockerfile—ZIZMOR_VERSIONtoolbox/iac/Dockerfile—CHECKOV_VERSIONtoolbox/sast/Dockerfile—SEMGREP_VERSIONtoolbox/mcp-review/Dockerfile—SNYK_AGENT_SCAN_VERSIONtoolbox/skill-audit/Dockerfile—SEMGREP_VERSIONNo checksum edits are needed: the base Dockerfile fetches each release's own
SHA256SUMSat build time and verifies against it, so the version bump carries the checksum with it.
Not included
skillspectoris also behind (c2d09df019e3→1c0eb569a255), but that check is advisoryand pinned by commit SHA — bumping it means reading the upstream changelog first, so it is
left for a deliberate decision rather than folded into a routine version bump.
Verification
All five releases confirmed to exist upstream before pinning (PyPI JSON API
200for thefour Python tools;
google/osv-scannertagv2.6.0, published 2026-09-14). Build-toolboxwill rebuild the images and re-verify checksums; Tool drift should go green after merge.