An operator gave a set of AI agents a list of IP addresses and a single instruction: obtain shell access. Over about two days the agents probed university networks in East Asia, failed against some targets, and then, according to Amazon, found a previously unknown vulnerability in an open-source medical imaging application. They used it to take over a server as root.

Amazon Threat Intelligence describes the campaign in a first-hand write-up on the AWS Security Blog. The tool involved is Cairn, an open-source framework built for autonomous AI penetration testing. Amazon says the operator wrote prompts in Simplified Chinese and that script timestamps were set to China Standard Time. It assesses with moderate confidence that the actor is Chinese-nexus, based on those clues and on the targeting of universities it considers likely to be of strategic interest to China. Amazon does not name a specific group or government agency.

How Amazon Saw Inside the Operation

Amazon's visibility came from a basic operational mistake. On Sept. 10, 2026, its researchers found a Cairn server that was running without authentication. That exposed the platform's operational history, including project configurations, the operator's prompts and the AI output. The record showed a campaign that began on Sept. 8 and ran for about 48 hours, aimed at IP addresses associated with universities in East Asia outside mainland China.

Because the operator left the server open, Amazon could see not just the outcome of the intrusion but how the agents worked: what they tried and where they changed approach. Much of what it describes is attempts that went nowhere.

The Failures Came First

According to Amazon, the agents took 148 sequential actions over roughly 16 hours against one target, a Redis server configured to allow access without authentication, without getting in. Redis is a widely used in-memory database. The Record notes those actions included a failed attempt at Log4Shell, the well-known 2021 flaw in the Log4j Java logging library. In a separate effort the agents spent more than six hours testing more than 30,000 credential combinations built around about 80 real usernames they had gathered from the university's public presence. They never found a working login.

These figures show what this kind of tooling looks like right now. The agents were persistent and unbothered by repetition, but much of what they did was working through known techniques and checking for known bugs. Amazon notes the agents that failed against the Redis target ran continuously for 16 hours without breaks, sleep or working-hour constraints, and that together the two failed operations show the agents kept adapting for nearly a full day without human direction.

Then the Zero-Day

The breakthrough came against an open-source medical imaging AI application. The Register identifies it as MONAI Label. Amazon says the agents identified the application's framework, mapped its API endpoints and found an upload endpoint with a filename parameter, then tested that parameter and found it vulnerable to path traversal. That class of bug lets an attacker reach files outside the directories an application is meant to expose. Amazon says the agents went from mapping the API to arbitrary file writes on the server in about 11 minutes. In a later session they used the same flaw to establish a reverse shell running as root. A reverse shell is a connection the compromised machine makes back to the attacker, giving them interactive command access.

A second university was then reached. In a separate session, Amazon says, the human operator gave the agents a proxy that tunneled into the second network. The server behind it was running the same vulnerable software, and Amazon infers the actor had used the zero-day to compromise it.

Amazon assesses with high confidence that the path traversal was a true zero-day, based on the absence of any corresponding fix, issue, advisory or prior mention in vulnerability databases for the affected project. At the time, no advisory or fix existed, The Record reports. Amazon's headline claim is that the agents found it themselves rather than being handed a known exploit. Amazon notified the maintainers, who have since released a fix and a GitHub Security Advisory.

The affected organizations were not AWS customers, so AWS says it worked with a government partner to notify them. It declined to name the universities or the country where they are located.

Not an Isolated Case

Amazon is not the only company to see Cairn used offensively. The Record reports that Google has also observed Cairn in intrusions at companies in the US aerospace sector. Separately, Gambit Security documented a different operator: Amazon describes it as a financially motivated actor targeting online retailers, and The Register reports Gambit said a Chinese operator used Cairn in at least 105 attacks, compromising at least 27 companies to varying degrees. Amazon treats that activity as separate from its own case, and none of the sources links the Google observations to either actor.

Cairn was built as a research and problem-solving engine for defenders. Given a starting point and an objective in plain language, it coordinates multiple AI agents to find a path to the goal. Amazon says that same ease of use makes it attractive to threat actors.

Why This One Matters

Automated scanning is nothing new, and neither is a nation-state operator finding a zero-day. What Amazon documents is the combination. According to its account, the agents were given an objective and no specific vulnerability. They spent hours failing against a Redis server and a credential-guessing campaign and then found and exploited a new bug in a specialized application.

Amazon's CISO, CJ Moses, warns that an agent that discovers and exploits a zero-day in minutes completes its activity faster than many security operations centers can manually triage an alert. As an inference rather than a sourced finding, niche research software may be easier to break than mainstream infrastructure, and an autonomous agent will spend the same effort on either.

What It Means for Defenders

Who is affected: Any organization running MONAI Label, especially on an internet-reachable host. Universities, hospitals, medical research labs and AI research groups are the obvious places to look. Amazon's case involved East Asian universities. Based on the Google and Gambit reports, Cairn-driven activity has also hit US aerospace firms and at least 27 companies in Gambit's research.

  • Patch MONAI Label. The maintainers have released a fix and a GitHub Security Advisory. Update to the patched release named in the project's advisory. Our sources do not give a specific version number, so check the advisory itself and do not assume.
  • Get it off the internet. A medical imaging labeling tool rarely needs to be publicly reachable. Put it behind a VPN or access-controlled gateway, or restrict it to known networks.
  • Hunt for compromise if you were exposed. The attack chain ended in arbitrary file writes and a root shell, so patching alone does not prove you are clean. Look for unexpected files written outside the application's data directories, unfamiliar outbound connections from the host (a reverse shell connects out), and new processes running as root. If you find signs of compromise, rotate any credentials, API keys and tokens stored on or reachable from that server.
  • Don't run research apps as root. In this incident the reverse shell ran as root. Running services as unprivileged users, in containers with limited permissions, reduces the damage when a bug like this turns up.
  • Inventory shadow research infrastructure. The second university was reached through another server running the same vulnerable software. Find every instance of MONAI Label and similar lab-deployed tools, including those set up outside central IT.
  • Treat noisy failures as an early warning. The failed attempts here were loud: 148 actions over 16 hours against one Redis server, and more than 30,000 credential combinations. Rate limiting, lockout policies and alerting on sustained credential stuffing or Log4Shell-style probes can catch an agent while it is still failing.
  • Finish old patching. The agents tried Log4Shell five years after it became public. Make sure it does not work against you.
  • If you run Cairn or similar frameworks yourself, require authentication on their servers. The operator in this case exposed their own campaign by leaving the server open. A legitimate red team that does the same could expose its client's data.

For CMMC-bound contractors, Google's report of Cairn in US aerospace intrusions makes this directly relevant. Autonomous tooling will find whatever internet-facing system you forgot to inventory, so keeping an accurate inventory of what you expose matters more than it used to.

Sources