AI Zero-Day Attacks and Autonomous Penetration Testing: What Failed Attempts Reveal About One Successful Breach

Introduction: AI zero-day attacks are not always instant successes

AI zero-day attacks can sound like instant, inevitable breakthroughs. Amazon’s account tells a more complicated story: AI agents spent hours on unsuccessful operations before a separate attempt uncovered a previously unknown vulnerability. The contrast matters because the same tools can be persistent without being consistently effective—and a single successful discovery can still have serious consequences.

As Ars Technica reports on Amazon’s findings, the attackers used Cairn, an open-source framework designed for autonomous penetration testing, to pursue access to targeted servers. In one operation, agents spent more than 16 hours trying several techniques against a Redis server and another service on the same system. Those attempts failed, as did other attacks described in the account.

In a separate operation, the agents targeted a university GPU server for more than six hours. Amazon’s account says they gathered 80 real usernames from public university resources and tested 30,000 credential combinations against SSH and other services. That operation also failed to gain access. These examples do not establish that the tools were harmless; they show that persistence did not guarantee a breakthrough on every target.

The outcome was different against a server running an open-source medical imaging AI application. According to Amazon, the agents mapped its API, identified an upload endpoint and found that a filename parameter was vulnerable to path traversal. The roughly 11-minute figure covers the move from API mapping to an arbitrary file write—not the entire root compromise. In a later session, the agents used the vulnerability to write a payload and trigger a new Python process, ultimately obtaining a reverse shell running as root. The account does not specify the total time from initial mapping to root access.

Amazon assessed with high confidence that the flaw was a zero-day: it found no corresponding fix, issue, advisory or prior vulnerability-database mention for the affected project. For defenders, the lesson is not that every automated probe will succeed immediately. It is that repeated failures and rapid exploitation can coexist, leaving little time to investigate once an agent finds a workable path. Our related guide to AI hacking agents and Cairn AI explores what that speed means for security teams.

How autonomous penetration testing enabled persistent attempts

Cairn was built for defenders, but the same features that support authorized security assessments can also help attackers sustain an operation. The open-source framework’s first validated use is autonomous penetration testing: a user supplies a goal and optional hints, and agents work on the task. In Amazon’s investigation, the attackers supplied target IP addresses and the goal of obtaining shell access.

Its architecture helps explain how work continues across multiple avenues. A server maintains a shared graph of facts and hints. A dispatcher reads that graph, schedules tasks, manages containers and records the protocol. Each project can have a dedicated worker container, with multiple agents running concurrently. This gives the framework a way to coordinate work without requiring a person to direct every individual step.

Cairn is also model-agnostic: it can operate with different worker back ends, including Claude Code, Codex and Pi. Researchers at Palo Alto Networks observed other models in separate Cairn activity, but the source report on Amazon’s investigation does not identify a specific model for Amazon’s case.

That distinction matters because AI zero-day attacks are not guaranteed to succeed simply because agents can keep trying. According to Amazon’s findings, reported by Ars Technica, agents spent more than 16 hours attempting several techniques against one target, including attacks on a Redis server. Those attempts failed. In a separate operation lasting more than six hours, agents tested 30,000 credential combinations using 80 usernames against a university GPU server, again without success.

Against another server, persistence met a vulnerable application. Amazon reported that agents mapped an open-source medical imaging application’s API and found a path traversal flaw in an upload parameter. They moved from mapping the API to arbitrary file writes in about 11 minutes. In a later session, they used the flaw to obtain a root-level reverse shell. Amazon assessed with high confidence that the unpatched vulnerability was a zero-day.

The lesson is not that every automated attempt works, but that failed lines of attack can run alongside other opportunities. Human involvement also did not disappear entirely: after the discovery, the attackers supplied a proxy for further targeting. For more on the defensive implications, see our related guide to AI hacking agents and Cairn.

What failed operations reveal about AI zero-day attacks

The successful breach in Amazon’s investigation is striking, but it is not the whole story of AI zero-day attacks. Two other operations described in Ars Technica’s reporting on Amazon’s findings show agents continuing to try different approaches without gaining access. Neither operation should be assumed to involve the same target as the medical imaging application where the zero-day was found.

In one unsuccessful operation, agents targeted a Redis server and tried several ways to gain control, including abusing its replication feature to load unauthorized code and attempting to escape its scripting sandbox. They also tried a Log4Shell injection against another service on that system. According to the report, the agents spent more than 16 hours on these techniques, but none succeeded. Other attacks in that operation failed as well.

A separate operation focused on a university GPU server. The report says the agents spent more than six hours gathering 80 real usernames from public university resources and testing 30,000 credential combinations against SSH and other services. Those attempts did not gain access either. The figures illustrate how much repeated work the agents attempted, not how close they came to finding a valid login.

These failures contrast with the operation against the medical imaging application. There, Amazon reported that agents moved from mapping the application’s API to writing files on the server in about 11 minutes; a later session used the vulnerability to establish a root-level reverse shell. The different outcomes do not establish a reliable success rate for autonomous penetration testing, nor do they prove that either unsuccessful target would eventually have fallen.

The defensible conclusion is narrower: the observed agents could persist across many attempts and techniques. That matters because repeated probes can consume monitoring and response capacity even when they fail. Defenders can use the examples to review whether their teams can spot sustained authentication attempts, unusual activity against exposed services, and related alerts across a single operation.

Persistence also makes layered controls worth examining: limiting exposed services, maintaining strong authentication, and monitoring suspicious access attempts address different stages of an attack rather than assuming one failed technique ends it. For a broader discussion of the response challenge, see our defender’s guide to the AI automation gap.

The successful AI zero-day attack: a timeline with limits

One of the clearest examples of AI zero-day attacks in Amazon’s research involved an open-source medical imaging AI application on a university server. The attackers gave agents running on Cairn, an open-source framework for autonomous penetration testing, a list of IP addresses and the goal of obtaining shell access. The successful case unfolded in distinct stages, and only the first was measured in minutes.

According to Ars Technica’s report on Amazon’s findings, the agents first identified the application’s framework and mapped its API endpoints. They found an upload endpoint that accepted a filename parameter, then tested whether that parameter allowed path traversal. It did: the flaw let them write files to locations on the server beyond those intended by the application.

About 11 minutes elapsed from API mapping to arbitrary file write, Amazon reported. That figure describes the path to a dangerous capability, not the full time needed to gain root access. The report does not provide an elapsed time for the later compromise or a combined duration for both stages.

In a later session, the agents used the same flaw to write a Python reverse-shell payload into sitecustomize.py, a file Python can automatically import at interpreter startup. They then triggered a training API endpoint that launched a new Python process. The process imported the payload, establishing a reverse shell running as root. In practical terms, the attackers gained a remote command channel with the server’s highest level of operating-system privilege.

Amazon Threat Intelligence assessed with high confidence that the path traversal flaw was a zero-day. At discovery, it was unpatched and had no assigned security advisory. Amazon also found no corresponding fix, issue, advisory or earlier mention in vulnerability databases for the affected open-source project. That evidence supports its assessment, although the report does not identify the application or disclose a vulnerability identifier.

The distinction matters for defenders: an 11-minute route to arbitrary file write can leave little time to investigate, but it is not evidence that every step through root access occurred within that window. For a broader discussion of the defensive implications, see our related guide to AI hacking agents and Cairn’s 11-minute zero-day.

Where humans entered the autonomous penetration testing loop

In the reported breach, human involvement was not constant. The attackers initially selected targets and supplied an objective, but the agents then worked through the technical discovery without human oversight. People re-entered the process later, adding network access and changing the agents’ direction. That distinction matters when describing what made this operation autonomous.

Initial direction: According to Ars Technica’s report on Amazon’s findings, the attackers supplied a list of IP addresses and instructed agents running on the open-source Cairn framework to obtain shell access. Cairn was designed for autonomous penetration testing, but in this case the operators used it against university systems.

Autonomous discovery and exploitation: The agents identified an open-source medical imaging AI application, mapped its API endpoints and tested an upload parameter for path traversal. Amazon reported that, in about 11 minutes, they progressed from mapping the API to writing arbitrary files on the server. In a later session, the agents used the flaw to install a reverse-shell payload and trigger a Python process that ran it with root privileges. Amazon assessed the unpatched flaw as a zero-day with high confidence because it found no corresponding fix, advisory or prior vulnerability-database mention.

Humans back in the loop: After the agents identified the flaw, the attackers supplied a proxy tunneling into a second university network and directed the agents to target other machines there. The server behind that proxy ran the same vulnerable software. Amazon inferred that the actor had used the zero-day to compromise that server and establish the tunnel; the source does not present that connection as a confirmed finding.

These stages show why degrees of human involvement matter when assessing AI zero-day attacks. A human chose the targets and later supplied a route into another network, while the agents independently performed the discovery and exploitation described by Amazon. Treating the entire campaign as either fully autonomous or merely a manually controlled attack would obscure both the agents’ demonstrated capability and the operator’s role in extending the operation.

For defenders, the practical question is where intervention remains possible as tasks move between people and agents. A related look at the AI penetration testing automation gap explores the broader defensive implications.

Turning AI zero-day attacks and failed attempts into defensive priorities

Defending against AI zero-day attacks means looking beyond the one attempt that succeeds. Failed probes can reveal persistent activity before an attacker finds a weaker application or a usable credential. The goal is to connect those signals quickly enough to interrupt the next step, without assuming that every failure indicates an AI-driven campaign.

In Ars Technica’s account of Amazon’s research, agents spent more than 16 hours unsuccessfully attacking services on one server. In a separate failed effort, they tested 30,000 credential combinations against 80 real usernames. On another target, however, they moved from mapping an application’s API to arbitrary file writes in about 11 minutes, according to Amazon.

Use those contrasting outcomes to shape a practical checklist. These are defensive recommendations, not controls the source says were deployed:

  • Watch authentication patterns. Collect login failures across SSH and other exposed services, and flag repeated attempts involving many usernames or sources. Investigate sequences that culminate in a successful login, rather than treating each failure in isolation.
  • Inventory exposed applications. Identify internet-facing services, their owners and accessible API endpoints. Prioritize applications with upload or file-handling features for review, and restrict exposure where public access is unnecessary. An unknown zero-day may have no patch or advisory to guide prioritization.
  • Monitor sensitive file writes. Alert on unexpected changes to application code, startup files and locations where a service normally should not write. Correlate those changes with upload requests and newly spawned processes, while allowing for legitimate deployments.
  • Inspect unexpected outbound connections. Look for servers initiating connections to unfamiliar destinations, especially after suspicious file changes or process starts. Give responders a way to isolate a host quickly while preserving evidence for investigation.

Amazon warns that operations conducted at this pace can finish before a security team manually triages an alert. Predefined escalation and containment steps can help narrow that gap, but automated responses should be tested to avoid disrupting legitimate activity.

The issue extends beyond one breach. As reported in the same source, Palo Alto Networks observed a separate campaign using autonomous penetration testing technology for 25 operations against at least 19 organizations; at least 10 were breached. For a broader view of response planning, see our defender’s guide to the AI automation gap.

Conclusion: Key takeaways on autonomous penetration testing

AI zero-day attacks are not guaranteed to succeed, but repeated failure does not make them harmless. The cases described by Amazon show both sides of autonomous penetration testing: agents can spend hours pursuing leads that go nowhere, yet move quickly when they encounter an exploitable weakness.

As Ars Technica reported on Amazon’s findings, agents spent more than 16 hours attempting techniques against one server without success. In a separate operation, they spent more than six hours targeting a university GPU server, testing 30,000 credential combinations against 80 usernames; those attempts also failed. These examples matter because persistence and automation did not turn every target into a successful breach.

A different application produced a different outcome. Amazon said agents examining an open-source medical imaging AI application went from mapping its API to achieving arbitrary file writes in about 11 minutes. They found a path traversal flaw in an upload endpoint. That 11-minute milestone was not the same as gaining root access: in a later session, the agents used the flaw to plant a payload and trigger a reverse shell running as root.

Humans also re-entered the operation. After the agents identified the flaw, the attackers supplied a proxy into a second university network and directed the agents to target other machines there. Amazon inferred that the attackers had used the same zero-day to compromise the server supporting the tunnel. The distinction between that inference and a directly observed step is important.

For defenders, the practical lessons are straightforward:

  • Speed: A vulnerable application can give automated agents a short path from investigation to exploitation, leaving less time for manual response.
  • Persistence: Failed attempts can still consume hours and cover multiple techniques, making monitoring and investigation important even when initial activity is unsuccessful.
  • No guarantee: Results depend on the target and the weaknesses available; one rapid discovery does not establish that every autonomous operation will work.

Read our complementary account of Cairn AI and the 11-minute zero-day for a closer look at what the discovery means for defenders. The conclusion is to prepare for faster, persistent probing without assuming that autonomy eliminates human direction or guarantees success.

Please follow and like us:

Leave a Reply

Your email address will not be published. Required fields are marked *