Perplexity spent the first week of November 2026 fending off an attacker that was not a person at a keyboard. It was an autonomous AI agent — a program that set its own tasks, learned from its failures, and kept probing for roughly two weeks — trying to steal the cloud credentials that would let it use two of the newest frontier AI models through Amazon Bedrock. Perplexity published a postmortem on 2 December 2026.
The numbers give the scale. At its peak on 2 November, the agent sent roughly 48,000 requests in 13 minutes across 28,000 guessed web addresses, topping 200 a second. It cycled through more than 40 disposable accounts and about 290 proxy addresses, so no single account ever showed the full extent of the probing. It tried 3,681 Amazon S3 lookups hunting for files like .env.production and .aws/credentials.
What makes the incident worth more than a scare headline is the ending. Perplexity’s defences held, and the company then traced the attack back to a server the attacker had left exposed, recovering more than 10,000 files from the campaign’s working directories. That server is why we know as much as we do — including that Perplexity was one of at least three targets.
Key takeaways
- An autonomous AI agent attacked Perplexity in late October and early November 2026, aiming to harvest cloud credentials for Amazon Bedrock access.
- Probing peaked on 2 November at roughly 48,000 requests in 13 minutes, across 28,000 guessed API routes, using 40+ disposable accounts and about 290 proxies.
- Perplexity says every probe was blocked and the attacker reached no internal services, customer data, or platform secrets.
- The attacker’s exposed server revealed live workspaces targeting two other unnamed companies, which Perplexity warned on 4 November.
- At those two companies the agent got deeper footholds, though none of the three campaigns reached the objective.
How the attack unfolded
The campaign began quietly. Between 24 and 28 October, the attacker created its first disposable accounts and ran low-volume reconnaissance. The high-rate probing began on 2 November, when Perplexity Computer — the company’s own agent platform — flagged activity beyond routine scanning. A wave of brand-new accounts had started sweeping Perplexity’s APIs and feeding suspicious web addresses into features that fetch external links.
The largest sweep on 2 November sent about 48,000 requests in 13 minutes. Two further 15-minute sweeps followed on 3 November, of about 9,300 and 12,700 requests, and likewise returned only 404 errors. Whenever a rate limit or block triggered, the attacker rotated to fresh infrastructure. By 4 November it had cycled through more than 40 disposable-email accounts and roughly 290 proxy addresses.
Six techniques, and why each one failed
Perplexity says the attacker used six techniques from unauthenticated endpoints and newly registered free accounts: server-side request forgery, object-storage enumeration, API route discovery, privilege escalation, cross-tenant access, and evasion. The first did the most work. On features that fetch user-supplied links, the agent worked through bypass attempts aimed at cloud metadata services and private network ranges. Our explainer on how AI-powered search engines work covers the link-fetching features the agent abused.

Direct requests to internal addresses were rejected immediately, so the agent shifted to filter evasions: rewriting the metadata address in decimal and hexadecimal formats, crafting malformed web addresses, and bouncing redirects through public tunnel services. It also used DNS-rebinding domains, hoping a hostname would resolve to a public address during validation and flip to an internal address on the fetch. Because Perplexity’s outbound validator blocks private destinations at connection time, those attempts failed too.
The exposed server that gave the game away
Several forgery and callback probes pointed back to a single external server, at 185.87.121.140, which the attacker used to stage payloads and catch out-of-band responses. Hoping to inspect the redirect scripts, Perplexity scanned the host across all TCP ports. The scan turned up 207 open ports, nearly all running ad-hoc Python web services spun up for individual attack steps.
Alongside them, 29 ports were serving unauthenticated Python SimpleHTTP directory indexes to the public internet. Those open directories exposed more than 10,000 files, including probing scripts, receiver logs and extracted assets. They also held live campaign workspaces targeting two other organisations, Company A and Company B.
Inside the agent: Cairn, and a task list that wrote itself
The workspaces showed the campaign was run autonomously with Cairn, an open-source agent harness recently observed in other offensive campaigns, and similar to the Artex harness, according to TechCrunch. Cairn structures each campaign as a graph of observations, called facts, and worker tasks, called intents, stored alongside an operator-defined goal.
In all three workspaces, the objective was the same: obtain cloud credentials or service tokens capable of invoking two latest-generation frontier models through Amazon Bedrock. In the Company A workspace, the operator’s prompt survived in full, with company and model names removed. It asked for a key pair or bearer token that directly invokes the Bedrock runtime, preferred broad IAM permissions, and told the agent to save any working credential as “AWS Bedrock PRIZE”.
How autonomous it really was
The preserved Company A task graph shows how far agent autonomy has come. A single bootstrap step started the campaign, and the worker agent created 276 subsequent tasks on its own: 277 intents in all, 263 completed and 14 still running, with 265 facts over 19.5 hours. Up to 14 tasks ran in parallel, with a median duration of 11 minutes.
What stands out is the adaptation. Every task after the bootstrap cited between one and six earlier facts to decide what to try next, including failed paths: 37 conclusions marked an investigated branch as a dead end, and 19 were cited by new tasks within a median of 31 minutes. In one sequence, a code-search task concluded that the GitHub code-search API requires authentication. Within 25 minutes, the agent opened three parallel tasks — one to find a token and two to mine alternative sources — before returning once a token was found.
What happened at the other two companies
Impact varied sharply, although none of the campaigns reached the Bedrock objective. Against Perplexity, the agent recovered no victim or platform credentials. At Company A, it found a live customer OAuth credential in deleted git history, took administrative control of that customer’s workspace, and ran code on managed compute.
At Company B, the agent logged into an exposed management API on a demo environment and deployed a persistent command runner that recorded roughly 1,000 callbacks over 15 hours, with new entries still arriving as Perplexity examined the host. Through that foothold it collected local password stores, Kubernetes secrets and EC2 credentials, though Bedrock proxy invoke attempts were rejected.
The caveats that matter
Perplexity’s own postmortem is careful about its limits. What was found on the exposed server was almost certainly only one slice of a larger operation: only Company A’s directory still held its full task graph, and because Cairn’s control plane ran elsewhere, any wiped runs or other worker hosts remained out of view. The agent’s own records are also the evidence for Companies A and B, and agents can misread responses or overstate partial access.
Perplexity autonomous AI attack at a glance
| Detail | What is known |
|---|---|
| Disclosed | 2 December 2026, by Perplexity postmortem |
| Campaign window | Recon 24–28 October; peak 2 November; stopped by 8 November 2026 |
| Peak rate | Roughly 48,000 requests in 13 minutes; over 200 per second; 28,000 guessed routes |
| Infrastructure | 40+ disposable accounts; about 290 residential and cloud proxies |
| Harness | Cairn, an open-source harness; operator sought AWS Bedrock credentials for two frontier models |
| Exposed server | 185.87.121.140; 207 open ports; 29 open indexes; 10,000+ files recovered |
| Outcome at Perplexity | Nothing taken: no internal services, customer data, or platform secrets accessed |
| Other targets | Company A and B, unnamed; both breached through old mistakes |
What it means for AI security
The Perplexity incident is the clearest public demonstration yet that autonomous AI attackers are already here, and that the defences that stop them are not exotic. As chief executive Aravind Srinivas put it: “Strong baseline security is still what decides day-one outcomes: connection-time URL validation, strict authorization, and cleaning up deleted git history or exposed demo environments.” Our guide to the best AI productivity tools covers what these systems do for a team; this incident shows what happens when the same capabilities are pointed the other way.
Checklist: six checks after an autonomous AI attack
Use these checks to judge whether your own setup would have held up.
- Validate outbound URLs at connection time, not only when first submitted, so DNS rebinding and redirect tricks fail.
- Search deleted git history for live credentials, and rotate anything that appeared there.
- Audit demo and staging environments for exposed management APIs, and shut down anything that should never have been public.
- Correlate accounts by shared IPs, disposable email domains and callback hosts, so one campaign cannot hide behind dozens of signups.
- Rate-limit per account and per IP, and treat a wave of brand-new accounts sweeping APIs as an incident.
- Keep an AI-assisted triage workflow ready, so the first alert is grouped and escalated within hours, not days.
Frequently asked questions
What exactly was the Perplexity attacker trying to steal?
Cloud credentials and service tokens that could invoke two latest-generation frontier AI models through Amazon Bedrock. The operator’s prompt told the agent to prefer broad-permission credentials and save any working credential as “AWS Bedrock PRIZE”. The purpose is unknown.
How did Perplexity catch it?
Perplexity Computer, the company’s agent platform, flagged the probing in application logs on 2 November, when a wave of brand-new accounts began sweeping APIs and feeding suspicious addresses into link-fetching features. It grouped dozens of throwaway accounts into one campaign through shared IPs, disposable email domains and callback hosts.
Did the attacker get anything from Perplexity?
No. Perplexity says its controls blocked every probe, and cross-checking application requests against cloud audit logs confirmed the attacker accessed no internal services, private customer data, or platform secrets.
What is Cairn?
Cairn is an open-source agent harness and penetration-testing tool that structures a campaign as a graph of observations and worker tasks, with an operator-defined goal. It lets one prompt turn into hundreds of self-directed tasks that adapt when a route fails. TechCrunch notes it is similar to the Artex harness.
What happened at the two other companies?
At Company A, the agent found a live customer OAuth credential in deleted git history, took administrative control of that customer’s workspace, and ran code on managed compute, obtaining short-lived AWS credentials that could not invoke Bedrock. At Company B, it logged into an exposed management API on a demo environment and collected password stores, Kubernetes secrets and EC2 credentials. Neither company was named.
How can a small team defend against an autonomous attacker?
The same basics that saved Perplexity: connection-time URL validation, strict authorisation, rate limits, and cleaning up secrets in git history and demo environments. Those controls are not expensive, but they must be in place before the campaign starts. Our list of 7 ways to use AI tools to save time at work shows how widely these systems are now used.
Bottom line: An autonomous AI agent spent two weeks trying to steal cloud tokens from Perplexity, at one point firing roughly 48,000 requests in 13 minutes, and came away with nothing. The company’s baseline controls held, and its own agent platform caught the campaign and helped warn the other victims.
The warning is in the second half of the story. The same agent, running the same playbook, got inside two other companies through a credential left in deleted git history and a demo environment left exposed. Autonomous attackers are already here, they do not get tired, and they will keep probing until they find the one mistake. The defence is the boring basics, done before the attack starts.


