Shai-Hulud-style NPM worm hits CI pipelines and AI coding tools
- Published
- Record updated
Summary
Socket researchers uncovered an active npm supply chain campaign they named SANDWORM_MODE, a Shai-Hulud-style worm that spreads through at least 19 typosquatted packages impersonating developer utilities and AI tools, including three that impersonate Claude Code and one that targets OpenClaw. The malware harvests npm and GitHub tokens, environment secrets and cloud keys, then uses them to push malicious changes into other repositories. It also deploys a malicious MCP server into AI assistant configurations, where prompt injection can trick the assistant into sending local SSH keys or cloud credentials to the attacker.
Mitigation
The source states that npm has hardened the registry against Shai-Hulud-class worms, with short-lived, scoped tokens, mandatory two-factor authentication for publishing, and identity-bound "trusted publishing" from CI. It says these controls are designed to contain the blast radius from stolen secrets, but their effectiveness depends on how quickly maintainers adopt them.
Topics
Related items
- InfoPrompting AI to be ‘thorough’ can drive sandbox escapes, Anthropic saysSame vendor · CSO Online
- InfoDespite doom and gloom headlines, AI attacks are thin on the groundSame vendor · CSO Online
- InfoDrupal Flaw Found by Anthropic Scanner Exploited in AttacksSame vendor · SecurityWeek
- InfoCrowdStrike Accelerates the Shift to the Agentic SOCSame vendor · CrowdStrike Blog
- InfoThree LLM inflection points in twelve monthsSame vendor · Simon Willison's Weblog