Skip to content

chore(toolbox): bump five pinned tools to clear the drift gate - #67

Merged
garymike merged 7 commits into
mainfrom
chore/bump-pinned-tools
Sep 21, 2026
Merged

garymike merged 7 commits into
mainfrom
chore/bump-pinned-tools

Conversation

@garymike

Copy link
Copy Markdown
Owner

Why

The weekly Tool drift scheduled run has been failing. It is not a broken workflow —
check-tool-updates.sh --fail-on-drift is doing its job and reporting that five pinned
tools have fallen behind upstream:

Tool Pinned Available
osv-scanner 2.5.1 2.6.0
snyk-agent-scan 0.6.2 0.6.3
zizmor 1.30.0 1.30.1
semgrep 1.176.1 1.177.0
checkov 3.3.16 3.3.17

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.lock and the matching ARG in the Dockerfiles that
consume it. semgrep is pinned in two images (sast, skill-audit) and both move together,
as tools.lock requires.

  • toolbox/tools.lock — all five (semgrep twice)
  • toolbox/base/Dockerfile — OSV_SCANNER_VERSION
  • toolbox/gha/Dockerfile — ZIZMOR_VERSION
  • toolbox/iac/Dockerfile — CHECKOV_VERSION
  • toolbox/sast/Dockerfile — SEMGREP_VERSION
  • toolbox/mcp-review/Dockerfile — SNYK_AGENT_SCAN_VERSION
  • toolbox/skill-audit/Dockerfile — SEMGREP_VERSION

No checksum edits are needed: the base Dockerfile fetches each release's own SHA256SUMS
at build time and verifies against it, so the version bump carries the checksum with it.

Not included

skillspector is also behind (c2d09df019e3 → 1c0eb569a255), but that check is advisory
and 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 200 for the
four Python tools; google/osv-scanner tag v2.6.0, published 2026-09-14). Build-toolbox
will rebuild the images and re-verify checksums; Tool drift should go green after merge.

@garymike
garymike merged commit 8b45c84 into main Sep 21, 2026
9 checks passed
@garymike
garymike deleted the chore/bump-pinned-tools branch September 21, 2026 21:26
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.
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.

1 participant