Skip to content

chore(workflows): move the five image pins to what d7baf21's build published - #114

Merged
garymike merged 1 commit into
mainfrom
chore/move-image-pins-d7baf21
Nov 14, 2026
Merged

garymike merged 1 commit into
mainfrom
chore/move-image-pins-d7baf21

Conversation

@garymike

Copy link
Copy Markdown
Owner

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.

…blished

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.
@garymike
garymike merged commit 3ba7e15 into main Nov 14, 2026
9 checks passed
@garymike
garymike deleted the chore/move-image-pins-d7baf21 branch November 14, 2026 22:39
garymike added a commit that referenced this pull request Nov 17, 2026
…blished (#117)

The follow-up half of #110, which took toolbox/gha's downloader stage to Python 3.15.
Only gha-toolbox's fingerprint covers toolbox/gha, so unlike #113 this put 1 of 5 pins
behind rather than all five:

    gha-security.yml      inputs 3814fda70f2b -> 5fba9b54ee96

All five still move. The mover repoints every pin to the named commit's build once any one
of them is behind, and that build rebuilt all six images, so the other four get
functionally identical rebuilds at new digests. That is the same behaviour as the previous
moves, not a change.

    gha-toolbox            edef6c3c715e -> 4a82e44e8339
    iac-toolbox            c56d06a80c8c -> e09d25c28658
    sast-toolbox           5b937edab76b -> 883b6720c8ac
    security-toolbox-base  19b34739f55a -> 92acc672ef2d
    skill-audit-toolbox    4a5ef990284a -> ef278f70d57a

Pinned to 4f487a4 and not to current main, deliberately. #116 landed after #110 and is
now main, but Build toolbox images is path-filtered to toolbox/** and
.github/workflows/build-toolbox.yml, and #116 changed only .github/dependabot.yml. No
build ran for it, so there is no sha-fb56f228 tag to resolve and naming the newest commit
would simply fail. #116 changed no build input either, so the fingerprints are identical
at both commits and 4f487a4's build is the right one to name.

Verified against the pinned digests. Every build-inputs label read back matches the
fingerprint this repo computes now: gha 5fba9b54ee96, skill-audit 0f70a0c57551, base
ad7263c8eac8.

The useful check this time is on gha, since #110 is what moved it:

    Python in gha-toolbox   3.14.8, Debian 12 (bookworm)
    zizmor                  1.32.0
    actionlint              1.7.12, built with go1.26.1
    shellcheck              0.9.0

So the image ships base's 3.14 even though its downloader stage now builds on 3.15, which
is what #116 corrected the dependabot.yml comment to say. That stage runs no Python and
only produces the actionlint binary, and the binary works. The claim is now measured
rather than reasoned.

    security-toolbox-base   Python 3.14.8, osv-scanner 2.7.1, syft 1.57.1
    skill-audit-toolbox     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 and zero command-not-found lines, both asserted separately,
because a missing podman shim makes six assertions read a dead container as "blocked".
The proof output is byte-identical to the one taken against the digests #114 pinned, which
is the expected result: no scanner version changed, only the gha downloader's base image.

Note for whoever reads the Tool drift badge next: it is red on real drift, not the
zero-job case. betterleaks 1.10.1, trufflehog 3.99.9, semgrep 1.185.0, checkov 3.4.5 and
skillspector 2.13.5 are all available. That is separate work and this commit does not
touch it.
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