Tracked campaigns
Recurring techniques
The same handful of techniques shows up across campaigns. Each maps to a rule:- Code that runs without being imported. npm install scripts, Python
.pthfiles andsitecustomize.py. Seeinstall-script,startup-code-executionandstartup-hook. - Hiding in files CI already runs. Test setup, Makefiles and package scripts in a pull request, so the workflow itself looks unchanged. See CI file rules.
- Stealing the workflow token. Reading the token
actions/checkoutleaves in git config, or requesting OIDC tokens to reach cloud accounts. Seecheckout-token-extractionandoidc-token-request. - Bringing a second runtime. Downloading Bun to run the payload outside Node.js tooling. See
bun-dropper. - Harvesting with real tools. Running TruffleHog or Gitleaks on the machine or the repository history. See
secret-scanner-downloadandhistory-secret-harvest. - Hiding secrets from log masking. Encoding secrets before printing them. See
log-masking-bypass. - Exfiltrating to disposable infrastructure. Webhook services, paste sites, raw IP addresses and hostnames that embed an IP. See
exfil-endpoint,bare-ip-requestandsecret-exfiltration. - Using the victim’s AI tools. Running coding agents with permission checks disabled, or planting autostart hooks for them. See
ai-agent-abuseandagent-persistence. - Hiding the evidence. Reverting or force-pushing over the malicious workflow after it runs. See Scan recent runs.
- Borrowing trust. Look-alike action owners, unclaimed owner names, and forks of popular actions. See the action rules in Workflow rules.
Sources
- Wiz: Shai-Hulud npm supply chain attack
- GitGuardian: Shai-Hulud, GhostAction, GhostAction returns
- Datadog Security Labs: Shai-Hulud 2.0
- Sumo Logic: Detecting Sha1-Hulud
- Aikido: wfx-loot
- OX Security: wfx-loot
- Wiz: prt-scan
- SafeDep: prt-scan
- Socket: keyv and cacheable compromise, Miasma PyPI wave, StegaBin
- Aikido: tensorlake compromise
- GitLab: Shai-Hulud copycat targets Python developers
- StepSecurity: Nx compromise, tj-actions/changed-files
- Snyk: Weaponizing AI coding agents in Nx
- GitHub Advisory: GHSA-mrrh-fwg8-r2c3
- DugganUSA: GhostAction returns