Repository navigation
[Codex Security] Any matching tag can publish packages from an unreviewed commit - #90
Merged
nieprzecietny merged 1 commit intoDec 1, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #90 +/- ##
==========================================
+ Coverage 92.95% 93.00% +0.04%
==========================================
Files 140 140
Lines 4869 4000 -869
Branches 538 540 +2
==========================================
- Hits 4526 3720 -806
+ Misses 216 156 -60
+ Partials 127 124 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
The patch makes package publication depend on validated, reviewed release provenance.
repository_dispatchhandler.vX.Y.Z, prerelease,master, andrelease/*maintenance flows.Static Verification Checks
Trusted workflow source (Passed) — .github/workflows/release.yml uses repository_dispatch, establishing attacker-selected tags cannot replace the credentialed workflow’s validation logic.
Release input validation (Passed) — .github/workflows/release.yml validates exact SemVer and the dispatched SHA before checkout, closing malformed and substituted tag paths.
Commit provenance gate (Passed) — Verify release commit provenance binds checkout HEAD to RELEASE_SHA and trusted release branches before build, blocking unreviewed commits.
Legitimate releases preserved (Passed) — .github/workflows/release-notes.yml dispatches peeled tag SHAs, preserving documented stable, prerelease, and maintenance-branch publication behavior.
Static diff integrity (Passed) — git diff --text --check inspected both workflows without runtime execution, establishing the patch contains no whitespace errors.
Finding:
acf_6355512e46f9416e444f4bb68c04580cPatch:
arp_05e7603718b89d8f2d069da0362943f3Base commit:
c2e1ee49a2664b653a25227a14fc356db3e1f432Patch SHA-256:
aaa166ebc4b3ff372c777464510ca8fafec241c0a2f18456470e99efaf1017fa