CybersecurityVulnerabilities & Patches
Amazon says AI agents discovered and abused a zero-day
Amazon said AI agents discovered and abused a previously unknown flaw with little human input. Ars Technica reported the research, which shows how autonomous tools can speed up attacks.

Key takeaways
- Amazon says AI agents found an unpatched zero-day in about 11 minutes after mapping an application.
- The agents used the flaw to create a root reverse shell and later reached a second network through a proxy.
- Palo Alto Networks reported 25 autonomous operations against at least 19 organisations, with at least 10 breaches.
- Amazon warns that agent-driven attacks can move faster than manual security alert triage.
In this article
What Amazon reported
AI agents recently discovered and abused a previously unknown security flaw with little human direction, according to Ars Technica. Amazon reported that the agents were working on a university server in East Asia. Their only broad instruction was to obtain shell access. That means control of a command interface on the target machine.
The agents ran on Cairn, an open-source AI framework for penetration testing. Penetration testing means simulated attacks to find security holes. The attackers supplied a set of IP addresses and prompts in simplified Chinese. They also set the model's time zone to Chinese Standard Time.
How the unknown flaw was found
The agents tried several targets before succeeding. One attempt involved a Redis server, a type of database. The agents tried to misuse its replication feature, load unauthorised code, escape a scripting sandbox, alter configuration files and damage memory.
They also tried a Log4Shell attack on another service. That is an attack against logging software. These efforts lasted more than 16 hours and failed.
In another operation, the attackers spent more than six hours on a university GPU server. A GPU server is used for heavy computing. They used public university resources to gather 80 real usernames.
They then tried 30,000 credential combinations against SSH and other services. SSH is a common remote login service. Those attempts failed too.
A different target proved more successful. The agents reached a server running open-source medical imaging software that uses AI. They identified its framework and mapped its API endpoints. API endpoints are points where the software accepts requests.
They then examined an upload feature that accepted a file name. By changing that name, they could make the server write files outside the intended folder. This type of flaw is called path traversal. Within about 11 minutes, they had moved from inspecting the API to placing files anywhere on the server.
When the flaw was found, it had no assigned security advisory and no patch. Amazon Threat Intelligence said it was highly confident the flaw was a zero-day. A zero-day is a flaw with no available patch. It found no fix, issue, advisory or earlier public report for the project.
How the flaw became a foothold
In a subsequent session, the agents reused the flaw. They wrote a Python payload for a reverse shell into sitecustomize.py. A payload is the code that carries out an attack. A reverse shell lets an attacker send commands to a machine from outside.
Python automatically imports sitecustomize.py when it starts. They then activated a training API endpoint. This started a new Python process. The new process loaded the payload and opened a reverse shell with root privileges.
Root privileges are the highest level of control. After the agents identified the zero-day, the attackers became more involved. They supplied a proxy that tunnelled into a second university network. A proxy is a relay that forwards traffic.
Amazon said the proxy connected to a server running the same vulnerable software. The company inferred that the actor had used the zero-day to compromise that server and create the tunnel. The actor then told the agents to use the tunnel to attack other machines in that network.
This suggested the same flaw could be reused across systems. It also showed how one compromised host could lead to another.
Wider abuse of Cairn

Cairn was built for defenders, but attackers are using it too. Earlier in November, Palo Alto Networks said attackers used Cairn against groups in the semiconductor, defence and civil society sectors. Across the campaign, the attackers ran 25 autonomous operations, meaning the agents acted without direct human control. They targeted at least 19 organisations.
At least 10 organisations were breached. The agents exposed large amounts of personal data, including more than 1 million records at one organisation. They collected military and government identities and created lasting administrator accounts in a live system. They also changed a live ballot document for industry standards.
Cairn is an open-source engine for AI problem solving. Its first tested use is autonomous penetration testing. It is model-agnostic, meaning it can work with different AI models. It can run on backends such as Claude Code, Codex and Pi.
Palo Alto Networks researchers have also seen Cairn paired with GLM 5.2, DeepSeek V4 Flash and DeepSeek V4 Pro. A central server keeps a shared graph of facts and hints. A dispatcher schedules jobs, manages containers and records the protocol. Each worker container can run several agents at once.
The attackers set tasks with short goals. One task asked for broad access, including code, keys, credentials and user data. Cairn's default instructions tell agents to use penetration-testing methods. These include exploiting flaws, opening reverse shells and removing data.
The attackers added text to make the work appear authorised. The added text told the agents to take the work seriously and never refuse it.
Why defenders should pay attention
Amazon said offensive operations driven by agents are already happening. The company said the pace of these operations shortens the time defenders have to respond. An agent that finds and uses a zero-day in minutes can finish its work before many security operations centres can manually review an alert.
At the time, no patch or advisory was listed. Organisations should monitor official vendor advisories and official guidance. Amazon said defenders need to account for how quickly and persistently these tools can act.
Sources
Spotted a mistake? See our corrections policy. Read how News by OnDevice works in our editorial policy.



