Repository navigation
chore(toolbox): bump pinned tools to clear the drift gate - #74
Merged
Merged
Conversation
Same content as the branch the weekly Tool bump job pushed, re-landed as a signed commit so it can merge without an admin bypass. - trufflehog 3.97.5 -> 3.97.9 - snyk-agent-scan 0.6.4 -> 0.6.7 - semgrep 1.177.0 -> 1.178.0 (skill-audit and sast pins) - checkov 3.3.19 -> 3.3.20 The bump job detected the drift, applied the patch/minor bumps and validated by building the base and every domain image before pushing. Clears the red Tool drift scheduled gate.
garymike
added a commit
that referenced
this pull request
Sep 30, 2026
The Trivy publish gate rejected sast-toolbox and skill-audit-toolbox on the build for #74: CVE-2026-102268, CRITICAL, PyJWT 2.13.0, fixed in 2.14.0. Not a regression from that bump. semgrep 1.177.0 -- the previous pin -- carries the identical pyjwt[crypto]~=2.13.0 constraint, and 1.178.0 is the newest release, so there is nothing to bump to. The CVE was published 2026-09-28 20:26Z, eight hours after the 12:25Z build that passed. The gate is firing on a pre-existing condition that just became known, which means the currently published sast-toolbox:latest and skill-audit-toolbox:latest already contain it. The flaw is an HS/asymmetric confusion bypass: is_pem_format misses some PEM encodings, so a mutated public key is treated as an HMAC secret and anyone who knows the public key can forge tokens. It needs an application that mixes HMAC and asymmetric algorithms AND accepts caller-supplied raw key bytes. semgrep touches PyJWT only to authenticate to Semgrep AppSec Platform; these workflows supply no SEMGREP_APP_TOKEN and run OSS rule packs via --config, so no JWT is ever decoded. So it is defensible as not_affected, and .trivy/toolbox.openvex.json is where that would go. It is not going there: that file's own standard is that a fixable finding is fixed, not excepted, and upstream marks this one fixed in 2.14.0. PyJWT 2.15.1 is installed over semgrep's constraint with --no-deps instead, so the vulnerable code is gone rather than argued about. pyjwt is recorded in tools.lock under both image sections, so the weekly drift check tracks it and the ARG follows apply-tool-bumps.py's naming (PYJWT_VERSION). Drop the override once semgrep relaxes its pin and pip resolves 2.14.0+ on its own. dogfood-scan builds both images from source and runs semgrep against this repo, so CI is the functional check that the override does not break it.
garymike
added a commit
that referenced
this pull request
Sep 30, 2026
…igned The weekly bump branch could never merge. main requires signed commits; git commit inside Actions is signed by nobody, because GITHUB_TOKEN is not a signing key. #72 passed all nine checks and was still refused by the base branch policy, and the only way through was --admin. That is not a stuck PR to force once. It is every week the gate goes red, and it trains whoever is on the other end to treat an admin bypass as routine in the repo that guards everything else. createCommitOnBranch signs server-side, so the commit comes back Verified and merges under the rule like any other. Same GITHUB_TOKEN, same contents: write, no bot signing key to store or rotate. Verified on #74, which was the same content as #72 re-landed this way and merged without a bypass. The helper asserts the commit came back VALID and fails if not. Silently producing an unmergeable branch is the failure being fixed here, and it stays invisible until someone tries to merge weeks later. Preserved deliberately: the job still does not open the PR (that needs create AND approve, and GitHub does not split them), persist-credentials stays false so the docker builds cannot find a pushable token, and the single long-lived branch is still force-reset each week rather than leaving a trail.
This was referenced Sep 30, 2026
garymike
added a commit
that referenced
this pull request
Sep 30, 2026
The Trivy publish gate rejected sast-toolbox and skill-audit-toolbox on the build for #74: CVE-2026-102268, CRITICAL, PyJWT 2.13.0, fixed in 2.14.0. Not a regression from that bump. semgrep 1.177.0 -- the previous pin -- carries the identical pyjwt[crypto]~=2.13.0 constraint, and 1.178.0 is the newest release, so there is nothing to bump to. The CVE was published 2026-09-28 20:26Z, eight hours after the 12:25Z build that passed. The gate is firing on a pre-existing condition that just became known, which means the currently published sast-toolbox:latest and skill-audit-toolbox:latest already contain it. The flaw is an HS/asymmetric confusion bypass: is_pem_format misses some PEM encodings, so a mutated public key is treated as an HMAC secret and anyone who knows the public key can forge tokens. It needs an application that mixes HMAC and asymmetric algorithms AND accepts caller-supplied raw key bytes. semgrep touches PyJWT only to authenticate to Semgrep AppSec Platform; these workflows supply no SEMGREP_APP_TOKEN and run OSS rule packs via --config, so no JWT is ever decoded. So it is defensible as not_affected, and .trivy/toolbox.openvex.json is where that would go. It is not going there: that file's own standard is that a fixable finding is fixed, not excepted, and upstream marks this one fixed in 2.14.0. PyJWT 2.15.1 is installed over semgrep's constraint with --no-deps instead, so the vulnerable code is gone rather than argued about. pyjwt is recorded in tools.lock under both image sections, so the weekly drift check tracks it and the ARG follows apply-tool-bumps.py's naming (PYJWT_VERSION). Drop the override once semgrep relaxes its pin and pip resolves 2.14.0+ on its own. dogfood-scan builds both images from source and runs semgrep against this repo, so CI is the functional check that the override does not break it.
garymike
added a commit
that referenced
this pull request
Sep 30, 2026
…igned (#76) The weekly bump branch could never merge. main requires signed commits; git commit inside Actions is signed by nobody, because GITHUB_TOKEN is not a signing key. #72 passed all nine checks and was still refused by the base branch policy, and the only way through was --admin. That is not a stuck PR to force once. It is every week the gate goes red, and it trains whoever is on the other end to treat an admin bypass as routine in the repo that guards everything else. createCommitOnBranch signs server-side, so the commit comes back Verified and merges under the rule like any other. Same GITHUB_TOKEN, same contents: write, no bot signing key to store or rotate. Verified on #74, which was the same content as #72 re-landed this way and merged without a bypass. The helper asserts the commit came back VALID and fails if not. Silently producing an unmergeable branch is the failure being fixed here, and it stays invisible until someone tries to merge weeks later. Preserved deliberately: the job still does not open the PR (that needs create AND approve, and GitHub does not split them), persist-credentials stays false so the docker builds cannot find a pushable token, and the single long-lived branch is still force-reset each week rather than leaving a trail.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces #72. Byte-for-byte the same content (identical tree
306388c3ba55), re-landed as a signed commit.Why a new PR
The weekly
Tool bumpjob pushes its branch withGITHUB_TOKEN, which produces unsigned commits.mainrequires signed commits, so that branch can never merge without an admin bypass -- every week, forever. #72 passed all nine checks and was still refused by the base branch policy.This branch was created with the GraphQL
createCommitOnBranchmutation, which GitHub signs server-side (signature.state: VALID). No bypass needed.Bumps
The bump job detected the drift, applied the patch/minor bumps, and validated by building the base and every domain image before pushing. Clears the red
Tool driftscheduled gate.Worth fixing in the job itself
tool-bump.ymlshould usecreateCommitOnBranchinstead ofgit push, so the branch it produces each week is mergeable as-is. Otherwise this hand-off repeats every time the gate goes red.