Skip to content

chore(deps): bump python from 3.14-slim-bookworm to 3.15-slim-bookworm in /toolbox/gha - #110

Merged
garymike merged 1 commit into
mainfrom
dependabot/docker/toolbox/gha/python-3.15-slim-bookworm
Nov 17, 2026
Merged

garymike merged 1 commit into
mainfrom
dependabot/docker/toolbox/gha/python-3.15-slim-bookworm

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor

Bumps python from 3.14-slim-bookworm to 3.15-slim-bookworm.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps python from 3.14-slim-bookworm to 3.15-slim-bookworm.

---
updated-dependencies:
- dependency-name: python
  dependency-version: 3.15-slim-bookworm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file docker Pull requests that update docker code labels Nov 13, 2026
@garymike
garymike merged commit 4f487a4 into main Nov 17, 2026
9 checks passed
@garymike
garymike deleted the dependabot/docker/toolbox/gha/python-3.15-slim-bookworm branch November 17, 2026 01:39
garymike added a commit that referenced this pull request Nov 17, 2026
…116)

The comment on the /toolbox/gha entry said the two Python pins are "built by the same CI
gate, so a drift between them fails the build rather than shipping". Nothing compares
them and nothing fails. #110 bumps the gha downloader stage to 3.15 against a 3.14 base
and is green on all nine checks, which is how this surfaced.

The claim was also aimed at the wrong thing. toolbox/gha's downloader stage runs no
Python at all: it curls actionlint, checksum-verifies it and installs the binary, and the
final stage builds FROM ${BASE}. The Python that ships in gha-toolbox is
security-toolbox-base's, never that pin's, so a difference between the two is cosmetic
rather than a runtime drift. Keeping them equal is housekeeping, one fewer upstream
digest to follow, and not an invariant.

Comment-only. The parsed YAML is asserted identical before and after, and no build input
changed, so the five image pins stay current. Verified with the edit staged, because the
build-inputs fingerprint reads the index and not the working tree: checking before `git
add` is how a stale green gets reported. Unlike #113 this needs no follow-up pin move.

One consequence worth stating plainly: #110 is safe to merge on its own. It was being
held back on the grounds that it would create a drift this file said must not happen, and
that reasoning rested entirely on the sentence being corrected here.
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.
garymike added a commit that referenced this pull request Nov 17, 2026
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 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

dependencies Pull requests that update a dependency file docker Pull requests that update docker code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant