AI Agents Discovered and Exploited a Zero-Day in 11 Minutes. Defenders Are Already Behind.
Amazon's threat intelligence team has documented something that should concentrate minds across the security industry: AI agents, running with minimal human direction, found and exploited a previously unknown vulnerability in under 11 minutes.
The agents were operating on Cairn, an open source autonomous penetration testing framework. The operators, apparently Chinese-speaking based on their prompt language and timezone configuration, handed the system a list of IP addresses and a single objective: get shell access. What followed was largely unsupervised.
After spending hours throwing standard attacks at various targets with nothing to show for it, the agents turned their attention to a server running an open source medical imaging AI application. They mapped the API, found an upload endpoint, probed a filename parameter for path traversal, and confirmed it was vulnerable. Eleven minutes from initial API reconnaissance to arbitrary file write on the server.
In a later session, the agents returned and escalated further. They wrote a Python reverse shell into sitecustomize.py, a file Python loads automatically on interpreter startup, then triggered a training endpoint to spawn a fresh Python process. That process imported the payload, phoned home, and handed the attackers a root shell.
The vulnerability had no CVE, no patch, and no prior mention in any public database. Amazon assessed it as a genuine zero-day with high confidence.
Built for defenders, adopted by everyone else
Cairn was designed as a tool for security teams. Its architecture is fairly sophisticated: a central server maintains a shared knowledge graph of facts and hints, a dispatcher schedules tasks and manages containers, and individual worker containers each run multiple agents in parallel. It is model-agnostic, with observed deployments using Claude Code, Codex, DeepSeek, and others.
The framework's default instructions already cover the basics of offensive security work: vulnerability exploitation, reverse shells, data exfiltration. Attackers have been layering their own authorisation pretexts on top, with system prompt preambles instructing agents to treat everything as a sanctioned security engagement and to never refuse a task. A clever bit of social engineering aimed at the AI rather than a human.
Earlier this month, Palo Alto Networks documented a broader campaign using Cairn against organisations in the semiconductor, defence, and civil society sectors. Twenty-five autonomous operations across at least 19 targets. Ten of those organisations were successfully compromised. The haul included over a million personal records from one organisation, military and government identities, persistent admin accounts created in live production systems, and a modified industry standards ballot document.
The timeline problem
What Amazon is highlighting here is not just that AI can hack things. It is that the speed fundamentally breaks the assumptions most security operations centres are built on.
Before this, an attacker discovering and exploiting a zero-day implied a human somewhere, taking time, making decisions, leaving gaps for detection. An agent that goes from API enumeration to root shell in eleven minutes completes its entire offensive operation before many SOC teams have finished triaging the initial alert, let alone escalated it.
The failed attempts are worth noting too. The agents spent sixteen hours grinding through attacks against a Redis server and failed completely. They spent six hours on credential stuffing against a university GPU server and also got nowhere. Cairn is not magic. But when it finds something exploitable, it moves fast.
Amazon's conclusion is blunt: agentic offensive operations are already happening in the wild, defenders need to adjust their response timelines accordingly, and the window between intrusion and damage is shrinking in ways that manual triage simply cannot keep up with.
That is not a future problem. It is a current one.