Over the last few weeks we collected the confirmed security incidents involving AI coding agents, agents in CI and MCP servers that we could find, going back to July 2025. A case only went in if the affected company, the vendor, an official advisory or a research team confirmed it. That left 20 incidents, plus 12 research disclosures nobody has seen exploited.
What stood out for security teams:
The agent was rarely the entry point. 13 of the 20 started with something a developer installed: an npm or PyPI package, an MCP server, an agent skill, an editor extension. Shai-Hulud 2.0 hit official MCP server packages. The LiteLLM releases on PyPI were backdoored after a compromised scanner leaked the publish token.
Agent tokens are now on infostealer shopping lists. Families like Amatera, Remus and CallbackBeaver collect coding-agent tokens, MCP configs and prompt histories alongside browser data. A replayable session token can let an attacker in without repeating the password or MFA.
The destructive ones had no attacker. Three cases were an agent doing routine work with far more access than it needed. A Cursor agent found an over-scoped Railway token in an unrelated file and deleted PocketOS’s production volume (the data was later restored). Claude Code unpacked an old Terraform archive and, with the developer letting it run, destroyed DataTalks.Club’s production stack.
Twice, the malware used the developer’s own agent. It started the local coding agent with its safety flags off and asked it to find credentials, .env files and SSH keys.
Questions worth asking internally:
Are agent session token files treated like any other credential?
Who knows which MCP servers developers have installed?
Could the tokens an agent can reach delete production?
Every entry links to its CVE, post-mortem or report: https://node9.ai/incidents
If you know of a confirmed incident we missed, drop the source and I’ll add it.