ghtier

These write-ups are not threat intelligence and are not kept up to date as an incident develops. They are here to show how each attack worked, so you can find and fix the same techniques in your own setup. For the latest on an incident, read its sources.

← All incidents

prt-scan: automated pull_request_target attacks

March – April 2026 · Contained

One actor using six accounts opened more than 500 pull requests whose code ran in pull_request_target workflows with the target's secrets; fewer than one in ten worked, but those leaked AWS, Cloudflare and Netlify keys and led to two compromised npm packages.

Access held
T2Contents: WriteSecrets in the jobAWS, Cloudflare, Netlify keys
Scale
More than 500 malicious pull requests from six accounts
Full summary

From 11 March 2026 an actor opened pull requests from forks on branches named prt-scan- followed by a hex string, with the same title and body each time, against repositories whose workflows run on pull_request_target. That trigger runs in the base repository with its secrets, so where a workflow checked out and ran the pull request's code, the attacker's code ran with them. Wiz traced six waves from six accounts, three weeks before Charlie Eriksen made it public on 2 April, when the ezmtebo account opened more than 475 pull requests in 26 hours. The payloads grew from a bash script into AI-written code that fits each repository's language and test setup. They sent the workflow token out, listed secret names and environments through the API, and where the token could write, added a workflow that named every secret and started it with workflow_dispatch to get the values. Wiz counted a success rate under ten percent across more than 450 attempts. First-time contributor approval, actor checks and path filters stopped it at Sentry, OpenSearch, NixOS and others. Where it worked it took AWS keys, Cloudflare API tokens and Netlify tokens, and two npm packages of one maintainer were compromised across 106 versions.

How it unfolded

Pick a step to zoom into it. A dashed line is a step the sources do not state. Blue dots are the checklist items that break the step.

Whole path

Untrusted input reaches aprivileged workflowway inRun PR code in a privilegedworkflowtechniqueSecrets in the jobpull_request_target runsContents: WriteThe run's token, if writableChange a workflow, get itssecretsescalationAWS, Cloudflare, NetlifykeysCompromised repositoriesPublish a malicious versionwith a stolen tokentechniquePoison the build orpublished package

The whole attack, one row per step. Pick a step on the left, or click a box in its row.

Frameworks

Part of

Contained. First seen March 2026, last seen April 2026. More than 500 malicious pull requests from six accounts (as of 4 April 2026, source). Mapping by ghtier, not yet reviewed. Threat landscape

Sources

Reported by: Wiz Research