Skip to content

chore(toolbox): bump osv-scanner and syft, the two pins that drifted after #103 - #105

Merged
garymike merged 1 commit into
mainfrom
chore/drift-bump-osv-syft
Nov 9, 2026
Merged

garymike merged 1 commit into
mainfrom
chore/drift-bump-osv-syft

Conversation

@garymike

@garymike garymike commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Two patch releases published after #103's nine-tool bump, so this week's drift red was earned.

Tool From To Files
osv-scanner 2.7.0 2.7.1 toolbox/tools.lock, toolbox/base/Dockerfile
syft 1.57.0 1.57.1 toolbox/tools.lock, toolbox/base/Dockerfile

Applied through scripts/apply-tool-bumps.py rather than by hand, so the lock and the ARG move together. check-tool-updates.sh --fail-on-drift now exits 0 with all twelve pins current.

Pre-flighted the failure mode that actually exists here

The base image verifies each download against the release's own checksum file, so the way a patch bump breaks is a renamed asset, which fails the build, not the drift check. Both releases publish the exact names the Dockerfile constructs:

osv-scanner_linux_amd64            osv-scanner_SHA256SUMS
syft_1.57.1_linux_amd64.tar.gz     syft_1.57.1_checksums.txt

Follow-up

Both pins live in security-toolbox-base, so this rebuilds all five images and the five workflow pins will need moving once it lands.

…after #103

Both are patch releases published after #103's nine-tool bump, so the weekly drift watcher
was red for the right reason. Applied through scripts/apply-tool-bumps.py, which moves
tools.lock and the Dockerfile ARG together rather than letting one of them lie:

    osv-scanner  2.7.0  -> 2.7.1   toolbox/tools.lock, toolbox/base/Dockerfile
    syft         1.57.0 -> 1.57.1  toolbox/tools.lock, toolbox/base/Dockerfile

check-tool-updates.sh --fail-on-drift now exits 0 with all twelve pins current.

Pre-flighted the one failure mode a patch bump has here. The base image verifies each
download against the release's own checksum file, so a renamed asset fails the build
rather than the drift check. Both releases publish the exact names the Dockerfile
constructs: osv-scanner_linux_amd64 with osv-scanner_SHA256SUMS, and
syft_1.57.1_linux_amd64.tar.gz with syft_1.57.1_checksums.txt.

Both pins live in security-toolbox-base, so this rebuilds all five images and the five
workflow pins will need moving once it lands.
@garymike
garymike merged commit 199ad93 into main Nov 9, 2026
10 checks passed
@garymike
garymike deleted the chore/drift-bump-osv-syft branch November 9, 2026 18:56
garymike added a commit that referenced this pull request Nov 12, 2026
…blished (#107)

The follow-up half of #105. Both bumped pins live in security-toolbox-base, so all five
images were rebuilt and every caller was still resolving a pre-bump digest.

Permitted rather than forced. check-image-pins.py reported all 5 of 5 behind before the
move, which is the state the mover's guard requires, so no --force was needed:

    gha-security.yml      inputs f6a4a72e874a -> bc9f92273a9d
    iac-security.yml      inputs 4a28bbf3e20f -> 0c18852ac420
    sast.yml              inputs 547b6bc2feaf -> b9fc98f99889
    security-scan.yml     inputs b4802091e180 -> ff1cbae74dd2
    skill-audit.yml       inputs a36fc4fa94cf -> 310214430f4d

Each digest resolved from the per-commit sha-199ad93a3360 tag rather than latest, and its
build-inputs label read back out of the registry and compared with the fingerprint this
repo computes now. All five matched before anything was written.

Verified against the pinned digests rather than a local build, because the dogfood scan
proves the content at a commit and not the published image: it builds its own
security-toolbox-base:ci and runs gate-proof against skill-audit-toolbox:ci. The
build-inputs label ties those together, but a label says an image was built from these
inputs, not that these inputs produce the documented result.

Pulled security-toolbox-base@823b15f26d41, the subject of #105:

    osv-scanner version: 2.7.1
    syft version:        1.57.1

Pulled skill-audit-toolbox@e59ab35ba46e and ran the proof against that:

    SkillSpector v2.13.4, semgrep 1.184.0
    gate-proof.sh: 16 PASS, 0 FAIL, exit 0

    gecko-demo               64/100    exit 1, BLOCKS
    gecko-hook-demo          76/100    exit 1, BLOCKS
    config-injection-demo    100/100   exit 1, BLOCKS
    sibling-config-demo      51/100    exit 1, BLOCKS
    memory-poisoning-demo    27/100    exit 0, does NOT block

Five non-blank score lines, which is the check that separates a real pass from a harness
whose containers never started. Worth stating because the first attempt at this proof hit
exactly that: the shim was unreachable, docker did not exist, and twelve assertions printed
PASS before the two MUST-NOT-block cases gave it away.
garymike added a commit that referenced this pull request Nov 14, 2026
…blished (#114)

The follow-up half of #113, which corrected the base OS note in tools.lock. That edit
changed no build step, only a comment, but the build-inputs fingerprint covers the whole
tracked blob, so all five images rebuilt to new digests and every caller was left
resolving a pre-#113 one. Image pins went red on main at d7baf21 for exactly that reason.

Permitted rather than forced. check-image-pins.py reported 5 of 5 behind before the move,
which is the state the mover's guard requires, so no --force was needed:

    gha-security.yml      inputs bc9f92273a9d -> 3814fda70f2b
    iac-security.yml      inputs 0c18852ac420 -> 9335b2a6f700
    sast.yml              inputs b9fc98f99889 -> c43802823eaa
    security-scan.yml     inputs ff1cbae74dd2 -> ad7263c8eac8
    skill-audit.yml       inputs 310214430f4d -> 0f70a0c57551

Digests resolved from the per-commit sha-d7baf21676be tag rather than latest, and each
one's build-inputs label read back out of the registry and compared with the fingerprint
this repo computes now. All five matched before anything was written.

    gha-toolbox            76856c846d01 -> edef6c3c715e
    iac-toolbox            d55bcbf3e8e0 -> c56d06a80c8c
    sast-toolbox           f3f951735d14 -> 5b937edab76b
    security-toolbox-base  823b15f26d41 -> 19b34739f55a
    skill-audit-toolbox    e59ab35ba46e -> 4a5ef990284a

Verified against the pinned digests rather than a local build, because the dogfood scan
proves the content at a commit and not the published image. Pulled
security-toolbox-base@19b34739f55a, which also checks the claim #113 just corrected:

    Python 3.14.8
    Debian GNU/Linux 12 (bookworm)
    osv-scanner version: 2.7.1
    syft 1.57.1

So the note now matches the image: 3.14 on bookworm, not the 3.12 it claimed from #49
until today. The two tool pins from #105 are also still what tools.lock records.

Pulled skill-audit-toolbox@4a5ef990284a and ran the proof against that digest:

    SkillSpector v2.13.4, semgrep 1.184.0
    gate-proof.sh: 16 assertions PASS, 0 FAIL, exit 0

    gecko-demo               64/100    exit 1, BLOCKS
    gecko-hook-demo          76/100    exit 1, BLOCKS
    config-injection-demo    100/100   exit 1, BLOCKS
    sibling-config-demo      51/100    exit 1, BLOCKS
    memory-poisoning-demo    27/100    exit 0, does NOT block

Five non-blank score lines, which is the check that separates a real pass from a harness
whose containers never started, plus a separate assertion of zero command-not-found lines:
the shim that makes podman usable from git-bash is the part most likely to be silently
missing, and when it is, six assertions read a failed container start as "blocked".

The proof output is byte-identical to the one taken against the digests #107 pinned. That
is both the expected result and the useful one: a comment-only edit moved all five pins
while changing nothing a caller can observe. The fingerprint reads the tracked blob, not
its meaning, so prose inside tools.lock costs a pin move. Worth knowing before reading a
red Image pins run as evidence that scanner behaviour changed.
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