Skip to content

chore(toolbox): bump syft to 1.55.0 - #84

Merged
garymike merged 1 commit into
mainfrom
chore/bump-syft-1.55.0
Oct 19, 2026
Merged

garymike merged 1 commit into
mainfrom
chore/bump-syft-1.55.0

Conversation

@garymike

Copy link
Copy Markdown
Owner

The last entry in the drift gate. Same tooling and same verification as #83.

syft  1.54.1 → 1.55.0    toolbox/tools.lock, toolbox/base/Dockerfile

Verified before opening

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

Tool drift should go green on the next scheduled run.

One thing found while checking this, deliberately not changed here

syft is the one tool the x/crypto exception explicitly refuses to cover — .trivy/toolbox.openvex.json says it was upgraded to 1.51.1 because that release ships x/crypto 0.55.0 and genuinely fixes CVE-2026-56854, on the principle that "a fixable finding is fixed, not excepted." So I checked whether bumping it touches that exception. It does not. But the exception has drifted from reality in a different way:

Its 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 — it is scoped to exact x/crypto versions (0.52.0, 0.53.0, 0.54.0), so a tool that rebuilds against 0.55.0 or later stops matching and the gate re-arms by itself, exactly as its action_statement intends. The prose naming specific scanner versions is what is stale.

More to the point, that action_statement says: "Revisit when betterleaks or osv-scanner ship such a release, then drop the corresponding version and confirm the scan still passes without it." They have shipped several releases since, and nobody has checked. If either now builds against 0.55.0+, that version should come out of the exception — otherwise it is a suppression that outlived its reason, which is the same failure shape as the advisory drift warning and the un-moved digest pins.

Checking that means running Trivy against the current images with the VEX removed and seeing what reappears. Happy to do it as its own PR rather than smuggling it into a version bump.

Follow-up this creates

Same as #83: merging publishes new images, leaving the five reusable-workflow digest pins behind. Since #83 just merged too, one digest-refresh PR can cover both rather than two.

🤖 Generated with Claude Code

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
garymike merged commit 6c5e9c5 into main Oct 19, 2026
9 checks passed
@garymike
garymike deleted the chore/bump-syft-1.55.0 branch October 19, 2026 20:44
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