{
 "id": "AIT-1355",
 "slug": "2025-malicious-nx-npm-packages-reportedly-weaponize-ai-coding-agents-for-data",
 "standard": "index",
 "title": "Malicious Nx npm releases stole developer secrets and reportedly turned local AI coding tools into file scanners",
 "summary": "Malicious versions of the Nx build system's npm packages were published over about two hours late on August 26, 2025, and npm removed them after being alerted. The malware stole secrets such as GitHub and npm tokens, SSH keys and crypto wallet details, security firm Wiz said. StepSecurity said it abused locally installed AI command-line tools, including Claude, Gemini and Q, to scan file systems for sensitive files. Stolen data was posted to public GitHub repositories under victims' accounts, and Wiz counted over 1,000 valid GitHub tokens leaked.",
 "aiid": 1210,
 "entities": {
  "deployers": [
   "malicious-actors-compromising-nx's-cicd-pipeline-and-publishing-tainted-npm-packages"
  ],
  "developers": [
   "anthropic",
   "google",
   "amazon"
  ]
 },
 "date": "2025-08-26",
 "room": "ai-agents",
 "severity": "high",
 "status": "news",
 "published": "2026-11-19",
 "sources": [
  {
   "id": "a1210r6218",
   "title": "Weaponizing AI Coding Agents for Malware in the Nx Malicious Package Security Incident",
   "publisher": "snyk.io",
   "date": "2025-08-27",
   "url": "https://snyk.io/blog/weaponizing-ai-coding-agents-for-malware-in-the-nx-malicious-package/",
   "archive": "https://web.archive.org/web/20261031021334/https://snyk.io/blog/weaponizing-ai-coding-agents-for-malware-in-the-nx-malicious-package/",
   "kind": "news"
  },
  {
   "id": "a1210r6222",
   "title": "Artificial intelligence ushers in a golden age of hacking, experts say",
   "publisher": "The Washington Post",
   "date": "2025-09-20",
   "url": "https://www.washingtonpost.com/technology/2025/09/20/ai-hacking-cybersecurity-cyberthreats/",
   "archive": "https://web.archive.org/web/20250920230702/https://www.washingtonpost.com/technology/2025/09/20/ai-hacking-cybersecurity-cyberthreats/",
   "kind": "news",
   "domain": "washingtonpost.com"
  },
  {
   "id": "s-the-register-20250827",
   "title": "Nx NPM packages poisoned in AI-assisted supply chain attack",
   "publisher": "The Register",
   "date": "2025-08-27",
   "url": "https://www.theregister.com/2025/08/27/nx_npm_supply_chain_attack/",
   "kind": "news",
   "archive": "https://web.archive.org/web/20260410133546/https://www.theregister.com/2025/08/27/nx_npm_supply_chain_attack/"
  },
  {
   "id": "a1210",
   "title": "AIID incident #1210",
   "publisher": "AI Incident Database",
   "date": "2025-08-21",
   "url": "https://incidentdatabase.ai/cite/1210",
   "kind": "index"
  }
 ],
 "history": [
  {
   "date": "2026-11-19",
   "event": "Imported from the AI Incident Database (incident 1210) with the reports it lists.",
   "source": "a1210"
  },
  {
   "date": "2026-11-19",
   "event": "Checked against The Register and summarized in our own words. The date was corrected to August 26, 2025, when the maintainers' timeline says the malicious packages were published.",
   "source": "s-the-register-20250827"
  }
 ],
 "_released": true,
 "_releaseDate": "2026-11-20",
 "level": "checked",
 "checked": "2026-11-19",
 "url": "https://aiincidenttracker.com/incidents/2025-malicious-nx-npm-packages-reportedly-weaponize-ai-coding-agents-for-data",
 "permalink": "https://aiincidenttracker.com/AIT-1355",
 "roomName": "AI agents"
}
