MediumNews
SAP npm package attack highlights risks in developer tools and CI/CD pipelines
- Published
- Record updated
Summary
A supply chain attack dubbed "mini Shai-Hulud" compromised SAP-related npm packages, including mbt@1.2.48, @cap-js/db-service@2.10.1, @cap-js/postgres@2.2.2 and @cap-js/sqlite@2.2.2, published on April 29. The malicious versions ran code at installation time to steal developer, GitHub, npm and cloud credentials, then used stolen tokens to add malicious GitHub Actions workflows and publish poisoned package versions. The attackers also persisted through .vscode/tasks.json and .claude/settings.json, so malware could run when an infected repository was opened in Visual Studio Code or a Claude Code session started.
Mitigation
The suspicious versions were later replaced by safe releases. The source does not discuss further mitigation.
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