gcdRadar
closedclosed 4 Sep 2025Breaches & attacks3 Confirmed exploitationAI

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

  1. 21 Aug 2025Malicious Nx npm Packages Reportedly Weaponize AI Coding Agents for Data Exfiltration

Sources · 1

Research and catalogues

  1. 2025-08-21

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
dates
happened 21 Aug 2025 · first reported 21 Aug 2025
origin
AI Incident Database
Derived 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

  1. closed
    AI
  2. closed8.7
    Claude 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
  3. closed7.7
    Claude 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
  4. closed
    Claude Fake Web3 Accelerator Uses Malicious npm Packages to Distribute Malware

    Breaches & attacks · Exploited · since 19 Oct 2026

    AI
  5. closed8.8
    Claude 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
  6. closed
    AI