Autonomous AI agents were given one instruction: “obtain shell access.” Nobody told them which vulnerability to use or what to try next. Over about two days, they probed university servers, built their own lists of usernames, ran for hours without a break and, on one target, found a previously unknown flaw and used it to take full control of a server.
Amazon Threat Intelligence says this is what an AI-run hacking campaign already looks like, and it believes a Chinese-nexus threat actor was behind it.
CJ Moses, CISO of Amazon Integrated Security, shared the findings on the AWS blog.
How Amazon Found the Autonomous AI Agents
On September 10, 2026, Amazon found a server running a public instance of Cairn, an open-source AI penetration-testing framework, with no authentication. Because the operator left it open, anyone on the internet could see its full history, including project settings, the actor’s prompts and the AI’s output.
The prompts were written in Simplified Chinese, and timestamps in the scripts were set to China Standard Time. The records showed a campaign against IP addresses linked to universities in East Asia outside mainland China, over about 48 hours starting September 8.
What Is Cairn?
Cairn was built as a research and problem-solving tool for defenders. A user gives it a starting point and a goal in plain language, and it coordinates multiple AI agents to find a way to reach that goal.
Amazon says that same simplicity makes it attractive to attackers. In this campaign, the actor supplied a list of target IP addresses and variations of the “obtain shell access” goal. The agents then planned, acted, and adjusted as they learned, without the operator choosing each step.
The Attacks That Failed
Not every operation worked, but the failures show how persistent the agents were.
Against a university Redis database that allowed access without a password, the agents spent about 16 hours on 148 actions in a row. They worked through a long list of known techniques, including trying to load unauthorised code, escape a scripting sandbox, and corrupt memory. When those failed, they mapped the internal network through a flaw in another service and tried logging in to several systems. Nothing worked.
In a separate six-hour operation against a university GPU server, the agents built a list of about 80 real usernames from faculty directories, lab websites, archived pages and academic papers. They then tried more than 30,000 password combinations across the server and other university systems, including a VPN and the campus portal. None succeeded.
Amazon notes that, together, these attempts show the agents kept adapting for almost a full day with no human direction.
How the AI Agents Found a Zero-Day
The result was different against a server running an open-source medical imaging AI application.
The agents identified the app’s framework, mapped its API, and found a file upload feature that accepted a filename. They tested it for path traversal, a flaw that lets an attacker write files outside the intended folder, and it worked. In about 11 minutes, they went from mapping the API to writing files anywhere on the server.
In a later session, they used the same flaw to plant a hidden Python payload in a file that Python loads automatically at startup. They then triggered a feature that launched a new Python process, which ran the payload and opened a reverse shell with root access, giving them full control.
The flaw had no security advisory and no patch. Amazon assesses with high confidence that it was a zero-day, since it found no fix, issue, advisory, or earlier mention of it anywhere.
Where the Human Stepped In
The actor took over at one point. After the agents found the zero-day, the actor gave them a proxy tunnelling into a second university network. The server on the other end ran the same vulnerable software, and Amazon infers the actor had used the zero-day to break into it. The agents were then told to target other machines on that network.
Amazon assesses with moderate confidence that the actor is Chinese-nexus. It bases this on the Simplified Chinese prompts, the China Standard Time timestamps and the choice of universities likely of strategic interest to China.
It is also not the only group using Cairn. Gambit Security has separately documented a financially motivated actor using it against online retailers, which suggests the tool is being picked up for both espionage and crime.
What Has Been Done
Amazon told the open-source project’s maintainers about the flaw, and they released a fix and a GitHub Security Advisory. The affected universities were not AWS customers, so AWS worked with a government partner to notify them. Amazon also published two IP addresses seen in the activity between September 8 and 10.
Why It Matters for Defenders
Amazon’s main warning is about speed. An agent that finds and exploits a zero-day in minutes can finish before many security teams have even looked at the alert. The agents that failed against the Redis server ran for 16 hours straight, with no breaks or working hours.
To keep up, Amazon recommends that organisations rely on high-confidence detections that trigger automated responses, with people overseeing the outcomes rather than reviewing every individual action.





































