Perplexity Details an Autonomous AI Attack on Its Systems
For two weeks an autonomous AI agent probed Perplexity for cloud credentials that could run two frontier models on Amazon Bedrock, peaking at about 48,000 requests in 13 minutes. Perplexity says every probe was blocked, and the attacker’s exposed server revealed intrusions at two other companies.
Perplexity has published a detailed account of an attack carried out almost entirely by an AI agent. In a post-mortem dated December 2, the company says that from late October to early November an attacker ran an autonomous, LLM-driven agent against its systems to harvest cloud and AI-service credentials. The agent rotated through disposable accounts and proxies, tested link-fetching features for server-side request forgery, swept storage and API paths, and tried to escalate privileges. It peaked on November 2 with roughly 48,000 requests in 13 minutes across 28,000 guessed routes, more than 200 a second. Perplexity says its outbound URL validation and authorization checks blocked every probe, and that over two weeks the attacker reached no internal services, private customer data or platform secrets.
The target was compute, not data. All three of the attacker’s campaign workspaces that Perplexity recovered carried the same goal: obtain cloud credentials or service tokens able to call two latest-generation frontier models through Amazon Bedrock. Perplexity redacts the two models as Model A and Model B. The agent’s instructions asked for AWS access-key pairs or Bedrock bearer tokens, preferably with broad administrator permissions, and told it to sweep every Bedrock region. The operator’s reason for wanting that access does not appear anywhere in what Perplexity found.
The attack ran on Cairn, an open-source agent harness that Perplexity says has also turned up in other offensive campaigns, citing write-ups by NorForge and Google Threat Intelligence. Cairn organises a campaign as a graph: an operator sets a goal, worker agents take tasks, and each task records what it learned as a new fact that later tasks build on. The workers were command-line coding agents inside a Kali Linux container with shell, network and headless-browser access. The one fully preserved graph shows how little the operator had to do: a single bootstrap task led the agent to create 276 more, 277 in total, producing 265 facts over 19.5 hours, with up to 14 tasks running in parallel and a median of 11 minutes each. Of 37 conclusions marked as dead ends, 19 were picked up again by later tasks, typically within half an hour.
The techniques themselves were familiar. Against Perplexity, the agent tried to bounce requests to cloud metadata addresses through decimal and hexadecimal rewrites, malformed URLs, public tunnel redirects and DNS-rebinding domains, guessed object-storage keys such as .env.production, .aws/credentials and Terraform state files, and enumerated thousands of candidate API routes. It cycled through more than 40 throwaway email accounts and about 290 residential and cloud proxy addresses. Its reconnaissance was industrial in scale: certificate-transparency logs, passive DNS, web archives, unpacked npm, PyPI and mobile app packages, and git history. One task queued 4,328 forks of ten public repositories for secret scanning and finished 4,281 of them.
What makes the post unusual is what Perplexity found on the other side. The attacker’s staging server had 207 open ports, 29 of them serving unauthenticated directory listings, exposing more than 10,000 files. They showed the same agent had succeeded elsewhere. At one unnamed company it 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 behind IP allowlists and captured a stored Git token, along with short-lived AWS credentials that turned out not to allow Bedrock calls. At a second, it logged into an exposed management API on a demo environment, planted a persistent command runner that called home about 1,000 times over 15 hours, and collected password stores, Kubernetes secrets and EC2 role credentials. Its attempts to call models through that company’s Bedrock proxy were rejected. Perplexity says it alerted both companies’ security teams on November 4, within hours of finding the server.
The account comes with caveats, several of them Perplexity’s own. The detection story features its Computer agent product, which first flagged the new accounts sweeping its APIs, then ran a monitoring workflow for more than five days and drafted hardening changes that engineers shipped mid-campaign. The picture of the two other breaches comes from the attacking agent’s own condensed notes, and Perplexity warns that agents can misread responses or overstate partial access; it did not test the recovered credentials. The exposed server was, in its words, almost certainly only one slice of a larger operation. The post names no attacker and does not say whether AWS or law enforcement were told. It does publish the indicators, including the server address, the throwaway email domains and the DNS-rebinding patterns.
Evaluations have been warning that frontier models are getting good at offensive work, most recently when GPT-6 Astra cleared the UK AI Security Institute’s hardest cyber range, and Google has already caught attackers using AI to build a zero-day. Perplexity’s post shows the operational version: a patient agent working through thousands of ordinary techniques without tiring. The defence was ordinary too: none of the controls that stopped the agent at Perplexity were new, and the deepest break-in it describes began with a credential someone had left behind in deleted git history.
More on Perplexity
Evergreen coverage we keep current — start here.
Want AI news before everyone else?
The morning's most important AI stories, straight to your inbox. No fluff.