Skip to content

chore(toolbox): bump the five drifted tool pins - #118

Merged
garymike merged 1 commit into
mainfrom
chore/bump-drifted-tools
Nov 17, 2026
Merged

garymike merged 1 commit into
mainfrom
chore/bump-drifted-tools

Conversation

@garymike

Copy link
Copy Markdown
Owner

Applied by scripts/apply-tool-bumps.py from a freshly emitted drift file, so tools.lock
and the matching Dockerfile ARG moved together in every case:

betterleaks   1.10.0  -> 1.10.1    tools.lock, toolbox/base
trufflehog    3.99.8  -> 3.99.9    tools.lock, toolbox/base
syft          1.57.1  -> 1.57.2    tools.lock, toolbox/base
semgrep       1.184.0 -> 1.185.0   tools.lock x2, toolbox/sast, toolbox/skill-audit
checkov       3.4.3   -> 3.4.5     tools.lock, toolbox/iac

Re-measured rather than taken from the failing Tool drift run, and that mattered. That run
was from 2026-11-16 and listed four tools; upstream has moved since. syft 1.57.2 appeared
and was not in it, and skillspector advanced from the 2.13.5 that run reported to 2.13.6.
Acting on the log would have shipped a bump that was already stale and missed one
entirely.

Verified after applying: every pin's tools.lock entry and Dockerfile ARG now read the same
version, checked per tool rather than trusting the script's own summary, and a second
check-tool-updates.sh run reports every tool current.

skillspector is not here, deliberately. check-tool-updates.sh keeps it out of the
auto-bump queue because its ARG is SKILLSPECTOR_REF, a commit SHA, so apply-tool-bumps.py
would rewrite tools.lock, match nothing in the Dockerfiles, and report a half-bump as
applied. It also changes measured scanner behaviour that tests/gate-proof.sh hard-asserts
and docs/threats/developer-execution.md quotes by number. 2.13.4 -> 2.13.6 needs the
fixtures re-measured first and gets its own change.

semgrep is the one to watch here. It is the test-file-gate's malice engine as well as the
SAST scanner, so 1.185.0 can move what the gate blocks. This PR's Build toolbox and scan
this repo job builds every image from source and runs gate-proof.sh against the freshly
built skill-audit image, which is the check that would catch it. Reading that result is
the point of the PR.

These are build inputs, so merging this puts the five image pins behind and a pin move
follows, same as #110 and #113.

Applied by scripts/apply-tool-bumps.py from a freshly emitted drift file, so tools.lock
and the matching Dockerfile ARG moved together in every case:

    betterleaks   1.10.0  -> 1.10.1    tools.lock, toolbox/base
    trufflehog    3.99.8  -> 3.99.9    tools.lock, toolbox/base
    syft          1.57.1  -> 1.57.2    tools.lock, toolbox/base
    semgrep       1.184.0 -> 1.185.0   tools.lock x2, toolbox/sast, toolbox/skill-audit
    checkov       3.4.3   -> 3.4.5     tools.lock, toolbox/iac

Re-measured rather than taken from the failing Tool drift run, and that mattered. That run
was from 2026-11-16 and listed four tools; upstream has moved since. syft 1.57.2 appeared
and was not in it, and skillspector advanced from the 2.13.5 that run reported to 2.13.6.
Acting on the log would have shipped a bump that was already stale and missed one
entirely.

Verified after applying: every pin's tools.lock entry and Dockerfile ARG now read the same
version, checked per tool rather than trusting the script's own summary, and a second
check-tool-updates.sh run reports every tool current.

skillspector is not here, deliberately. check-tool-updates.sh keeps it out of the
auto-bump queue because its ARG is SKILLSPECTOR_REF, a commit SHA, so apply-tool-bumps.py
would rewrite tools.lock, match nothing in the Dockerfiles, and report a half-bump as
applied. It also changes measured scanner behaviour that tests/gate-proof.sh hard-asserts
and docs/threats/developer-execution.md quotes by number. 2.13.4 -> 2.13.6 needs the
fixtures re-measured first and gets its own change.

semgrep is the one to watch here. It is the test-file-gate's malice engine as well as the
SAST scanner, so 1.185.0 can move what the gate blocks. This PR's Build toolbox and scan
this repo job builds every image from source and runs gate-proof.sh against the freshly
built skill-audit image, which is the check that would catch it. Reading that result is
the point of the PR.

These are build inputs, so merging this puts the five image pins behind and a pin move
follows, same as #110 and #113.
@garymike
garymike merged commit 84e6b9e into main Nov 17, 2026
9 checks passed
@garymike
garymike deleted the chore/bump-drifted-tools branch November 17, 2026 02:04
garymike added a commit that referenced this pull request Nov 17, 2026
…es (#119)

The one pin check-tool-updates.sh keeps out of the auto-bump queue, so this is the manual
half. Its ARG is SKILLSPECTOR_REF, a commit SHA, not a version:

    toolbox/tools.lock               2.13.4 -> 2.13.6
    toolbox/skill-audit/Dockerfile   SKILLSPECTOR_REF 54824463814a -> e2674da339b0

v2.13.6 resolves to e2674da339b0bddc6e565d059c0577c6d9cd25da. Both places are asserted
equal before writing, because the failure this pin shape invites is a lock reading 2.13.6
beside an image still installing 2.13.4.

Two releases in one hop, both published 2026-11-16. 2.13.5 is maintenance: bounded parsing
of large structured inputs, plus "preserve security findings across decoded views", which
could plausibly have surfaced more. 2.13.6 fixes a false positive, where complete JSON
values such as {"name":"nice"} no longer raise a spurious static_parse_limit or
command_word_boundary diagnostic. Its own notes say to review version-bound baselines when
upgrading, which is what the rest of this commit does.

Re-measured rather than assumed. Built base and skill-audit locally the way
dogfood-scan.yml does, with semgrep already at 1.185.0 from #118, so SkillSpector is the
only moving part:

    SkillSpector v2.13.6, semgrep 1.185.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

Byte-identical to the 2.13.4 / semgrep-1.184.0 baseline, so the hard assertion holds and
the margin is still 23 points rather than 50. #118's own proof had already shown semgrep
alone moved nothing, which is what makes this measurement attributable to SkillSpector
instead of confounded between the two bumps.

The report itself was re-read, not just the score, because docs quote its contents.
memory-poisoning-demo at 2.13.6 carries exactly one finding, HIGH MP3 - Memory
Manipulation, 85% confidence, evidence carrier_kind=auto_run destination=MEMORY.md,
recommendation CAUTION. The finding count was asserted as one rather than inferred from a
filtered grep.

The version-bound claims therefore move to v2.13.6 in README.md,
docs/threats/developer-execution.md and the gate-proof.sh header. The numbers beside them
do not change, because they still measure true.

Three attributions deliberately keep their old versions, because they record measurements
this commit did not repeat: "As of SkillSpector v2.13.0 the original differentiator is
mostly gone", "Up to v2.13.2 the write scored 0/100", and "Measured mechanism vs content
at v2.13.4", that last being the 27 / 63 / 27 three-variant comparison. Re-stamping those
with 2.13.6 would claim measurements nobody took.

These are build inputs, so a pin move follows.
garymike added a commit that referenced this pull request Nov 17, 2026
…blished (#120)

The follow-up half of #118, which bumped five tool pins. tools.lock feeds every image's
fingerprint, so unlike #110 this put all 5 of 5 behind rather than one:

    gha-security.yml      inputs 5fba9b54ee96 -> b06392a38061
    iac-security.yml      inputs 9335b2a6f700 -> 67adbdd8b5de
    sast.yml              inputs c43802823eaa -> 590215ce7ed5
    security-scan.yml     inputs ad7263c8eac8 -> 22b19e0cbdaf
    skill-audit.yml       inputs 0f70a0c57551 -> bd07749c074b

    gha-toolbox            4a82e44e8339 -> 9c07e4d10e53
    iac-toolbox            e09d25c28658 -> ec9468d3fd41
    sast-toolbox           883b6720c8ac -> 0af6a7705e32
    security-toolbox-base  92acc672ef2d -> 8a9ce956e656
    skill-audit-toolbox    ef278f70d57a -> 3fe8262c5163

Digests resolved from the per-commit sha-84e6b9e01273 tag, 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.

The check worth running on a tool bump is not the label, which only proves provenance. The
bumped versions have to actually be in the images, so they were read out of the pinned
digests directly:

    security-toolbox-base@8a9ce956e656    betterleaks 1.10.1, trufflehog 3.99.9, syft 1.57.2
    iac-toolbox@ec9468d3fd41              checkov 3.4.5
    skill-audit-toolbox@3fe8262c5163      semgrep 1.185.0, SkillSpector v2.13.4

All five bumps from #118 are present. SkillSpector is still 2.13.4 here, correctly: #119
moves it to 2.13.6 and is not merged.

    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 and zero command-not-found lines, asserted separately, because
a missing podman shim makes six assertions read a dead container as "blocked". The output
is byte-identical to the proof taken against the digests #117 pinned, so semgrep
1.184.0 -> 1.185.0 moved nothing the gate measures. That was already visible in #118's own
CI run against its :ci build; this confirms it against the published image callers will
actually pull.

#119 changes tools.lock and the skill-audit Dockerfile again, so it will need its own pin
move after it lands. Moving now rather than waiting to bundle them was a deliberate call,
not an oversight.
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