Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
build-pipeline-compromiseleaked-secret-api-keyai-enabled-threat-activityvendor-distribution-compromise

AI-Assisted GitHub Actions Campaign Exploited `pull_request_target` to Steal Secrets

Updated 14d agoFirst seen Mar 27, 20265 sources

Researchers reported that the prt-scan campaign abused misconfigured GitHub Actions workflows using the pull_request_target trigger to run attacker-controlled code from forked pull requests in privileged CI contexts. The actor used at least six GitHub accounts to submit more than 500 malicious pull requests across six waves, disguising many as routine CI updates and tailoring payloads to Python, Node.js, Go, Rust, and GitHub Actions repositories. Wiz said the operation evolved from simple bash payloads into AI-assisted, repository-aware implants designed to steal GITHUB_TOKEN values, enumerate secrets, probe cloud metadata services, and exfiltrate credentials through workflow logs and pull request comments.

The campaign succeeded often enough to cause real supply-chain impact despite an estimated success rate below 10%. Wiz confirmed compromise of the npm packages @codfish/eslint-config and @codfish/actions across 106 versions, and verified theft of AWS keys, Cloudflare API tokens, and Netlify authentication tokens. High-profile projects including Sentry, OpenSearch, IPFS, NixOS, Jina AI, and recharts reportedly blocked the attempts through contributor approval gates and workflow restrictions. The activity follows earlier warnings from Sysdig that insecure use of pull_request_target in prominent repositories such as MITRE, Splunk, and Spotipy could expose secrets and high-privilege GITHUB_TOKEN permissions, underscoring that unsafe GitHub Actions defaults remain an active software supply-chain risk.

Share:
AI-Assisted GitHub Actions Campaign Exploited `pull_request_target` to Steal Secrets
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

8 events from the most recent confirmed update back to the earliest known activity.

8 EVENTS
Apr 4, 20263mo ago

Attacker compromises two npm packages during prt-scan

During the campaign, the attacker successfully compromised the npm packages @codfish/eslint-config and @codfish/actions across 106 versions. Wiz also verified theft of credentials including AWS keys, Cloudflare API tokens, and Netlify auth tokens.

prt-scan: AI-Powered GitHub Actions Supply Chain Attack | Wiz Blog

Wiz publicly discloses the prt-scan campaign

Wiz Research published details of the prt-scan campaign, describing six waves of attacks from March 11 through early April 2026 and attributing them to one actor using six GitHub accounts. The disclosure highlighted AI-assisted, repository-aware payloads and a success rate below 10% despite real compromises.

prt-scan: AI-Powered GitHub Actions Supply Chain Attack | Wiz Blog
Apr 2, 20263mo ago

prt-scan campaign spikes with 475+ pull requests in 26 hours

On April 2, 2026, the GitHub account ezmtebo submitted more than 475 malicious pull requests in a 26-hour burst as part of the prt-scan campaign. The wave was part of a broader operation that exceeded 500 malicious pull requests overall.

prt-scan: AI-Powered GitHub Actions Supply Chain Attack | Wiz Blog
Mar 11, 20263mo ago

prt-scan campaign begins targeting GitHub repositories

A threat actor began the prt-scan supply chain campaign on GitHub, exploiting repositories with misconfigured pull_request_target workflows to steal tokens, secrets, and cloud credentials. Wiz linked the activity to a single actor operating through multiple GitHub accounts.

prt-scan: AI-Powered GitHub Actions Supply Chain Attack | Wiz Blog
Jun 17, 20251y ago

Splunk patches vulnerable workflow in security_content repository

Splunk patched the insecure GitHub Actions workflow in its security_content repository, though the report says it did not acknowledge the disclosure. The vulnerable configuration exposed privileged workflow execution to untrusted pull request code.

Dangerous by default: Insecure GitHub Actions found in MITRE, Splunk, and other open source repositories | Sysdig

MITRE remediates vulnerable GitHub Actions workflow

MITRE remediated the vulnerable workflow in its mitre-attack/car repository after Sysdig's disclosure. The flaw allowed untrusted forked pull request code to execute in a privileged CI context.

Dangerous by default: Insecure GitHub Actions found in MITRE, Splunk, and other open source repositories | Sysdig

Spotipy fixes vulnerable workflow and assigns CVE-2025-47928

After disclosure of the insecure GitHub Actions issue, the Spotipy project remediated its vulnerable workflow and assigned CVE-2025-47928 to the flaw. The issue involved unsafe use of pull_request_target that could expose secrets and privileged GitHub token access.

Dangerous by default: Insecure GitHub Actions found in MITRE, Splunk, and other open source repositories | Sysdig

Sysdig identifies insecure GitHub Actions in major open-source repositories

Sysdig Threat Research Team found multiple high-profile open-source repositories vulnerable to insecure GitHub Actions workflows, primarily involving misuse of the pull_request_target trigger that allowed untrusted pull request code to run in privileged contexts. The researchers demonstrated compromise paths in repositories including spotipy-dev/spotipy, mitre-attack/car, and splunk/security_content.

Dangerous by default: Insecure GitHub Actions found in MITRE, Splunk, and other open source repositories | Sysdig
LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

23 LINKEDOpen in app
Threat actors
2 linked
Affected products
6 linked
GithubCloudflareAmazon Web ServicesLinkedinNpmFalco
Organizations
13 linked
GitHubWizCloudflareNetlifySentryAmazon Web ServicesOpensearchGoogleJina AISpotifySplunkAikido SecuritySysdig
Breaches
1 linked
CODFISH-2026-03
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.