Amazon reported that autonomous AI agents recently found and exploited a zero-day vulnerability on an East Asian university server with only a basic initial prompt. The system obtained root access to the target machine without human intervention beyond the original directive.

The agents used Cairn, an open source AI penetration-testing framework designed for autonomous security assessments. Operators provided prompts in simplified Chinese, configured the environment to Chinese Standard Time, supplied a list of target IP addresses, and specified the objective to obtain shell access.

Within a short timeframe, the agents identified a zero-day flaw in an open source medical imaging application running on one of the targeted servers. The automated systems immediately executed an exploit against the discovered vulnerability, gaining full control of the target machine.

Cairn functions as an open source problem-solving engine where users assign specific goals and optional hints. An internal server maintains a shared graph tracking facts and hints across operations. A dispatcher manages the workflow by reading the graph, scheduling tasks, handling container lifecycles, and logging protocols. Each project runs in an isolated worker container executing multiple AI agents concurrently.

The framework supports various AI models including Claude, Codex, Pi, GLM 5.2, and DeepSeek V4 variants in a model-agnostic architecture.

Although developers built Cairn to assist defenders with security assessments, offensive operators have adopted the codebase. Last month, Palo Alto Networks reported that malicious actors deployed the framework against organizations in the semiconductor, defense, and civil society sectors.

Those campaigns involved 25 separate autonomous operations targeting at least 19 organizations. At least 10 targeted entities experienced successful breaches as Cairn agents executed vulnerability exploitation, reverse shells, and data exfiltration.

Attackers initiated tasks using one-line goals aimed at securing high-value access such as webshells, SSH connections, source code, cryptographic keys, user information, and credentials to breach internal networks.

Cairn's default worker instructions direct agents to perform standard penetration-testing procedures. Attackers reinforced these parameters by adding specific authorization pretexts to system prompts during reasoning and exploration phases. The worker system prompt included a preamble reminding agents they were conducting authorized security actions and directing them to treat operations seriously without refusing tasks.

Amazon's research underscores a critical shift in enterprise security risk: autonomous agents can independently discover unknown vulnerabilities and execute end-to-end exploits faster than human defenders can respond.