Skip to content

chore(toolbox): bump trufflehog to 3.99.3 - #83

Merged
garymike merged 1 commit into
mainfrom
chore/bump-trufflehog-3.99.3
Oct 19, 2026
Merged

garymike merged 1 commit into
mainfrom
chore/bump-trufflehog-3.99.3

Conversation

@garymike

Copy link
Copy Markdown
Owner

Clears the trufflehog half of the Tool drift gate.

Applied with the repo's own tooling rather than by hand, so tools.lock and the Dockerfile ARG move together by construction — the same two commands tool-bump.yml runs:

bash scripts/check-tool-updates.sh --emit-drift drift.tsv
python3 scripts/apply-tool-bumps.py drift.tsv .

Verified before opening

  • v3.99.3 is upstream's latest, published 2026-10-19, prerelease: false
  • Both assets the Dockerfile fetches exist: trufflehog_3.99.3_linux_amd64.tar.gz and trufflehog_3.99.3_checksums.txt
  • Built toolbox/base locally at the new pin. The install step runs sha256sum -c - against the published checksums under set -eux, so a successful build is the checksum verifying.
  • The built image reports trufflehog 3.99.3, with betterleaks 1.9.0, osv-scanner 2.7.0 and syft 1.54.1 unchanged — the bump is isolated.

syft also drifted — deliberately not included

syft 1.54.1 → 1.55.0 appeared while this was being prepared, so the drift gate will still be red after this merges. Left alone on purpose: it was not part of the request, and a version nobody asked for riding along is how an unreviewed bump reaches six images. Happy to do it as its own PR.

Follow-up this creates

Per #73 and #82: merging this publishes new images, which leaves the five reusable-workflow digest pins pointing at the previous build. Those have to move in a second PR, because the new digest does not exist until the build has run.

That two-step is exactly the loop that has now lapsed twice — #80 and #81 both bumped tools.lock without it, and #82 was the cleanup. Flagging it up front so it does not become a third.

🤖 Generated with Claude Code

Applied with the repo's own tooling rather than by hand, so the lock and the
Dockerfile ARG move together by construction:

  bash scripts/check-tool-updates.sh --emit-drift drift.tsv
  python3 scripts/apply-tool-bumps.py drift.tsv .

Verified before opening: v3.99.3 is upstream's latest, published today, not a
prerelease, and both assets the Dockerfile fetches exist. Built
toolbox/base locally at the new pin -- the build verifies the published
sha256 under `set -eux`, so it passing is the checksum passing -- and the
image reports trufflehog 3.99.3 with betterleaks 1.9.0, osv-scanner 2.7.0
and syft 1.54.1 unchanged.

syft 1.54.1 -> 1.55.0 also drifted while this was being prepared. Left alone
deliberately: it was not part of the request, and a bump nobody asked for is
how an unreviewed version reaches six images.

Follow-up, per #73 and #82: merging this publishes new images, which leaves
the five reusable-workflow digest pins behind again. They have to move in a
second PR once the build has published, because the digest does not exist
until then. That two-step is the loop that lapsed twice already.

Co-Authored-By: Claude Opus 5 <[email protected]>
@garymike
garymike merged commit fe8fd12 into main Oct 19, 2026
9 checks passed
@garymike
garymike deleted the chore/bump-trufflehog-3.99.3 branch October 19, 2026 20:25
garymike added a commit that referenced this pull request Oct 19, 2026
Applied with the repo's own tooling, same as #83, so the lock and the
Dockerfile ARG move together by construction:

  bash scripts/check-tool-updates.sh --emit-drift drift.tsv
  python3 scripts/apply-tool-bumps.py drift.tsv .

Verified before opening: v1.55.0 is upstream's latest, published today, not a
prerelease, and both assets the Dockerfile fetches exist. Built toolbox/base
locally -- the install step runs `sha256sum -c -` against the published
checksums under `set -eux`, so the build passing is the checksum passing --
and the image reports syft 1.55.0 with trufflehog 3.99.3, betterleaks 1.9.0
and osv-scanner 2.7.0 unchanged.

This was the last entry in the drift gate, so it should go green on the next
scheduled run.

Noticed while checking whether this affects the x/crypto exception, and NOT
changed here: .trivy/toolbox.openvex.json's impact_statement names
"betterleaks 1.8.1 (x/crypto 0.53.0)" and "osv-scanner 2.5.1 (x/crypto
0.54.0)". Those pins are now 1.9.0 and 2.7.0. The exception still functions,
because it is scoped by x/crypto version rather than by scanner version, so a
tool that rebuilds against 0.55.0 simply stops matching. But its own
action_statement says to revisit when those tools ship such a release and
drop the corresponding version, and nobody has checked since they did.

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

The second half of #83 and #84, done once for both rather than twice. Per #73
these pins move deliberately alongside toolbox/tools.lock; the new digest does
not exist until the merge has published, so it is always a follow-up commit.

Digests taken from the 6c5e9c5 build's own cosign step (run 39321887780),
which is steps.build.outputs.digest -- the convention #73 used. Deliberately
NOT from `podman inspect`: that reports the platform manifest digest, which
differs from the registry index digest for images whose latest index carries
attestations, and in #82 three of five happened to agree and two did not.
Each of the five pins is asserted equal to the digest that build emitted for
that image.

Verified the images behind the new pins actually carry the bumps:
security-toolbox-base ships trufflehog 3.99.3 and syft 1.55.0 (betterleaks
1.9.0 and osv-scanner 2.7.0 unchanged), and skill-audit-toolbox still ships
SkillSpector v2.13.0.

Third time this step has been needed and the second time it was remembered.
The control for it still does not exist; see the note in #82 about
build-toolbox.yml being the right home, since it already holds both the
digest it just built and the pin sitting in the tree.

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