↑

Perplexity Caught an Autonomous AI Hacker Hunting Cloud Keys for Two Weeks

A hooded figure at a desk with four code-filled monitors in a dark operations room, a glowing world map with network connections on the wall behind

Perplexity has published an unusually detailed account of a cyberattack with a twist: the attacker was not a person at a keyboard, but an autonomous AI agent. In a post-mortem released on Wednesday, the company says an LLM-driven agent spent late October and early November probing its infrastructure, hunting for cloud credentials that could unlock access to frontier AI models through Amazon Bedrock. The company says every attempt failed.

That last point matters. Security vendors publish "we blocked everything" stories all the time, and readers are right to be sceptical. What makes this one different is the level of detail Perplexity chose to share — timelines, request volumes, techniques, and even what the attacker's own working files showed. TechCrunch reported the disclosure the same day, and the picture that emerges is less about a single breach attempt and more about what automated hacking now looks like in practice.

What the agent actually did

According to Perplexity, the campaign began quietly. Between 24 and 28 October, the operator created disposable accounts and ran low-volume reconnaissance. On 2 November the probing escalated sharply: roughly 48,000 requests in 13 minutes across about 28,000 guessed API routes, peaking at more than 200 requests per second. Two further sweeps followed on 3 November. Whenever rate limits kicked in, the agent rotated to fresh accounts — more than 40 disposable-email signups and around 290 residential and cloud proxy addresses by 4 November.

The techniques were familiar to anyone who follows web security. The agent fed crafted URLs into features that fetch external links, trying server-side request forgery (SSRF) tricks aimed at cloud metadata services and internal addresses, including decimal and hex rewrites of the metadata IP and DNS-rebinding domains. It guessed object-storage paths for secret and configuration files — Perplexity logged 3,681 failed lookups across more than 3,300 unique keys in a 14-hour window — and probed organisation and admin endpoints for privilege escalation, plus other users' identifiers for cross-tenant access. Perplexity says outbound URL validation and authorisation checks blocked every probe, and that no internal services, private customer data or platform secrets were accessed over the two weeks.

Perplexity's own agent platform, Computer, flagged the 2 November sweeps in application logs and grouped the throwaway accounts into a single campaign by shared IPs, email domains and callback hosts. The security team then ran a dedicated monitoring workflow for more than five days, shipping extra hardening while the campaign was still live.

The attacker left the door open

The most striking part of the story is how Perplexity got its inside view. Several probes pointed back to one external server. When the company scanned it, it found 207 open ports running ad-hoc services — and 29 ports serving unauthenticated directory listings to the public internet. Those listings exposed more than 10,000 files from the attacker's working directories, including live campaign workspaces aimed at two other companies, referred to only as Company A and Company B. Perplexity says it notified both security teams on 4 November while the operations were still underway.

Inside those workspaces, the campaign was being run with Cairn, an open-source agent harness that structures work as a graph of observations and tasks. The objective, preserved in the operator's own prompt, was to obtain AWS keys or Bedrock bearer tokens able to invoke two latest-generation frontier models — ideally with broad permissions. In Company A's workspace, the agent created 276 follow-up tasks on its own after the initial bootstrap, with up to 14 running in parallel. Neither of the other campaigns reached the Bedrock objective either, though both got further than the Perplexity attempt: Company A's agent found a live customer credential in deleted git history and took over a workspace, while Company B's agent planted a persistent command runner on a demo environment and collected local secrets, though its attempts to invoke models were rejected.

Was it really like that?

It is worth being clear about the limits here, because Perplexity itself is. The company notes that the exposed server was almost certainly only one slice of a larger operation, that only Company A's directory held its full task graph, and that its picture of the other two campaigns comes from the agent's own compressed notes — which can misread responses or overstate access. The operator's motive for wanting frontier-model access is unknown. And the two other companies are unnamed, so their side of the story is not public.

Even with those caveats, the core claims are unusually checkable for a vendor post-mortem: dated telemetry, named techniques, published threat indicators, and a harness (Cairn) that other researchers have also observed in offensive campaigns. The honest reading is that this was a real, sustained, machine-run probing campaign that failed against Perplexity because basic controls — URL validation, authorisation checks, rate limiting — were already in place before it started.

Why this matters beyond Perplexity

The practical lesson is uncomfortable and simple. Agent harnesses make it cheap to probe a target around the clock and adapt every time a request fails. Perplexity's conclusion is that defenders should use the same capability against their own systems — running autonomous agents over their own code and external surfaces to find leaked secrets and exposed endpoints first.

For everyday users, the takeaway is more mundane but just as real: automated attackers now test thousands of paths and guessable file locations without getting tired. Strong, unique credentials still blunt a large share of that noise. If you are reusing passwords across services, a quick password strength checker test is a sensible place to start, and knowing what your connection reveals is just as useful — our IP address checker shows the address and network details sites can see when you visit them.

Sources

- Perplexity, "How Perplexity defended against an autonomous AI attacker", 2 December 2026

- TechCrunch, "Perplexity caught an autonomous AI hacker trying to steal tokens", 2 December 2026

- RuntimeWire, "Perplexity says an autonomous AI agent spent two weeks hunting its Bedrock keys and got nothing", 2 December 2026

Share: X Facebook WhatsApp LinkedIn

Awais Arshad

FastToolKit publishes practical guides about free online tools and technology.