Amazon Report: Hackers Used Open-Source Framework Cairn to Drive AI Agents That Autonomously Found and Exploited a 0-Day in About 11 Minutes
Armed with nothing more than a single "get shell access" instruction, the AI agent completed the full attack chain from API mapping to root-level control

Table of Contents (3)
Key Takeaways (TL;DR)
- 01Amazon says AI agents on the Cairn framework autonomously discovered and exploited a 0-day, going from mapping the API to arbitrary file write in about 11 minutes
- 02The attacker issued instructions in Simplified Chinese and configured the China Standard Time zone; the target was a server at a university in East Asia
- 03Palo Alto Networks has also observed Cairn being used in autonomous attacks against organizations in the semiconductor, defense, and civil society sectors
An Amazon threat intelligence report discloses that hackers running AI agents on the open-source AI penetration-testing framework Cairn used a single "get shell access" instruction to autonomously discover and exploit a path traversal 0-day in an open-source medical imaging AI application in roughly 11 minutes, writing a reverse shell and taking root-level control of the target server.
From a Single Instruction to Root: The AI Agent's Full Attack Timeline
In a threat intelligence report, Amazon disclosed that hackers recently used AI agents to discover and exploit a 0-day vulnerability with almost no human intervention beyond a single instruction to obtain root access. The agents ran on Cairn, an open-source AI penetration-testing framework. The attacker supplied prompts in Simplified Chinese and configured the model for the China Standard Time zone, handing the agent a list of IP addresses with just one objective: "get shell access."
The agent then found an unpatched path traversal 0-day in an open-source medical imaging AI application running on one of the target servers. It immediately exploited the flaw to gain full control of the system: roughly 11 minutes elapsed from mapping the API to achieving arbitrary file write, after which it wrote a Python reverse shell payload and gained control with root privileges. Amazon said the findings show that agentic attack operations are already happening and that defenders should prepare for the speed and persistence these tools bring.
"These findings show that agentic attack operations are already happening, and defenders should prepare for the speed and persistence these tools bring." — Amazon
- The target was a server at a university in East Asia; prompts were in Simplified Chinese and the model's time zone was set to China Standard Time
- About 11 minutes passed from mapping the API to arbitrary file write, after which a Python reverse shell payload was written and root-level control was obtained
Cairn's Architecture: Scheduler, Shared Graph, and Parallel Multi-Agent Execution
Cairn is an open-source AI problem-solving engine whose first validated domain is autonomous penetration testing. Users give it a task or objective and can optionally supply implementation hints. The server maintains a shared graph of facts and hints; a scheduler reads that graph, arranges tasks, manages containers, and writes protocols, after which each project can be assigned to a dedicated worker container, each running multiple agents concurrently.
Cairn is model-agnostic and can be used with backends such as Claude Code, Codex, and Pi. Researchers at security firm Palo Alto Networks have also observed Cairn used with GLM 5.2, DeepSeek V4 Flash, and DeepSeek V4 Pro. This design lets it serve defenders while also lowering the barrier for attackers to organize autonomous operations.
Built for Defenders, Used by Attackers
Cairn was originally built as a framework for defenders, but it is equally benefiting offensive hackers. Earlier this month, Palo Alto Networks said hackers used the framework to attack organizations in the semiconductor, defense, and civil society sectors. That campaign carried out 25 autonomous operations against at least 19 organizations, with at least 10 successfully compromised.
This case corroborates Amazon's report: within a short span, the same open-source tool was used both for authorized penetration testing and for real intrusions. The framework's neutrality means the pace of capability diffusion depends on the open-source community's release cadence rather than on any single vendor's control.
Within weeks, the same open-source framework appeared both in defenders' toolchains and in autonomous attack operations against at least 19 organizations.
- The campaign documented by Palo Alto Networks targeted at least 19 organizations, carried out 25 autonomous operations, and successfully compromised at least 10
- Targeted sectors included semiconductors, defense, and civil society
Capability Diffusion Through Model Agnosticism
Cairn's model-agnostic design means its capabilities are not tied to any single frontier model vendor. Researchers observed it used with backends including Claude Code, Codex, and Pi, as well as models such as GLM 5.2, DeepSeek V4 Flash, and DeepSeek V4 Pro. For defenders, this means the attack surface does not narrow with updates to any one model.
For organizations in Asia-Pacific, the cross-border availability of open-source frameworks further lowers the barrier to attack tooling. Security teams need to assess not only the safety alignment of the models themselves but also whether the scheduling, container, and protocol layers built around them can be used in automated attack chains.
A Narrowing Defensive Window: Response Pressure Shifts From Days to Minutes
The most striking figure in Amazon's report is roughly 11 minutes: from mapping the API to arbitrary file write, then to writing a reverse shell and gaining root, the entire chain was completed on a timescale too fast for humans to intervene. Traditionally, discovering and weaponizing a 0-day is measured in days or weeks, but the persistence of agentic tools has sharply compressed that window.
The report also notes that the attacker needed only to provide a target list and a single objective instruction, after which the agent autonomously completed reconnaissance, vulnerability discovery, and exploitation. For defenders, the priorities of patch management, exposure reduction, and runtime detection need reordering—especially for systems running open-source AI applications with externally exposed APIs.
Roughly 11 minutes elapsed from mapping the API to arbitrary file write, after which the system was controlled with root privileges.
- The full attack chain was completed in about 11 minutes, leaving very little room for human intervention
- Open-source AI applications with exposed APIs have become a high-priority risk surface
Implications for AI Deployments in Asia-Pacific
Many organizations across Asia-Pacific are deploying open-source medical imaging, vision, and language model applications, and these systems are often containerized and expose APIs externally. The target in Amazon's case was an open-source medical imaging AI application, suggesting that conventional vulnerabilities such as path traversal in such vertical applications may be chained and exploited faster under agentic attacks.
Industry observers argue that defenders should incorporate AI agents into their threat models, use agentic tools in their own internal penetration testing to shorten discovery cycles, and implement more granular monitoring of file-write and privilege-escalation paths on critical systems.
Impact
Industry Impact & Strategic Takeaways
The incident shows that agentic attacks have moved from proof of concept to real intrusions, with attack-chain times compressed to minutes. For the global and Asia-Pacific AI industry, the model agnosticism of open-source penetration-testing frameworks accelerates capability diffusion; defenders need to incorporate AI agents into their threat models, prioritize reducing externally exposed APIs and file-write paths, and shorten response windows with equally fast automated detection.
Frequently Asked Questions
What is Cairn, and what role did it play in this incident?
+
Cairn is an open-source AI problem-solving engine whose first validated domain is autonomous penetration testing. Hackers ran AI agents on it and gave only a "get shell access" instruction; the agent then autonomously discovered and exploited a 0-day on the target server.
How long did the attack take, and what was the target?
+
According to Amazon's report, about 11 minutes elapsed from mapping the API to arbitrary file write, after which a Python reverse shell payload was written and the system was controlled with root privileges. The target was a server at a university in East Asia running an open-source medical imaging AI application.
What related activity did Palo Alto Networks observe?
+
Palo Alto Networks said hackers used Cairn to attack organizations in the semiconductor, defense, and civil society sectors, carrying out 25 autonomous operations across at least 19 organizations, with at least 10 successfully compromised.
Primary Source & Attribution
Ars Technica:AI(RSS)
Amazon says hackers' AI agents found and exploited 0-day with little human input
Related Deep Dives

Together AI Discloses Prompt Leak: AI Coding Agent Exposed Credentials, Affecting Requests to MiniMax M3 and Other Models
74 pts · 5 min read

Wiz Research Discloses Real-World Cloud Intrusions Driven by ARTEX Agentic Attack Framework
63 pts · 4 min read

OpenAI and Cisco Launch Open-Source Linux Runtime Shirudo, Enabling AI Agents to Defend Systems Without Downtime
63 pts · 5 min read

ChinaTalk Analysis: New US Compute Leasing Rules Could Delay China's Frontier Compute by About Six Months
78 pts · 6 min read