Malicious Nx npm Packages Weaponize AI Coding Agents for Exfiltration
Claude Code, Gemini, Amazon Q, Nx
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.
- first report
- 21 Aug 2025
- last update
- 21 Aug 2025
Timeline · 1
Sources · 1
Research and catalogues
- 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 gcdRadar in its own words; data is CC BY-SA 4.0.
Classification
- AI role
- AI-enabled attack
- categories
- Supply chainAgent hijack
- severity
- 3 · Confirmed exploitation
- targets
- Anthropic, Google, Amazon, Framework / tooling
- owasp llm top 10
- LLM06:2025 Excessive Agency
- mitre atlas
- AML.T0053 AI Agent Tool Invocation
- dates
- happened 21 Aug 2025 · first reported 21 Aug 2025
- origin
- AI Incident DatabaseDerived from the AI Incident Database (CC BY-SA 4.0).
- record
- confidence 0.90 · created 2026-10-18 06:33Z · updated 2026-10-18 06:59Z
Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned
Copy a brief
This record as a short Markdown brief, for a ticket, a chat or a coding agent.
the brief as text
# Malicious Nx npm Packages Weaponize AI Coding Agents for Exfiltration https://gcdradar.vercel.app/incidents/malicious-nx-npm-packages-weaponize-ai-coding-agents-for-exf · AIR-2025-0121 · closed 2025-09-04 - Lane: Breaches & attacks - Severity: 3 (Confirmed exploitation) - Fix status: No fix needed - First reported: 2025-08-21 - AI role: AI-enabled attack - Products: Claude Code, Gemini, Amazon Q, Nx ## Summary 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. ## What to do No action recorded; read the sources below and the vendor's advisory. ## Latest updates - 2025-08-21: Malicious Nx npm Packages Reportedly Weaponize AI Coding Agents for Data Exfiltration (https://incidentdatabase.ai/cite/1210) ## Sources - 2025-08-21 AI Incident Database: Malicious Nx npm Packages Reportedly Weaponize AI Coding Agents for Data Exfiltration https://incidentdatabase.ai/cite/1210 Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.
Related
- closedAmazon Q Developer Malicious Commit Deploys Destructive AI Agent in Amazon Q Extension
Supply chain · Exploited · since 13 Jul 2025
AI - closed8.7Claude Code + SDKs CVE-2025-54795: Claude Code Command Prompt Execution Bypass
Patch now · Disclosed · since 4 Aug 2025 · updated 5 Aug 2025 · CVE-2025-54795
AI - closed7.7Claude Code + SDKs CVE-2025-54794: Claude Code Path Restriction Bypass Vulnerability
Patch now · Disclosed · since 4 Aug 2025 · updated 5 Aug 2025 · CVE-2025-54794
AI - closedClaude Fake Web3 Accelerator Uses Malicious npm Packages to Distribute Malware
Breaches & attacks · Exploited · since 19 Oct 2026
AI - closed8.8Claude Code + SDKs CVE-2025-52882: Claude Code improper authorization via websocket connections
Patch now · Disclosed · since 23 Jun 2025 · updated 24 Jun 2025 · CVE-2025-52882
AI - closedClaude Code + SDKs Security Impact of Coding Agent's Memory Files
Research · since 30 Oct 2026
AI