GitHub will block the trigger behind a string of supply-chain attacks, but only in public repos

De-fanging dangerous triggers in GitHub Actions across an organization

A handful of GitHub Actions triggers — pull_request_target and issue_comment — let any stranger on the internet run a workflow with your secrets. They enabled the Ultralytics, LiteLLM, Telnyx, and elementary-data compromises. On Team or Enterprise plans, one organization policy can allowlist the safe triggers and block the rest; on Free plans you apply it repo by repo. Run it in Evaluate mode first, then enforce.

The maintainers behind these projects weren't careless. These triggers look harmless in a workflow file, and the unsafe version is one line away from the safe one.
  1. david_allison

    `pull_request_target` is being disabled by default on Dec 2:

    > On December 2, 2026, GitHub will enforce the default policy for affected repositories that were using the default pull_request_target policy before general availability.

    https://docs.github.com/en/actions/reference/security/secure...

  2. darkamaul

    That's a great change by Github here. pull_request_target has been the source of numerous security incidents (see the examples listed in the blogpost), with little benefits to the user.

    zizmor [0], a linter for GitHub Actions, flags it as part of its default audits. I would also recommend everyone to check the results of the default scan of zizmor on their project:

    ```

    cd <my-project>

    uvx zizmor .

    ```

    [0] https://zizmor.sh/

  3. speakspokespok

    This needs to be locked down:

    continue-on-error

    > failure doesn't fail the whole workflow

    Thus dev teams can and will use this so a failed security scan won't stop deployment to prod.

More from this day

2026-11-23