Skip to content
NewA calmer, faster ZeroHour
Advisorymedium

GitHub to block pull_request_target by default in public repos

Original title: De-fanging dangerous triggers in GitHub Actions across an organization

Lobsters · securityby pyfound.blogspot.com via ubernostrum ()4 min read
AI summary · x-ai/grok-4.7Summaries by Vani AI

PSF applied organization policies on psf, python, and pypi; Free-plan users must disable the trigger repository by repository.

On December 2, 2026, GitHub will block the pull_request_target trigger by default in public repositories. The trigger can run a stranger’s pull-request code with a read/write token and repository or organization secrets, a pattern GitHub calls a pwn request. Python Software Foundation engineers removed dangerous triggers and applied event policies across the psf, python, and pypi organizations, and published rollout guidance.

Key facts
  • Team and Enterprise plans can disable the triggers organization-wide; Free plans must do it per repository.
  • Ultralytics in December 2024 had a poisoned build cache and malicious PyPI releases via this trigger.
  • LiteLLM and Telnyx malicious releases in March 2026 followed a Trivy pull_request_target compromise.
  • In April 2026, an elementary-data comment workflow injected shell commands and published a malicious PyPI release.
  • issue_comment workflows can expose the same token and secret risk.
Security assessment · AI, from the article

Impact: Workflow secrets stolen and malicious package releases published

ProductAffected
GitHub Actionspublic repositories using pull_request_target
What to do
  1. 1.Set the organization event policy, review what it would block, then enforce it.
  2. 2.Remove pull_request_target and issue_comment workflows that check out or run untrusted code.
  3. 3.Rotate exposed tokens and move publishes to Trusted Publishers where possible.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

4 min read at pyfound.blogspot.com

On December 2, 2026, GitHub will start blocking the pull_request_target trigger by default in public repositories. If that sentence means nothing to you, this post is for you. If it fills you with dread, it is also for you.

Lobsters · security

By pyfound.blogspot.com via ubernostrum · pyfound.blogspot.com

Read the full article at Lobsters · security

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.