Malicious Nx npm Packages Weaponize AI Coding Agents for Exfiltration
AI-enabled attack3 Confirmed exploitationSupply chainAgent hijack
Malicious npm packages compromised a CI pipeline and weaponized local AI coding agents to scan developer machines for sensitive files. The attack resulted in credential harvesting and data exfiltration.
Details
- type
- AI-enabled attackAttackers used AI as a meaningful part of a cyberattack against someone else.
- categories
- Supply chainprimaryMalicious or backdoored models, poisoned packages, unsafe deserialization and other compromised AI dependencies.
- Agent hijackAn AI agent is tricked into unauthorized actions: tool misuse, data exfiltration through the agent, or acting against its principal.
- Supply chainprimary
- owasp llm top 10
- mitre atlas
- Both rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 3 · Confirmed exploitationUsed against real targets; limited or unclear impact.
- targets
- Anthropic, Google, Amazon, Framework / tooling
- products
- Claude Code, Gemini, Amazon Q, Nx
- incident date
- 21 Aug 2025
- first reported
- 21 Aug 2025
- origin
- AI Incident DatabaseDerived from the AI Incident Database (CC BY-SA 4.0).
- classifier confidence
- 0.90 · published at or above 0.80; see the methodology
- tags
- supply_chain · npm · agent_hijack · data_exfiltration
- record
- created 2026-10-18 06:33Z · updated 2026-10-18 06:59Z · json
Sources · 1
- 2025-08-21Malicious Nx npm Packages Reportedly Weaponize AI Coding Agents for Data ExfiltrationAI Incident Database · incidentdatabase.ai/cite/1210
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2026-01-30Malicious Commit Deploys Destructive AI Agent in Amazon Q Extension3 Exploitedon AISupply chainAgent hijack6 src
- 2025-08-04CVE-2025-54795: Claude Code Command Prompt Execution Bypass2 Disclosedon AIInfra vulnAgent hijack2 src
- 2025-08-04CVE-2025-54794: Claude Code Path Restriction Bypass Vulnerability2 Disclosedon AIInfra vulnAgent hijack2 src
- 2026-10-19Fake Web3 Accelerator Uses Malicious npm Packages to Distribute Malware3 Exploitedby AISupply chainAI phishing1 src
- 2025-06-23CVE-2025-52882: Claude Code improper authorization via websocket connections2 Disclosedon AIInfra vulnAgent hijack2 src
- 2026-10-13CVE-2026-86063: Claude Code plugin installation flow hash pin bypass vulnerability2 Disclosedon AIInfra vulnSupply chain2 src