How We Stopped Shai Hulud V4: Hunting a Self-Replicating Npm Worm With AI...
summary
Finds a four‑variant Shai Hulud campaign that infects developer machines and CI, with 19 malicious packages and a weaponized GitHub Action that creates a self‑reinforcing CI->NPM loop. Version four writes hostile MCP server injection configs into Claude, Claude Code, Cursor and Windsurf clients to prompt‑inject and exfiltrate keys from nine LLM providers. Payloads use staged loaders, immediate CI execution but a 48‑hour delay on dev hosts, multiple exfiltration fallbacks, and coordinated takedown dismantles the infrastructure.
AI-written summary · about
chapters (12)
- 0:00Introduction and about the speaker
- 1:04Discovery of malicious NPM package
- 2:49Shai-Hulud campaign overview
- 7:24Detection of the support color package
- 12:26Execution and payload behavior
- 17:24Propagation mechanisms
- 23:05AI tools and MCP injection
- 27:44Exfiltration and containment challenges
- 30:11Self-sustaining worm loop
- 31:58Response and remediation strategy
- 33:43Defensive playbook and hardening
- 35:53Summary and Q&A
