Skip to content

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

Merged
garymike merged 1 commit into
mainfrom
automated/tool-bumps
Oct 19, 2026
Merged

garymike merged 1 commit into
mainfrom
automated/tool-bumps

Conversation

@garymike

Copy link
Copy Markdown
Owner

Prepared by tool-bump.yml on the 2026-10-19 scheduled run (run), opened by hand so the normal PR checks run — a GITHUB_TOKEN-created PR would skip them.

Tool drift has been red for three consecutive weeks (Oct 5, 12, 19) because this manual step lapsed after #74 on 2026-09-30. This clears it.

Bumped

Tool From To Files
betterleaks 1.8.1 1.9.0 tools.lock, toolbox/base/Dockerfile
trufflehog 3.97.9 3.99.2 tools.lock, toolbox/base/Dockerfile
osv-scanner 2.6.0 2.7.0 tools.lock, toolbox/base/Dockerfile
syft 1.52.0 1.54.1 tools.lock, toolbox/base/Dockerfile
snyk-agent-scan 0.6.7 0.6.8 tools.lock, toolbox/mcp-review/Dockerfile
zizmor 1.30.1 1.31.1 tools.lock, toolbox/gha/Dockerfile
semgrep 1.178.0 1.181.0 tools.lock x2, toolbox/skill-audit/Dockerfile, toolbox/sast/Dockerfile
checkov 3.3.20 3.3.29 tools.lock, toolbox/iac/Dockerfile

Every image was built from these pins before the branch was written, so each version resolves and its published checksum verifies.

Not in scope

SKILLSPECTOR_REF stays at c2d09df (v2.3.11). The drift check reports it as advisory and does not fail on it, and bumping it is a three-part change rather than a version line: current SkillSpector blocks the .husky/pre-commit carrier that gate-proof.sh #4 asserts it clears, so the pin, the assertion, and the docs across all three repos have to move together. Tracked separately.

Merge mechanics

The branch is ahead 1, behind 3 after #77/#78/#79 merged. No update needed:

  • required_status_checks.strict is off, so being behind does not block the merge.
  • git merge-tree against main is conflict-free, and the merged tree keeps both sides — toolbox/base/Dockerfile ends up with the new python digest 48b13b0 on both stages and the four new tool versions. The digest bump is not reverted.
  • pull_request checks run against refs/pull/N/merge, so the required check validates the merged result rather than the stale branch.

The commit is signed by GitHub (verification.reason: valid), so it merges under the signed-commits rule on main without an admin bypass.

🤖 Generated with Claude Code

Applied by tool-bump.yml and validated by building every image
from these pins before the branch was written.

### Bumped

| Tool | From | To | Files |
|---|---|---|---|
| betterleaks | `1.8.1` | `1.9.0` | toolbox/tools.lock x1, toolbox/base/Dockerfile |
| trufflehog | `3.97.9` | `3.99.2` | toolbox/tools.lock x1, toolbox/base/Dockerfile |
| osv-scanner | `2.6.0` | `2.7.0` | toolbox/tools.lock x1, toolbox/base/Dockerfile |
| syft | `1.52.0` | `1.54.1` | toolbox/tools.lock x1, toolbox/base/Dockerfile |
| snyk-agent-scan | `0.6.7` | `0.6.8` | toolbox/tools.lock x1, toolbox/mcp-review/Dockerfile |
| zizmor | `1.30.1` | `1.31.1` | toolbox/tools.lock x1, toolbox/gha/Dockerfile |
| semgrep | `1.178.0` | `1.181.0` | toolbox/tools.lock x2, toolbox/skill-audit/Dockerfile, toolbox/sast/Dockerfile |
| checkov | `3.3.20` | `3.3.29` | toolbox/tools.lock x1, toolbox/iac/Dockerfile |
@garymike
garymike merged commit 9caf600 into main Oct 19, 2026
9 checks passed
@garymike
garymike deleted the automated/tool-bumps branch October 19, 2026 17:27
garymike added a commit that referenced this pull request Oct 19, 2026
)

#73 made these digest pins deliberate on purpose: a rebuild must not
silently change what every caller scans with, after betterleaks
1.6.1 -> 1.8.1 in #64 turned green repos red overnight. Its commit message
says they "move deliberately, alongside toolbox/tools.lock".

They did not move. #80 bumped eight tools and #81 bumped SkillSpector
v2.3.11 -> v2.13.0, both rebuilt and published, and neither touched these
five lines. My #81 is half of that omission.

Measured, not inferred:

  skill-audit.yml  pinned 6f5f4c48 -> SkillSpector v2.3.11 (tools.lock: 2.13.0)
  security-scan.yml pinned 5bfad328 -> betterleaks 1.8.1   (tools.lock: 1.9.0)

So every caller of these reusable workflows was scanning with the Oct-1
toolchain while tools.lock claimed otherwise.

All five now point at the digests the b0d54d4 build published, each one
confirmed present in that build's output (run 39298358613) rather than read
off a local pull: podman inspect reports the platform manifest digest, which
differs from the registry index digest for the images whose latest index
carries attestations, and build-push-action's own output digest is the
convention #73 used.

Ordering note for the sibling repos: security-agents#22 and skills#32 refresh
their reusable-workflow pin to 0fd7cac. Those must land AFTER this, or they
move both repos off :latest and onto the stale digests this fixes.

I tried adding a drift check for this and pulled it back out. Comparing the
pin against the registry's :latest index digest false-reds on exactly the two
attestation-bearing images, and a gate that cries wolf is worse than the
manual step it replaces. The right home is build-toolbox.yml, which already
holds both the digest it just built and the pin, but that is the publish path
and #73 deliberately kept it clean. Left as a decision, not a half-gate.

Co-authored-by: Claude Opus 5 <[email protected]>
garymike added a commit that referenced this pull request Oct 21, 2026
…ublished (#88)

Fourth time today the five reusable-workflow digest pins went stale, so the
manual step gets a control.

#73 made those pins deliberate on purpose: a rebuild must not silently change
what every caller scans with, after betterleaks 1.6.1 -> 1.8.1 in #64 turned
green repos red overnight. The cost of "deliberate" is that nothing moves them
for you, and nothing reminded anyone either. #80 bumped eight tools and #81
bumped SkillSpector, both published, neither moved the pins, and callers kept
getting the previous toolchain while tools.lock said otherwise. #82 was the
cleanup. Every toolbox/** change since has put them behind again, including
#87 and #86.

Each build job now records the digest it published, and a new `pins` job
compares those against the pin in the matching reusable workflow.

Two design points that are the whole reason this works:

It is a SEPARATE job, after base and domain, so publishing is never blocked.
It cannot be blocked: the digest to pin does not exist until the publish has
happened, so failing the publish on a stale pin would be circular. The images
ship, and the run still goes red, so the follow-up is not optional. Same
contract as tool-drift.yml: red means a pin is behind, not that anything is
broken.

It reads steps.build.outputs.digest rather than the registry. Comparing
against the `latest` index digest false-reds on images whose index carries
attestations, which is exactly why I pulled the equivalent check back out of
check-tool-updates.sh in #82 rather than ship a flaky gate. The build already
holds both halves, so no lookup and no ambiguity.

mcp-review-toolbox is built here but no reusable workflow pins it, so it is
reported as unpinned rather than counted as a mismatch.

Verified by running the comparison standalone against three scenarios:
all pins matching exits 0; two behind exits 1 with both named in ::error::
and marked in the job summary; and no digest files at all exits 1 saying the
pins were NOT verified, rather than passing quietly, which is the failure mode
that let this go unnoticed in the first place. actionlint clean, zizmor clean.

Co-authored-by: Claude Opus 5 <[email protected]>
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