You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
security: add pre-publication artifact content and startup-hook checks #486
Detect package-content injection before any artifact can reach a PyPI publication job.
Current evidence
The artifact validator rejects unexpected top-level wheel members, which should reject the exact root-level cook.pth/ sitecustomize.py payload shape. It does not yet make startup-hook rejection explicit or compare all packaged bytes with the reviewed source manifest.
Scope
Reject .pth, sitecustomize.py, and usercustomize.py anywhere they could become startup hooks.
Activity
codeforester commentedon Oct 27, 2026
Implementation PR #495 hardens wheel/sdist validation against startup hooks, traversal, duplicates, executable/native members, and source-byte drift.