
Amazon says hackers have begun using AI agents to do the hard part of intrusion work on their own, including identifying and exploiting a previously unknown vulnerability with almost no human guidance. In a recent case, the agents were instructed simply to obtain shell access on a university server and quickly found a zero-day in an open-source medical imaging AI application, then used it to gain root control.
Amazon’s warning about agentic hacking
The company described the incident as evidence that “agentic offensive operations are already happening,” with defenders now facing tools that can move faster and persist longer than traditional manual attacks. The agents were running on Cairn, an open-source AI penetration-testing framework designed for defensive use but also attractive to attackers because it can run tasks autonomously once given a goal.
According to Amazon, the attackers provided prompts in simplified Chinese, set the model to the Chinese Standard Time zone, and gave the system a list of IP addresses plus a simple objective: “obtain shell access.” From there, the agents handled the rest, searching for weaknesses, testing attack paths, and escalating when they found one.
How Cairn was used in the attack
Cairn is an open-source AI problem-solving engine whose first validated use case is autonomous penetration testing. Users provide a task, optional hints, and a set of targets; the system then uses a shared graph of facts and a dispatcher that schedules work across worker containers. Those workers can run multiple agents at once and are model-agnostic, with reported support for back ends including Claude Code, Codex, and Pi.
Researchers from Palo Alto Networks have also observed Cairn being used with GLM 5.2, DeepSeek V4 Flash, and DeepSeek V4 Pro. The framework was built with defenders in mind, but it has now been linked to offensive campaigns as well.
Why security teams are paying attention
Palo Alto Networks said earlier this month that hackers used Cairn to target organizations in the semiconductor, defense, and civil society sectors. The campaign reportedly carried out 25 autonomous operations against at least 19 organizations, with at least 10 breaches that included credential theft, mass exposure of personal data, retrieval of military and government identities, creation of persistent administrator accounts, and modification of a live industry standards-ballot document.
In those cases, the attackers gave the agents broad instructions such as obtaining “substantive high-value access,” and added preambles framing the work as authorized security testing. The goal was to reduce hesitation by the model and keep the workflow moving even when the agents encountered obstacles.
What Amazon says happened in the zero-day case
Amazon’s account shows how quickly an autonomous system can move from reconnaissance to exploitation. In one failed operation, the agents spent more than 16 hours trying multiple techniques against a Redis server, including attempts to abuse replication features, escape a scripting sandbox, write to configuration files, and corrupt memory. None succeeded.
In another unsuccessful effort, the agents spent more than six hours probing a university GPU server. They used public sources to compile a list of 80 real usernames and tested them against 30,000 credential combinations across SSH and other services, but those attempts also failed.
The breakthrough came against a different target running an open-source medical imaging AI application. Amazon said the agents identified the application framework, mapped API endpoints, and found an upload endpoint with a filename parameter. They then tested it for path traversal and discovered it was vulnerable.
From discovery to root in about 11 minutes
Amazon said the agents went from mapping the application’s API to arbitrarily writing files on the server in about 11 minutes. In a later session, they used the same flaw to place a Python reverse shell payload in sitecustomize.py, a file Python imports automatically at startup.
The agents then triggered a training API endpoint that caused a new Python process to start. That process imported the payload and opened a reverse shell running as root. Amazon said its threat intelligence team assessed with high confidence that the bug was a zero-day, based on the absence of any advisory, fix, or prior vulnerability report tied to the affected open-source project.
How the attack spread further
Amazon also said the attackers later fed the AI agents a proxy that tunneled into a second university network. The server behind that proxy was running the same vulnerable software, and Amazon inferred that the human operators had already used the zero-day to compromise it and create the tunnel.
Once inside, the human operators directed the agents to use that access to target additional machines in the network. That detail matters because it suggests a hybrid model: humans set the mission and steer the campaign, while the agents handle much of the tactical work.
Why defenders are worried
The main concern is speed. A human-led intrusion may leave defenders time to spot noisy scanning, investigate logs, and block activity before the intruder reaches deeper systems. An AI agent that can discover and exploit a zero-day in minutes compresses that response window dramatically.
Amazon said that compression changes the defensive equation because many security operations centers still rely on manual triage. If an attack unfolds faster than analysts can review alerts, the usual layers of detection and response become harder to use effectively.
- AI agents can search targets continuously without fatigue.
- They can test many attack paths in parallel.
- They may pivot quickly once a flaw is found.
- They can also keep operating after an initial attempt fails.
The larger takeaway is not that AI has replaced attackers, but that it is reducing the amount of expertise and attention needed to carry out some parts of an intrusion. That makes autonomous security tooling useful for defenders, but it also gives threat actors a way to scale reconnaissance, exploitation, and follow-on access with far less human effort than before.
Source: Original report
Was this helpful?
Explore more: Application Audit & Review More Cybersecurity Tech News
Last Modified: November 24, 2026 at 10:31 pm
0 views
