Repository navigation
[Codex Security] Release verifier executes Python startup hooks before authenticating assets - #401
Merged
abruption merged 1 commit intoNov 16, 2026
Conversation
abruption
marked this pull request as ready for review
November 16, 2026 10:43
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
abruption
deleted the
codex-security/arp_cf5132552f4b1eeb2db8bcbbcbdf1af7
branch
November 16, 2026 22:21
This was referenced Nov 17, 2026
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 starts release verification in an isolated, site-disabled Python interpreter before authenticating or publishing assets.
install.shnow invokes the embedded verifier withpython3 -I -S -at the shared release-verification boundary.PYTHONPATH, while site-disabled mode prevents both startup customization modules from loading.Static Verification Checks
Verifier startup isolation (Passed) — Runtime checks were not performed; static inspection of install.sh establishes startup hooks cannot precede release authentication.
Site-disabled verifier compatibility (Passed) — install.sh verifier imports only standard-library modules, so -S preserves metadata, attestation, and digest verification.
Startup hook regressions (Passed) — test_verified_release.py asserts sitecustomize and usercustomize markers from cwd and PYTHONPATH stay absent, protecting pre-authentication execution.
Release behavior preservation (Passed) — test_verified_release.py asserts valid releases publish while digest, attestation, version, execution, and size failures preserve installations.
Generator marker consistency (Passed) — generate_session_peer.py and test_standalone_generation.py share the isolated marker, preserving canonical verifier extraction across generated artifacts.
Finding:
acf_e261a7f8919e1472ab1baec06284895aPatch:
arp_cf5132552f4b1eeb2db8bcbbcbdf1af7Base commit:
b8d8613b5ba597aedd314488f77f52c3f934916aPatch SHA-256:
3c7f284cd3f8044ed570767056b94e6267bfedfa3f3f830ea088a1524cef938d