Published on November 30, 2026

Hackers Hijack Exposed AI Coding Agents, Then Collect 77 Credentials From Compromised Systems


Severity

Medium

Detail

Infrawatch reports that attackers are hijacking AI coding agents left open on the internet. In one case, an actor used a mass-exploitation tool to abuse each agent’s own control interface and redirect it to a fake large language model (LLM) server. From then on, everything the agent read, wrote or ran passed through the attacker. The actor stole 77 credentials from the affected machines, then deleted the fake provider to cover its tracks. Dozens of hosts were reachable this way.

Infrawatch recorded at least 24 attacks targeting other operators’ AI infrastructure. In one, a malicious tool planted on a fintech’s Model Context Protocol (MCP) endpoint was found, approved and run automatically by the company’s own agent. In another, an implant read an AI gateway’s master key, exposing every provider key behind it.

The research covers 128 AI-assisted intrusions and 8,105 hosts running Autonomous Offensive Frameworks (AOFs). AOF servers grew from 3.2K to 8.1K between 6 and 24 November, and framework detections rose 176%. ARTEX is the most used framework, running on 5,083 servers and making up 51.4% of detections, followed by CyberStrikeAI, AntiFox and PentAGI.

How?

The frameworks run a fixed chain of stages without pausing, using common tools such as subfinder, naabu, httpx, katana, ffuf, nuclei and sqlmap. Where operators could be identified, AI agents ran over 70% of intrusions. Eleven actors simply told the agent it had permission to test the target, and the agents believed them.

A typical intrusion lasts four days, and success is roughly even (22 succeeded, 23 failed). Hallucinations hurt reliability: one team of eight agents reported findings that the target’s own responses showed to be false.

The successful attacks used no new techniques. They exploited a passwordless database, an API with no login and three SQL injection flaws. Victims included a cryptocurrency exchange, where an agent created a super-administrator account and pulled 21.7K user records. Finance saw 10 successful attacks and retail and e-commerce saw seven.

The actors did little to hide. In 45% of intrusions, traffic came directly from the AOF’s own server, and only 20% used a proxy or VPN. Ten networks host half of all AOF servers, and almost none use a traditional command-and-control framework, because the agent fills that role. In 19 intrusions, actors hid their route to the AI provider through LLM relays, which Infrawatch believes is a cost-saving measure, since a banned AI subscription is harder to replace than a blocked server.

Conclusion

These attacks rely on old weaknesses, with AOFs adding speed and scale. Infrawatch notes that AOF infrastructure remains observable and blockable. Blocking it at the network edge will not stop an attack, but it forces attackers to find new infrastructure. Organisations should stop exposing AI coding-agent control interfaces and MCP endpoints, require authentication on every API, rotate AI provider keys stored on reachable hosts, and limit which tools agents can approve without human review.

Source

https://gbhackers.com/ai-coding-agents/