Python Devs Document 'De-fanging Dangerous Triggers In GitHub Actions'
Two security developers at the Python Software Foundation have published guidance on GitHub Actions triggers that let any GitHub user start workflows with access to repository secrets. They contrast pull_request, which runs fork code with a read-only token and no secrets, with pull_request_target, which runs with a read/write token and repository and organization secrets. Checking out and running a fork's code under the latter creates a "pwn request," which GitHub's docs call the root cause of multiple supply-chain compromises.
AI-written summary, checked against the cited sources. How summaries work