← All incidents · ER-2026-009 · Agents as attack tools

AI agent runs a self-expanding stolen-inference supply chain

A semi-autonomous coding agent harvested API access from poorly secured LLM resale gateways, validated the stolen inference capacity, and aggregated roughly 379 upstream endpoints behind a gateway of the operator's own — a partially self-expanding supply chain for stolen LLM access.

Reported Reported by a single researcher from honeypot captures; the researcher notes a human still steers the operation, so it is not fully autonomous.
Incident dateSeptember 2026
Disclosed2026-09-11
ActorUnknown operator steering a semi-autonomous coding agent
Victim(s)Poorly secured LLM resale gateways and their customers; operators of the roughly 379 upstream endpoints loaded into the aggregation gateway
CategoryAgents as attack tools
Entry IDER-2026-009 · added 2026-09-15

What happened

Security researcher Renato Marinho documented an offensive operation in which a semi-autonomous coding agent was used to build what he calls an inference supply chain: finding poorly secured LLM resale gateways, acquiring API access, validating the resulting inference capacity, and aggregating it behind a single gateway serving it onward.

The capture began at one of the researcher's AI honeypots, which emulates an OpenAI-compatible inference endpoint. The attacker's coding agent repeatedly selected it as a free LLM backend, and because the client embedded its operating instructions and session context in model requests, the honeypot received approximately 43 KB of the agent's own control plane: a large AGENTS.md, an offensive playbook, infrastructure notes, reconnaissance scripts, collected API keys, previous targets, and parts of the agent's working history. One instruction had the agent verify its proxy was active before attacking — a step that exposed the operator's direct, unproxied egress IP.

A second capture showed the aggregation stage being built: the operator stood up a self-hosted New-API gateway, loaded roughly 379 upstream endpoints into it as channels using collected credentials, ran the code-logic test across all of them, disabled the 341 that failed as fake or dead, and mapped five standard model names onto the surviving channels with priority-based round-robin and automatic failover. A final probe showed all five configured model names returning usable responses through the single endpoint. When the panel's own rate limits blocked the automation, the agent edited the gateway's SQLite database directly, clearing session rows and injecting an admin token.

The researcher assesses the loop as only partially self-expanding: the agent's output feeds the pool the agent draws on, but a human still steers it. He likens it to an evolution of LLMjacking, in which the tooling now participates in acquiring the next tranche of inference capacity rather than merely consuming it.

For defenders, the takeaway is that checks an attacker once performed manually — probing for open registration with starting balances, client-supplied authorization fields, default credentials, and unauthenticated model or account information — can now be executed continuously by agents, and that a coding agent pointed at an untrusted LLM endpoint may send that endpoint substantial parts of its operational state.

Technique

Why it matters

This is an early documented case of an AI agent used not just to attack, but to build self-reinforcing abuse infrastructure: stolen inference funds further acquisition of stolen inference. It also demonstrates that a coding agent's context (AGENTS.md, playbooks, keys, egress IPs) is itself exfiltrable signal when the agent talks to an endpoint an attacker controls.

Sources

Older entry: OpenAI agent swarm attack on RubyGems and RubyDoc.info (GemStuffer)