
An Autonomous AI Attacker Probed Perplexity. Familiar Defenses Held.
Yoni Fraimorice
An attacker can give an AI agent a goal without writing every step of its plan. That does not make the goal the agent's own, or make its techniques impossible to stop.
On December 2, 2026, Perplexity published its account of an attack against its infrastructure in late October and early November. It says an autonomous, LLM-driven agent tried to obtain cloud and AI-service credentials. The company says its controls blocked every probe: no internal services, private customer data or platform secrets were accessed.
While investigating, Perplexity found an exposed server with campaign workspaces aimed at two other, unnamed companies. Their security teams were notified while the activity was still underway. The picture of those other campaigns has important limits: it comes from the attacker's agent's own notes, which could misread responses or overstate access.
This article uses only the source excerpts supplied with the publication brief; the linked reports were not fetched independently. The attacker is unidentified.
One goal, many tasks
Perplexity says the attacker used Cairn, an open-source harness that coordinates agents around an operator-defined goal. Here, the goal was to obtain credentials or service tokens able to call two frontier models through Amazon Bedrock. The operator's prompt does not reveal why those models were wanted.
A harness provides structure around the model. In this case, Perplexity describes a graph of observations, or facts, and worker tasks, or intents. A task could refer to earlier facts and record a new conclusion. Workers ran as command-line coding agents in a Kali Linux container, with access to a shell, network and headless browser.
The most complete recovered graph came from the campaign against Company A. After an initial bootstrap task, the worker created 276 follow-up tasks itself. Across 19.5 hours, the graph recorded 277 tasks in total: 263 completed and 14 still running. It contained 265 facts, with up to 14 tasks running in parallel and a median task duration of 11 minutes.
The graph also recorded failure. Of 37 conclusions marking a branch as a dead end, 19 were cited by later tasks, after a median of 31 minutes. That does not prove every decision was good. It does show how a worker could use a record of earlier work to choose what to try next without a person approving each follow-up shown in that graph.
This is different from the Rhysida case, where CloudSEK described a human approving sensitive steps. In both cases a person set the direction; the recovered Company A graph shows more of the follow-up work being delegated.
What appeared in Perplexity's logs
According to Perplexity, the campaign began with low-volume reconnaissance and newly registered disposable accounts. It then tested URL-fetching endpoints for server-side request forgery (SSRF): attempts to make a service fetch destinations the attacker should not be able to reach. It also guessed object-storage keys and API routes, and tested privilege escalation and access to other users' threads, files and workspaces.
On November 2, the largest sweep sent roughly 48,000 requests in 13 minutes across 28,000 guessed routes, at over 200 requests per second. By November 4, Perplexity says it had seen more than 40 disposable-email accounts and roughly 290 residential and cloud proxy addresses. Rotating identities made correlation harder, but did not make the activity invisible.
The techniques were familiar, even if an agent coordinated the work. For example, the attacker tried redirects and alternate representations of an address to bypass URL checks. Perplexity says its outbound validator resolves hostnames and blocks private addresses. Authorization checks denied cross-tenant access and privilege escalation; guessed API paths returned 404.
The storage sweep also failed to reach private objects. Perplexity reports 3,681 failed S3 lookups across more than 3,300 unique keys in a 14-hour window. Its agent platform, Perplexity Computer, flagged the probing in application logs and escalated it to the security team. Existing rate limits and logging mattered alongside the URL and authorization controls.
An exposed server and two other campaigns
Several probes pointed to one external server used for staging payloads and receiving callbacks. Perplexity says the server exposed 207 ports, many running small services for individual steps. Directory indexes on 29 ports exposed more than 10,000 files, including scripts, logs and live workspaces. Perplexity says the server was almost certainly only one slice of a larger operation; Cairn's control plane ran elsewhere.
The recovered notes describe serious access at Company A. Perplexity says the agent found a live customer OAuth credential in deleted Git history, took administrative control of that customer's workspace, ran code on managed compute, reached internal endpoints and captured a stored Git token. It also obtained short-lived AWS workload credentials, but those lacked permission to invoke Bedrock.
For Company B, the notes describe a login to an exposed management API in a demo environment and deployment of a persistent command runner. It recorded roughly 1,000 callbacks over 15 hours and collected local password stores, Kubernetes secrets and EC2 instance-role credentials. Preserved attempts to call models through the company's Bedrock proxy were rejected.
These are Perplexity's descriptions of the agent's recorded observations, not independent confirmation of every claimed action. Only Company A's directory contained a full task graph; the other workspaces contained partial outputs and callback logs. Perplexity did not test recovered credentials against third-party systems. It says none of the three campaigns reached the Bedrock objective.
The useful lesson is not that every attack needs AI
Perplexity notified both companies on November 4, within hours of identifying the server. It also added blocks on DNS services used by the attacker, tighter network restrictions around internal and metadata destinations, and stricter edge access controls. Active incident response wrapped up on November 5, with automated monitoring continuing; probing stopped after the last disposable accounts were created on November 6.
For defenders, the useful questions are concrete: can a URL-fetching service reach private or metadata addresses after redirects and DNS resolution? Are authorization checks enforced for every tenant and resource? Can logs connect high-rate activity across accounts and proxies? Are old credentials still present in Git history, and are workload permissions limited?
No single control tells the whole story. Perplexity's account shows why layered checks, rate limits and useful logs can interrupt a persistent campaign using ordinary techniques. It also shows why the attacker's notes about other organizations need careful verification, not a more dramatic headline.
Sources
- Perplexity: How Perplexity defended against an autonomous AI attacker — incident timeline, recovered workspaces, reported outcomes and limitations.
- TechCrunch: Perplexity caught an autonomous AI hacker trying to steal tokens — independent coverage of the reported attack and Cairn.
- BleepingComputer: Autonomous AI attack targeted Perplexity to steal cloud credentials — independent coverage of the campaign and Perplexity's cautions.
Hero image: Racks Amravati Data Center, by PiDatacenters, via Wikimedia Commons, CC BY-SA 4.0. Illustrative data center aisle, not Perplexity or any affected system. Resized from 6000 × 4004 to 1920 × 1281 pixels and compressed.
Discussion
One discussion for the English and Hebrew editions.
Loading comments...