Antidote
Notice

incidentAGT-INC-2026-0004

Malicious Nx npm versions weaponized local AI CLIs (Claude Code, Gemini CLI, Amazon Q) to hunt credentials (s1ngularity)

A behavioral incident: no malicious file, but an agent did something it should not have.

What happened

Agent
Claude Code, Gemini CLI, Amazon Q CLI (abused locally)
Date
2025-08-26
Trigger
malicious tool
Impact
data leak
Root cause
Malicious Nx and plugin versions, live a little over five hours, ran a postinstall script that invoked installed AI CLIs with unsafe flags to find SSH keys, npm/GitHub tokens and wallets, then published them Base64-encoded to a public GitHub repo named s1ngularity-repository. Sources disagree on initial access (pull_request_target workflow flaw vs token leak vs phishing).

What would have stopped it

Sources

Wrong or outdated? Open an issue or PR against corpus/entries/AGT-INC-2026-0004.json.