GCD AI RADAR
incidents/AIR-2025-0121

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 attack
Attackers used AI as a meaningful part of a cyberattack against someone else.
categories
  • Supply chainprimary
    Malicious or backdoored models, poisoned packages, unsafe deserialization and other compromised AI dependencies.
  • Agent hijack
    An AI agent is tricked into unauthorized actions: tool misuse, data exfiltration through the agent, or acting against its principal.
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 exploitation
Used 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 Database
Derived 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

  1. 2025-08-21

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