Perplexity Catches an Autonomous AI Hacker Trying to Steal Tokens
Perplexity's postmortem says an LLM-driven agent running an open-source harness probed it for cloud credentials for about two weeks and failed, after targeting at least two other companies.

Perplexity said on 2 December that an autonomous, LLM-driven agent spent roughly two weeks trying to harvest cloud and AI-service credentials from its systems, and that its existing controls blocked every attempt.
What Perplexity reported
TechCrunch described the incident as a "relentless AI-powered cyberattack" fended off in early November, based on a postmortem Perplexity published. Per that account, the attacker's goal was to obtain cloud credentials capable of invoking two frontier models through Amazon Bedrock. Perplexity says the attacker reached no internal services, customer data or platform secrets, and that it was one of at least three targets.
The company's timeline, in UTC, begins with disposable accounts and low-volume reconnaissance on 24 to 28 October. On 2 November, high-rate server-side request forgery (SSRF) and API sweeps began, and Perplexity's own agent platform, Computer, flagged them to the security team. The peak sweep sent about 48,000 requests in 13 minutes. By 4 November Perplexity had located the attacker's exposed server and warned the other targets, and probing stopped after 6 to 8 November.
The techniques
The postmortem lists a broad but fairly conventional toolkit applied at machine speed:
- SSRF attempts to reach cloud metadata and internal services, using decimal and hex IP rewriting, malformed URLs, redirect chains and DNS-rebinding domains.
- About 3,681 failed lookups of object-storage keys, across more than 3,300 names, aimed at files such as
.env.productionand AWS credential files. - Sweeps of roughly 28,000 guessed API routes, which returned 404 errors.
- Privilege-escalation and cross-tenant access attempts, all denied.
- More than 40 disposable-email accounts and about 290 residential and cloud proxy addresses to evade blocking.
Perplexity says outbound URL validation resolved hostnames at connection time and blocked private and link-local destinations, which defeated the evasions. Its conclusion, in its own words: "Our security controls held."
A look inside the attacker's harness
The most unusual part is what Perplexity found on the attacker's server. The campaign callbacks led to a single machine with 207 open ports, 29 of them exposing unauthenticated directory listings. These held more than 10,000 files, including probing scripts, logs and live campaign workspaces aimed at two other organizations, called Company A and Company B.
The operator ran Cairn, an open-source agent harness; TechCrunch says it resembles another harness named Artex. Each campaign is a graph of observations and worker tasks with an operator-defined goal. Workers ran as command-line coding agents in a Kali Linux container. In Company A's graph, the worker spawned 276 follow-up tasks by itself over 19.5 hours, with up to 14 in parallel, and marked 37 conclusions as dead ends. Its path moved from certificate-transparency logs and passive DNS to mining git history, analyzing packages and container layers, validating found credentials, and signing up for accounts to pivot into cloud resources.
Where other targets fared worse
Perplexity's account of Companies A and B is less comforting, though it cautions that it rests partly on the coding agent's own compressed notes, which may be inaccurate. At Company A, the agent reportedly found a live customer OAuth credential in deleted git history, took over that customer's workspace, ran code on managed compute and obtained short-lived AWS workload credentials, which lacked Bedrock permissions. At Company B, it logged into an exposed management API on a demo environment and deployed a persistent command runner that logged about 1,000 callbacks over 15 hours, collecting password stores, Kubernetes secrets and instance-role credentials. Its Bedrock requests there were rejected. Perplexity sent technical reports and indicators to both companies on 4 November.
Why it matters
The disclosure is an early public, detailed example of agentic offense in the wild, and the details point to a shift in economics rather than novelty: the attack techniques were standard, but an open-source harness let an operator run many parallel, self-directing investigations cheaply. The targeting is also telling, since access to accounts that can call frontier models is the prize. Perplexity itself flags limits: the exposed server was probably part of a larger operation, only Company A's full task graph was preserved, the control plane ran elsewhere, and the operator's purpose for the Bedrock access is unknown.
The practical lessons are old ones, applied faster: strict outbound URL validation, scrubbed git history, no exposed management interfaces on demo systems, and monitoring that can keep pace with an adversary that adapts within hours.