AI Incident Database: Malicious Nx npm Packages Reportedly Weaponize AI Coding Agents for Data Exfiltration
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 …
AI Incident Database · Incident 1210Operator lens (medium): inspect D1 (input boundary), D6 (autonomy oversight), D7 (tool permissions).
Event summary
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 …
Linked entities
- Anthropic
vendor | 70%
- Google
vendor | 70%
- Amazon
vendor | 70%
- malicious-actors-compromising-nx's-cicd-pipeline-and-publishing-tainted-npm-packages
organisation | 70%
- nx-users-and-organizations-installing-compromised-npm-packages
organisation | 70%
Related graph edges
| Edge | Type | Confidence |
|---|---|---|
| ent-vendor-google to ent-psf-d1 | maps to | 60% |
| ent-vendor-google to ent-psf-d1 | maps to | 60% |
| ent-vendor-google to ent-psf-d1 | maps to | 60% |
| ent-vendor-google to ent-psf-d2 | maps to | 60% |
| ent-vendor-google to ent-psf-d2 | maps to | 60% |
| ent-vendor-google to ent-psf-d2 | maps to | 60% |
| ent-vendor-google to ent-psf-d4 | maps to | 60% |
| ent-vendor-google to ent-psf-d4 | maps to | 60% |
| ent-vendor-google to ent-psf-d4 | maps to | 60% |
| ent-vendor-google to ent-psf-d6 | maps to | 60% |
| ent-vendor-google to ent-psf-d6 | maps to | 60% |
| ent-vendor-google to ent-psf-d6 | maps to | 60% |