Record/21 Aug 2025
Malicious Nx npm Packages Reportedly Weaponize AI Coding Agents for Data Exfiltration
Source: AI Incident Database · CC BY-SA 4.0
Malicious versions of the popular Nx monorepo tool and plugins were reportedly published to npm after attackers compromised its CI workflow. The malware's postinstall script reportedly harvested credentials and exfiltrated data, reportedly weaponizing local AI coding agents such as Claude Code, Gemini, and Amazon q. By invoking unsafe flags, it allegedly coerced the tools into scanning developer machines for sensitive files, marking one of the first known AI-assisted supply chain attacks.
Alleged deployer: Malicious Actors Compromising Nx's Cicd Pipeline And Publishing Tainted Npm Packages
Alleged developer: Anthropic, Google, Amazon
Source: AI Incident Database, incident 1210, licensed CC BY-SA 4.0.
AI Incident Database, "Malicious Nx npm Packages Reportedly Weaponize AI Coding Agents for Data Exfiltration", https://incidentdatabase.ai/cite/1210, via Toswo incident record https://www.toswo.com/events/aiid-1210, retrieved 2026-11-25.