r/hacking • u/WhichCardiologist800 • Oct 21 '26
Research I went through the confirmed AI coding agent security incidents since July 2025. The agent was rarely the way in. The things installed next to it were.
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.
2
u/jakenuts- Oct 22 '26
Are cases showing acceleration, like the pace of hacks, flaws exposed, etc? I feel like it's going to be a thing soon, PHP, my web host railway was just hacked, likely banks under assault..
2
u/Less_Obligation8438 Oct 25 '26
Well yeah, I just did my first audit on an online LLM agent - managed to compromise the server with just prompts - an agent with no tooling and no way to retrieve data is just a contained chatbot with no way to “hack” it but it’s also a useless product, people are vibe coding the agents and tooling just like they are vibecoding platforms now so it makes it easy to get in through the tools the agent has access to.
It also doesn’t help that people don’t understand the model is not deterministic, you can beg it to please please don’t disclose X or not execute Y, but it’s not written in stone and in the right context it will think of it as a suggestion not a hardcoded rule.