Introduction: Why AI hacking agents change the response clock
Security teams have long worked against attackers who can probe systems for days. AI hacking agents add a different timing problem: they can keep trying through long stretches of failure, then move from discovery to exploitation faster than a human analyst may be able to investigate an alert.
Amazon’s account of an attack using Cairn AI illustrates both sides of that risk. As Ars Technica reported, the attackers supplied target IP addresses and a goal of obtaining shell access. With little human input, agents using the open-source penetration-testing framework found a previously unknown flaw in an open-source medical imaging AI application running on a university server.
The roughly 11-minute interval needs careful reading. According to Amazon, it covered the agents’ progress from mapping the application’s API endpoints to writing arbitrary files on the server. It was not the time taken for the entire compromise. In a later session, the agents used the same flaw to establish a reverse shell running as root, giving them full control of the system. Amazon assessed the vulnerability as a zero-day because it found no corresponding fix, advisory or prior vulnerability-database mention for the affected project.
Speed was only part of the story. Amazon also described an unsuccessful operation in which agents spent more than 16 hours trying several techniques against a server. In another unsuccessful attempt, they spent more than six hours targeting a university GPU server, using 80 real usernames and testing 30,000 credential combinations. Those figures come from Amazon’s observations, not from a general measurement of how quickly automated attacks succeed.
For defenders, the lesson is not that every automated probe will find a zero-day. It is that response plans must handle both a sudden breakthrough and persistent activity that generates repeated signals over hours. Teams need to know which exposed applications matter most, how quickly they can investigate suspicious behavior, and what containment steps they can take before an incident escalates.
The broader challenge also involves understanding where AI systems introduce less visible dependencies. For a related perspective, see our look at AI supply chain and privacy risks.
What is Cairn AI, and why can attackers use it?
Cairn AI is an open-source framework for autonomous problem-solving, with penetration testing as its first validated use. In a legitimate security assessment, a team can give it an objective and optional hints, then use its agents to look for weaknesses in systems the team has permission to test.
The same workflow can serve a different purpose in unauthorized hands. As Ars Technica reports, attackers have used Cairn to direct AI hacking agents against systems they wanted to compromise. The framework does not determine whether a target has consented to a test; the distinction depends on the operator’s authority and actions.
Think of Cairn as a coordinator for a group of software workers rather than a single chatbot. The source story describes three pieces:
- A shared graph: A server stores facts and hints relevant to the task, giving the framework a common record of what it knows.
- A dispatcher: This component reads the graph, schedules work, manages containers and writes the protocol.
- Worker containers: The dispatcher can assign a project to a dedicated container, where multiple agents work concurrently.
That arrangement helps turn a broad goal into a series of coordinated tasks. It is also model-agnostic: operators are not restricted to one underlying AI model. According to the source story, Cairn can work with back ends including Claude Code, Codex and Pi. Palo Alto Networks researchers also observed it being used with GLM 5.2, DeepSeek V4 Flash and DeepSeek V4 Pro.
The dual-use risk becomes clearer in reported campaigns. Palo Alto Networks found 25 autonomous operations against at least 19 organizations, with at least 10 organizations successfully breached, according to the source story. It also reported that attackers added language telling agents their actions were authorized. Such a claim in a prompt is not evidence of actual permission.
Autonomy does not guarantee success: the source story also describes failed attempts against other targets. Still, the framework’s ability to coordinate persistent work makes operator intent and defensive monitoring important. For a related perspective on AI security risks, see our discussion of AI prompt privacy and the AI supply chain.
How AI hacking agents found and exploited the zero-day
In Amazon’s investigation, AI hacking agents working through the open-source Cairn AI framework received a list of IP addresses and a broad objective: obtain shell access. Against one server running an open-source medical imaging AI application, they turned that goal into a working exploit without human guidance at each step.
According to Ars Technica’s report on Amazon’s findings, the agents first identified the application’s framework and mapped its API endpoints. That reconnaissance exposed an upload endpoint with a filename parameter, which the agents tested for path traversal: a weakness that can let an attacker reach locations outside the directory an application intends to use.
The test succeeded. Amazon reported that the agents moved from mapping the API to arbitrary file writing in about 11 minutes. That figure describes the path to writing files on the server, not the time required to obtain a root shell. The distinction matters because the more consequential shell access came during a later session.
In that later session, the agents used the same flaw to place a Python reverse-shell payload in sitecustomize.py, a file Python can import automatically when an interpreter starts. They then triggered a training API endpoint that spawned a new Python process. The process imported the payload and established a reverse shell running as root, giving the attackers control with the system’s highest level of privilege.
Amazon Threat Intelligence assessed with high confidence that the unpatched path traversal flaw was a zero-day. Its reasoning was that researchers found no corresponding fix, issue, security advisory or earlier mention in vulnerability databases for the affected open-source project. That is an evidence-based assessment of what was known at discovery, rather than proof that nobody else had previously found the flaw.
The case illustrates how quickly separate steps can connect: an exposed upload feature led to file placement, and file placement became a route to code execution. It does not mean every autonomous attempt works. As the same report notes, other agent-led attacks observed by Amazon failed despite hours of activity. For defenders, the practical concern is the compressed response window when an attempt does succeed. A related look at AI supply-chain risks explores another way AI systems can introduce security exposure.
Where AI hacking agents failed before succeeding
The headline-grabbing success was not the whole story. Amazon observed AI hacking agents spending hours on other targets without achieving their objectives. Those failures matter because they show both the limits of autonomous attacks and the persistence defenders may still have to contend with.
In one operation, agents tried to compromise a Redis server using several approaches. They attempted to abuse its replication feature to load unauthorized code, escape its scripting sandbox, alter configuration files, and corrupt memory. They also tried a Log4Shell injection against a different service on the same system. According to Ars Technica’s account of Amazon’s findings, the agents spent more than 16 hours on those techniques without success; their other attempts in that operation failed as well.
A separate operation targeted a university GPU server, not necessarily the Redis system. Amazon reported that the attackers used public university resources to assemble 80 real usernames, then tested 30,000 credential combinations against SSH and other services. After more than six hours, they still had not gained access. The source does not say which specific defenses stopped the attempts, so it would be a mistake to credit a particular control.
The contrast with the medical imaging target is striking. There, agents using the Cairn AI framework found a vulnerable upload parameter and moved from mapping the application’s API to writing arbitrary files in about 11 minutes, according to Amazon. That timing did not mean root access took only 11 minutes: the agents used the flaw to establish a root-level reverse shell in a later session.
Together, the cases suggest that automation does not guarantee a breakthrough. An exposed service can resist repeated attempts, while a different application with an unpatched flaw can offer a much shorter route to compromise. The reported outcomes are examples of individual operations, not a reliable success rate for AI-assisted attacks generally.
For defenders, unsuccessful activity can still consume monitoring resources and signal sustained interest in a system. Reviewing authentication alerts, limiting unnecessary exposure, and prioritizing investigation of unusual application behavior are sensible responses without assuming every alert represents a successful intrusion. For a related perspective on incident response, see our coverage of the FinCEN cybersecurity incident.
Cairn AI beyond Amazon’s case: What another campaign exposed
Amazon’s university-server case is not the only example of attackers using AI hacking agents built on Cairn AI. In a separate campaign, Palo Alto Networks observed the framework targeting organizations in the semiconductor, defense and civil society sectors. Its findings show consequences that extended beyond gaining an initial foothold.
According to Palo Alto Networks, as reported by Ars Technica, the campaign involved 25 autonomous operations against at least 19 organizations. At least 10 organizations were successfully breached. Those numbers describe Palo Alto Networks’ campaign, not Amazon’s separate investigation; they do not establish that every operation succeeded or that every target suffered the same outcome.
The reported actions included accessing dozens of valid credentials, retrieving military and government identities, and exposing personal data. At one organization, the exposed personal data exceeded one million records, according to Palo Alto Networks’ findings. The report also described attackers creating persistent administrator accounts in a production system and modifying a live industry standards-ballot document.
These outcomes illustrate different kinds of risk. Exposed personal information can create a privacy incident, while valid credentials and persistent administrator accounts can give attackers opportunities to return or maintain access. A changed ballot document points to another concern: an intrusion can affect the integrity of work, not just the confidentiality of information.
Cairn AI was designed as an open-source problem-solving framework, with autonomous penetration testing as its first validated use. That makes it relevant to defenders assessing their own systems, but the same capabilities can be directed against organizations without permission. Palo Alto Networks reported that the attackers supplied broad access goals and reinforced the agents’ instructions with claims that their actions were authorized. Such claims in a prompt are not evidence that a target actually granted permission.
For defenders, the practical lesson is to look beyond a single vulnerability or fast exploit. Review unexpected administrator-account creation, investigate unusual credential access and verify changes to sensitive production documents. As a related read, our coverage of the FinCEN cybersecurity incident explores the implications of a separate breach. Neither case means every alert signals an AI-driven attack, but both underline the value of investigating what an intruder accessed and changed.
How defenders can prepare for AI hacking agents
Defending against AI hacking agents starts with reducing the time between an unusual event and a decision. In Ars Technica’s account of Amazon’s research, agents using Cairn AI took about 11 minutes to move from mapping an application’s API to writing arbitrary files on its server. They obtained a root shell in a later session, not necessarily within that initial window. Amazon warned that such activity can finish faster than many security teams can manually triage an alert.
The following are proposed defensive priorities, not steps Amazon reported the affected organizations had taken:
- Inventory exposed applications. Identify internet-facing services, their owners, software components and administrative interfaces. Include research and specialized applications that may sit outside routine enterprise inventories. Check whether upload endpoints need public access, and establish a way to restrict access quickly when a flaw is suspected. An inventory also helps teams find other systems running the same software before an attacker does.
- Watch uploads and process activity together. Investigate unusual filenames, unexpected writes outside intended upload locations and application processes launching commands or making outbound connections. In Amazon’s example, the agents exploited a vulnerable filename parameter, then used a later request to start a Python process that loaded a malicious file. Correlating these events can provide more context than treating each alert in isolation.
- Review privileged access and persistence. Limit application permissions where practical, audit administrator accounts and investigate unexpected privilege changes. The root shell in Amazon’s case shows why an application’s operating-system privileges matter. Separately, Palo Alto Networks reported that attackers using Cairn created persistent administrator accounts in a production system. Containment should therefore include checking for access that survives the initial compromise.
- Rehearse rapid triage. Give responders clear authority to isolate a server, restrict an endpoint, preserve relevant logs and involve the application owner. Practice deciding what to do with incomplete evidence, then test whether the team can identify related systems and investigate accounts before restoring service.
No checklist guarantees protection against a previously unknown vulnerability. The goal is to shorten discovery and containment while limiting what an attacker can reach. For a related perspective on dependencies and data exposure, see our discussion of AI prompt privacy and supply-chain risks.
Conclusion: Cairn AI and the key takeaways
The lesson from the Cairn AI case is not that every automated attack succeeds. It is that AI hacking agents can keep working through failures, move quickly when they find an opening, and still take direction from a human attacker. Defenders need to plan for all three possibilities rather than treating autonomy and human involvement as mutually exclusive.
- Persistence matters even when attempts fail. According to Amazon’s research, reported by Ars Technica, agents spent more than 16 hours trying techniques against one system without succeeding. In another operation, they tested 30,000 credential combinations against 80 usernames while targeting a university server; those attempts also failed. Failure in one session does not prevent agents from continuing to test other routes or targets.
- A useful discovery can compress the response window. Amazon reported that agents took about 11 minutes to progress from mapping an application’s API to writing arbitrary files on its server. That timing does not mean they obtained root access within 11 minutes: in a later session, they exploited the same vulnerability to establish a root-level reverse shell. The distinction matters, but so does the speed at which the initial exposure became actionable.
- Humans can re-enter the workflow. After the agents identified the vulnerability, the attackers supplied a proxy into a second university network and directed the agents to target other machines. Amazon inferred that the actor had used the zero-day to compromise the proxy’s server and establish the tunnel; it did not present that sequence as confirmed fact.
For defenders, the practical priority is to make suspicious activity visible and actionable before a single finding becomes a broader compromise. Review exposed applications and upload functionality, monitor for unusual file writes and outbound connections, and limit the privileges available to application processes. Investigating repeated failed attempts can also reveal activity before an attacker finds a successful path.
Automation can help security teams triage faster, but it does not replace judgment about impact, containment, and recovery. A related read on the FinCEN cybersecurity incident offers another perspective on why incident response and the consequences of compromised systems deserve attention.

2 thoughts on “AI hacking agents and Cairn AI: What an 11-minute zero-day means for defenders”