Python Devs Document 'De-fanging Dangerous Triggers In GitHub Actions'
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Two Python Software Foundation security developers, Seth Larson and Mike Fiedler, documented how they disabled risky GitHub Actions triggers, including pull_request_target and issue_comment, across the psf, python and pypi organizations. Such triggers can give outside contributors' code or comment text access to a write token and secrets, enabling "pwn request" attacks. Team and Enterprise plans can block them org-wide with one policy; Free plans must do it per repository. Their guide advises checking what a policy would block before enforcing it. The cited incident history was not independently verified.