Skip to content

Blog & news

Threat researchCisent

Amazon: a China-linked group’s AI agents found a flaw nobody knew about, on their own

Amazon described how a China-linked group let AI agents attack universities on their own: almost everything failed, but in 11 minutes they found an unknown flaw and reached root.

On November 20, Amazon Threat Intelligence published its investigation of a campaign in which a China-linked espionage group let AI agents attack on their own. It gave them a simple goal, “obtain shell access”, and the agents, with almost no human involvement, found a flaw nobody knew about in an open-source application and took full control of a server.1

How it came to light

On September 10, Amazon found a server running Cairn, an open-source framework for penetration testing with autonomous AI agents, exposed to the internet without authentication. Because the operator left it open, anyone could see its history: each project’s configuration, the attacker’s prompts and the AI’s output. The prompts were written in Simplified Chinese and the scripts used China Standard Time.1

The campaign lasted about 48 hours from September 8 and targeted universities in East Asia, outside mainland China.1

What the agents did

  • An open Redis server, for 16 hours. At one university, Redis accepted connections without authentication. Over about 16 hours and 148 sequential actions, the agents worked through a long list of known techniques to take it over, tried Log4Shell against another service, mapped the internal network through a flaw in a different program and launched password campaigns against PostgreSQL, SSH and other services. Nothing worked.1
  • A GPU server, for more than 6 hours. They built a list of about 80 real usernames from what the university publishes (faculty directories, lab websites, archived pages and papers) and tried more than 30,000 username and password combinations against SSH, an admin dashboard, a network storage device, a VPN and the campus portal. They didn’t get in either.1
  • The unknown flaw, in 11 minutes. On a server running an open-source medical imaging AI application, the agents identified its framework, mapped its API and found a file upload endpoint whose filename could be manipulated to write outside its folder. In about 11 minutes they went from mapping the API to writing files wherever they wanted. They then planted code in a file Python loads at startup, triggered a training job so a new process would start, and got a shell running as root.1

Amazon says with “high confidence” that it was an unknown flaw (a zero-day): there was no fix, advisory or prior mention of it. It attributes the activity to a China-linked group with “moderate” confidence. In another session the attacker stepped in, handing the agents a tunnel into a second university’s network that ran the same vulnerable software, and Amazon infers it had been taken over with the same flaw.1

Amazon notified the project’s maintainers, who have released a fix and a security advisory. The affected organizations weren’t AWS customers and were notified through a government partner. The report doesn’t name the project.1

Why it matters

  • The pace. An agent that finds and exploits a flaw in minutes finishes before many security operations centers can triage an alert by hand. The ones that failed against Redis worked for 16 hours straight, with no breaks or working hours.1
  • It’s not an isolated case. Amazon points to Gambit Security, which documented a different, financially motivated group using the same Cairn against online retailers.1
  • What Amazon recommends: prioritize high-confidence detections that trigger an automated response, with people overseeing outcomes rather than reviewing every action.1

What to do

  • Make sure no Redis, database or admin dashboard is exposed without authentication, research networks included.
  • Use multi-factor authentication on SSH, VPNs and portals: a campaign of 30,000 combinations only needs one to be right.
  • Add the open-source AI applications installed for research to the inventory: they are attack surface too, and rarely have an owner in IT.
  • Check the indicators Amazon publishes at the end of its report.1

Where Cisent comes in

The agents spent a whole day trying techniques and passwords before they hit the unknown flaw.1

Manthys Secure Defense detects, assesses and blocks attacks in real time alongside the EDR, the firewall and every connected source. A scan or a password campaign shows up while it’s happening, not months later. It acts on its own only where an action can be undone, such as blocking an attacking IP or an intrusive connection, and asks before anything with impact, such as isolating a machine.

Explore Manthys Secure Defense

Sources

  1. CJ Moses, “Chinese-nexus actor’s Cairn AI agents found a zero-day on their own”, AWS Security Blog, November 20, 2026. https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/↩︎