AI Agent Attacked Perplexity 48,000 Times — and Failed

One operator prompt. 277 self-directed tasks. 48,000 requests in 13 minutes. On December 2, Perplexity published a postmortem of an autonomous AI attacker that spent two weeks hunting its cloud credentials — and came away with nothing. Two other companies fell.

This is the first detailed public case of an AI agent running a full attack campaign on its own: one prompt in, hundreds of tasks out, probing that adapted every time a request failed. Perplexity was one of at least three targets, and the campaign ran from October 24 to November 8, 2026.

48,000 requests in 13 minutes

The peak came on November 2: 48,000 requests in 13 minutes — over 200 per second — across 28,000 guessed API routes. Two more sweeps followed on November 3 (about 9,300 and 12,700 requests), and Perplexity logged 3,681 failed object-storage lookups in 14 hours across more than 3,300 unique keys — probing for .env.production, .aws/credentials, and state.tfstate.

Perplexity blog hero image for the autonomous AI attacker disclosure
Perplexity’s illustration for its postmortem. Image: Perplexity.
Date What happened
Oct 24, 2026 Campaign begins; first probes against Perplexity and two other companies
Nov 2, 2026 Peak: ~48,000 requests in 13 min, 28,000 guessed routes, >200 req/sec
Nov 3, 2026 Two sweeps (~9,300 and ~12,700 requests); 3,681 failed storage lookups in 14h
Nov 4, 2026 Perplexity notifies both other companies
Nov 8, 2026 Campaign ends
Dec 2, 2026 Perplexity publishes the full postmortem

The numbers that matter

48,000
requests in 13 min — Nov 2 peak, >200/sec (Perplexity)

277
self-directed tasks in Company A’s graph, over 19.5 hours (Perplexity)

0
credentials accessed at Perplexity in the whole campaign

The six techniques the agent tried

The attacker ran Cairn, an open-source agent harness — one operator prompt driving hundreds of tasks — through six techniques:

Technique What the agent tried
SSRF (server-side request forgery) Reach the cloud metadata endpoint via decimal/hex encodings and DNS rebinding (rbndr.us)
Object-storage enumeration Guess S3-style keys (.env.production, .aws/credentials, state.tfstate); 3,681 failed lookups in 14h
API route discovery Probe 28,000 guessed routes looking for unprotected endpoints
Privilege escalation Chain any foothold into broader access inside the target
Cross-tenant probing Test if one tenant’s access reaches another tenant’s data
Evasion Rotate 40+ disposable accounts and ~290 proxies to dodge rate limits

None of it worked against Perplexity: the metadata endpoint stayed unreachable, the storage keys did not exist, and every probe was blocked or logged.

The exposed server: 185.87.121[.]140

The break came from the attacker’s own slip: one IP got locked out of all its proxies and routed through a real server, 185.87.121[.]140, with 207 open ports, 29 unauthenticated SimpleHTTP indexes, and more than 10,000 files — including Cairn’s source code, the operator’s prompt, and the attack graphs for both companies.

The operator’s goal was to obtain AWS keys or a Bedrock bearer token that could invoke two latest-generation frontier models on the target’s infrastructure. The prize was not data — it was compute: running frontier AI on someone else’s cloud bill.

“This incident shows what an autonomous AI attack looks like in action: one operator prompt, hundreds of self-directed tasks, and probing that adapts every time a request fails.” — Perplexity, in its Dec 2 postmortem

Perplexity Computer launch visual
Perplexity Computer — Perplexity’s agent that runs tasks across apps. Image: Perplexity.

Company A and Company B: what the attacker got

The same campaign hit two other companies — and there, the agent got in. Company A faced the full treatment: 277 intents over 19.5 hours, up to 14 tasks in parallel, median 11 minutes. It found a live customer OAuth credential in deleted git history, gained admin control of the workspace, placed code on managed compute, and found a stored Git token plus short-lived AWS credentials — but never invoked Bedrock.

Company B was worse: an exposed management API gave the agent a persistent command runner with roughly 1,000 callbacks over 15 hours, reaching password stores, Kubernetes secrets, and EC2 role credentials — but the Bedrock proxy invoke was rejected.

1 — ReconMap routes, storage keys, metadata endpoints.
2 — SweepFire tens of thousands of requests across guessed routes.
3 — HuntTry SSRF and storage enumeration for credentials.
4 — ValidateTest any key found for real access.
5 — PivotUse valid credentials to invoke Bedrock.

Perplexity notified both companies on November 4. Its conclusion: “We were one of at least three targets, and after tens of thousands of probing attempts against our systems, the attacker came away with nothing.”

Why this matters for your money

A valid AWS key with Bedrock access lets an attacker run frontier models on your bill — thousands of dollars an hour in GPU inference, before you notice. That is why the attacker wanted keys, not data: compute is the new loot.

How to defend your own stack

The same five controls apply to your own stack:

  • Block metadata access. Cloud metadata endpoints should never be reachable from app servers.
  • Scan git history for secrets. Company A’s live OAuth credential sat in deleted git history — rotate anything ever committed.
  • Rate-limit per identity, not per IP — the attacker rotated 40+ accounts and ~290 proxies.
  • Give Bedrock and IAM roles least privilege — short-lived credentials with no Bedrock invoke saved both companies.
  • Watch for agent-shaped traffic — thousands of requests across guessed routes, adapting after every failure.
Frame from Perplexity's official Computer launch film on YouTube
Perplexity’s Computer agent, from the official launch film. Image: Perplexity / YouTube.

What Perplexity did right

Perplexity blocked every probe, traced the attacker to its own server, warned the other victims within days, and published the full postmortem a month later.

The age of autonomous attacks is here. The first one lost. The next one will have learned from it.

Frequently asked questions

What is Cairn?

Cairn is an open-source agent harness the attacker used to run the campaign. One operator prompt drove hundreds of self-directed tasks, with the agent adapting its probing after every failed request. Perplexity found Cairn’s source code on the attacker’s exposed server.

How many requests did the attacker send to Perplexity?

The peak was about 48,000 requests in 13 minutes on November 2, 2026 — more than 200 per second across 28,000 guessed routes. Two more sweeps of about 9,300 and 12,700 requests followed on November 3, plus 3,681 failed object-storage lookups in 14 hours.

Did the attacker steal anything from Perplexity?

No. Perplexity confirmed zero credentials were accessed across the whole campaign, from October 24 to November 8, 2026. Every SSRF attempt, storage probe, and route sweep was blocked or logged.

What happened to the other two companies?

Both were breached to some degree. Company A lost a live customer OAuth credential (found in deleted git history) and the attacker gained admin control of its workspace. Company B exposed a management API that gave the attacker a persistent command runner with about 1,000 callbacks over 15 hours, plus password stores and Kubernetes secrets. Neither company lost Bedrock invoke access.

What was the attacker’s goal?

To obtain AWS keys or a Bedrock bearer token that could invoke two latest-generation frontier models on the target’s infrastructure — effectively running frontier AI on someone else’s cloud bill. Perplexity published the operator’s prompt with the target details redacted.

How can I protect my company from AI agent attacks?

Block cloud metadata endpoints from app servers, scan git history for committed secrets, rate-limit per identity rather than per IP, give cloud roles least privilege (especially no Bedrock invoke where it is not needed), and monitor for agent-shaped traffic — high-volume route guessing that adapts after failures.

Where can I read the full postmortem?

Perplexity published it on its blog on December 2, 2026: How Perplexity Defended Against an Autonomous AI Attacker. It includes the full timeline, the six techniques, and the attack graphs for both other companies.

Sources: Perplexity — How Perplexity Defended Against an Autonomous AI Attacker (Dec 2, 2026); Perplexity — Introducing Perplexity Computer.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top