Perplexity blocks 48,000 probes by autonomous AI agent

Perplexity blocks 48,000 probes by autonomous AI agent

On December 2, Perplexity published a post-mortem of an attack in which an autonomous agent driven by a large language model, given nothing more than a one-line goal from its operator, spent about two weeks repeatedly probing Perplexity's platform and APIs. Its aim was to obtain a cloud credential that could call two frontier models through Amazon Bedrock. Perplexity says every attempt was stopped by its existing defenses, and that no internal services, customer data or platform secrets were exposed.

How the attack unfolded

According to Perplexity's write-up and reporting by outlets including BleepingComputer, the attacker used Cairn, an open-source penetration-testing framework that can orchestrate multiple AI agents toward a goal set by the operator. The agent first abused the product's URL-fetching feature to attempt server-side request forgery (SSRF), targeting the AWS metadata service and internal systems. It then enumerated secrets in object storage, mapped API routes, tried to read other customers' data without authorization, and combed public code repositories, Git history, software packages and container images for leaked credentials.

When it hit rate limits, it bulk-registered new accounts with disposable email addresses and rotated proxies to obtain fresh login sessions. Each time a request failed, it switched tactics. Perplexity described it this way:

"one operator prompt, hundreds of self-directed tasks, and probing that adapts every time a request fails"

The numbers

The attack began in late October and peaked on November 2 with about 48,000 requests in 13 minutes, more than 200 per second. Over its course it probed roughly 28,000 potential API endpoints, using more than 40 disposable accounts and about 290 residential and cloud-server proxy IPs. In one attacker workspace that Perplexity preserved, the agent spawned 276 follow-up tasks in 19.5 hours, with up to 14 running at the same time.

The security team received an alert on November 2, notified two other companies that were also being targeted on November 4, and ended active response on November 5. It was Perplexity's own agent product, Computer, that tied the scattered throwaway accounts together as a single campaign and reported it to the security team. What actually stopped the attack were routine controls such as outbound URL validation and permission checks.

Two other companies fared worse

Perplexity then traced the activity back to the attacker's server: 207 open ports, and 29 web servers exposing directory listings without authentication, holding more than 10,000 files. According to the attacking agent's own notes, at one company it gained administrator access to a customer workspace along with short-lived AWS credentials, though those credentials could not call Bedrock. At another, it breached a demo environment and left persistent access. BleepingComputer reports that it also collected password vaults, Kubernetes secrets and AWS credentials there.

Perplexity cautions that these details come from the agent's own records, which may misread responses or overstate the access obtained, and that the company did not verify those credentials. The identities of the two companies and of the attacker, and what the attacker intended to do with model access, have not been made public and cannot be independently verified.

What it means for teams in China

Cairn is open source, so anyone can run it. Several elements of the attack chain exist on Chinese clouds as well: cloud server metadata services, AI features that fetch URLs, object storage, and historical commits in public repositories. For AI applications that ship a feature like "read this web page for me," the first thing to check is whether outbound requests can reach internal network addresses.

What the attacker ultimately wanted was a credential that can call a frontier model. Model-call quota has become something that can be resold, so pay-as-you-go API keys should be managed at the same level as production secrets: restrict their origin, set usage caps and rotate them regularly.

Sources: Perplexity official blog, BleepingComputer, CocoLoop, The Circuitry; media reports were used to verify the request peak, the account and proxy counts, and the response timeline.