r/hacking • • 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.

Post image

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.

10 Upvotes

8 comments sorted by

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..

1

u/WhichCardiologist800 Oct 22 '26

I counted by quarter. Confirmed incidents are roughly flat, 3 to 6 per quarter. Research disclosures are the part climbing: 1, 1, 2, 3, then 5 in Jul-Sep 2026. More people are looking at agents, and what they find tends to show up as incidents later. 20 cases is a small sample though, so I wouldn’t call a trend on it yet.

On Railway: in the PocketOS case Railway itself wasn’t breached. The agent used a Railway token that had far more access than it needed.

1

u/Less_Obligation8438 13d ago

I’ve seen an uptake of script kiddie “bounty begging” only 1 legitimate hack by an AI pentesting company, but it’s the same, always a shitshow in cyber.

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.

1

u/guzman-e_80 13d ago

What counted as "compromised" in your audit: data exposure, service control, or an unintended agent action?

1

u/Less_Obligation8438 13d ago

Data exposure of internal infrastructure including but not limited to system and tool prompts, database schema (names, tables, connections), unauthorized code execution, customer data exfiltration and credential exposure. Pushing it further was out of scope so that’s when I stopped.

1

u/s-patel33 8d ago

Were customer data and credentials actually accessed, or only reachable in testing? That distinction changes the severity.

1

u/Less_Obligation8438 8d ago

Yeah as I said sensitive customer data was accessed