One prompt, typed once, turned into 276 tasks that an AI agent wrote for itself, and a burst of about 48,000 requests in 13 minutes against a single company. That is how Perplexity describes the autonomous attack it fought off in late October and early November 2026. The prize was not customer data. It was a cloud key that could run two frontier AI models on someone else’s bill.
In short: the Perplexity Cairn attack was an AI agent campaign built on the open-source Cairn framework (oritera/Cairn, by the developer oritera, latest release v0.2.1). Its goal was to steal credentials for Amazon Bedrock. Perplexity says the attack failed against it, but the same agents broke into two other, unnamed companies. Perplexity first made the incident public in its own report on 2 December 2026, and BleepingComputer and TechCrunch covered it the same day.
This article walks through the timeline, what the agents tried, what the attacker’s open server revealed, how it compares with earlier Cairn cases, and what defenders should check now.
- What happened in the Perplexity Cairn attack?
- What is Cairn?
- What did the attacker want?
- How did the Cairn agents attack?
- What was on the attacker’s exposed server?
- Who else was affected?
- How does it compare with earlier AI agent attacks?
- How do you detect a Cairn-style attack?
- What should defenders do now?
- Is this proof that AI attackers are unstoppable?
- What is still unknown?
- The bottom line
- Sources
What happened in the Perplexity Cairn attack?
Perplexity says an AI agent spent about two weeks probing its platform for cloud and AI-service credentials. It tried server-side request forgery, guessed thousands of API routes and storage paths, signed up disposable accounts, and tried to reach other customers’ data. Every attempt was denied.
The company detected the campaign with Perplexity Computer, its own AI agent platform, which flagged newly registered accounts hammering APIs and features that fetch content from external URLs. Perplexity then found the attacker’s command server exposed on the internet and used it to reconstruct the operation.
Server-side request forgery (SSRF) is a bug class where an attacker makes a server fetch a URL of the attacker’s choice, often to reach internal addresses the attacker cannot reach directly. Here the target was the cloud metadata service, which hands out temporary credentials to anything running on the host.
When did it start, and when was it disclosed?
The sources differ slightly on the start. Perplexity’s own timeline puts the first disposable accounts and low-volume reconnaissance on 24 to 28 October, and BleepingComputer says the attacks began in late October. The Brief, citing TechCrunch, places the attack in the first week of November, which is when the high-rate phase ran.
| Date (UTC) | Event, per Perplexity |
|---|---|
| 24-28 Oct 2026 | Disposable accounts created, low-volume reconnaissance |
| 2 Nov | High-rate SSRF and API sweeps; Perplexity Computer alerts the security team |
| 3 Nov | Dedicated agent monitoring; two more 15-minute sweeps; new blocks |
| 4 Nov | Attacker server found; Company A and Company B notified; attacker moves to proxies |
| 5 Nov | Active incident response ends; automated monitoring continues |
| 6-8 Nov | Last disposable accounts on 6 Nov; probing stops |
| 2 Dec | Perplexity publishes its report |
What is Cairn?
Cairn is an open-source agent harness hosted at oritera/Cairn on GitHub. Its own description calls it a general-purpose AI state-space search engine, validated first on autonomous penetration testing. The GitHub API shows 6,457 stars, 1,510 forks and an AGPL-3.0 licence, with the latest release, v0.2.1, tagged on 10 May 2026.
An agent harness is the code that wraps a language model in a loop: it plans, runs a command, reads the result and decides what to do next. Cairn’s version stores a campaign as a graph of observations, called facts, and worker tasks, called intents, around one goal the operator writes.
Perplexity describes the workers as command-line coding agents running inside a Kali Linux container with shell, network and headless browser access. Every task cites earlier facts and records its conclusion, including failures, as a new fact.
How autonomous was it?
Very, by the attacker’s own records. Perplexity recovered the full task graph for one target, Company A. After a single bootstrap task, the agent created 276 more tasks itself over about 19.5 hours, running up to 14 at once, with a median task time of 11 minutes.
The dead ends matter. Perplexity counted 37 conclusions marked as dead ends, and 19 of them were cited by later tasks, a median of 31 minutes afterwards. In one example, a blocked code-search result spawned a new task that launched three parallel follow-ups within 25 minutes.
What did the attacker want?
The goal was identical in all three workspaces Perplexity found: cloud credentials or service tokens able to invoke two latest-generation frontier models through Amazon Bedrock. Perplexity redacted the model names.
The prompt, as Perplexity describes it, asked for broad IAM permissions if needed and told the agents to sweep every Bedrock region. Found keys were to be saved under the label “AWS Bedrock PRIZE”. AWS key IDs had to be paired with their secret and checked with the sts:GetCallerIdentity call before they counted.
Stealing access to someone else’s hosted AI models is often called LLMjacking. The victim pays for the inference, and the thief gets frontier models without their own account or usage limits. Perplexity is clear that the operator’s purpose beyond getting access is unknown.
How did the Cairn agents attack?
The agents worked from the outside in, switching method each time one failed. Perplexity groups the activity into the stages below.
Reconnaissance and public code mining
The agents mapped Perplexity’s hosts through certificate transparency logs, passive DNS and web archives, and generated testing and staging name variants. They pulled JavaScript bundles and API schemas with a headless browser.
They then went after secrets in public code. Perplexity describes searches of GitHub, GitLab and Sourcegraph, full git history scans including unreachable objects, gitleaks and Nuclei. One task queued 4,328 forks of ten public repositories and finished scanning 4,281 of them. The agents also unpacked npm and PyPI packages, container layers, Hugging Face repositories and mobile app builds.
Accounts, proxies and SSRF
When public sources gave nothing, the agents registered accounts with disposable email addresses to get logged-in sessions. By 4 November Perplexity counted more than 40 such accounts and about 290 residential and cloud proxy addresses, rotated whenever a block or rate limit hit.
The SSRF attempts aimed URL-fetching features at the AWS metadata address, localhost and private ranges. Perplexity lists decimal and hex forms of 169.254.169.254, malformed URLs, redirects through public tunnel services and DNS-rebinding names. DNS rebinding uses a hostname that first resolves to a harmless address and later to an internal one, to slip past checks done only once.
The 13-minute sweep
On 2 November the largest sweep sent about 48,000 requests in 13 minutes across 28,000 guessed routes, peaking above 200 requests per second. On 3 November two 15-minute sweeps sent about 9,300 and 12,700 requests, all returning 404.
The agents also guessed secret file paths on download endpoints, such as environment files, AWS credential files and Terraform state. Perplexity’s CloudTrail logs show 3,681 failed lookups across more than 3,300 unique keys in 14 hours. Probes of admin endpoints and other users’ thread, file and workspace IDs were all denied.
What was on the attacker’s exposed server?
Perplexity found host 185.87.121[.]140 with 207 open TCP ports, nearly all ad-hoc Python web services started for single attack steps. Twenty-nine of them served open directory listings that exposed more than 10,000 files.
The server also ran 15 HTTP redirectors, mock MCP servers, an OAuth registration responder and dozens of callback receivers. Cairn’s control plane ran elsewhere, so Perplexity could see only what this one host held.
This mirrors earlier Cairn cases. As BleepingComputer reported on 20 November, Amazon found a previous campaign because the attackers left their Cairn instance reachable without authentication.
Who else was affected?
The server held workspaces for two other organisations, which Perplexity names only as Company A and Company B. It notified both on 4 November, within hours of finding the server, and shared reports and indicators.
| Target | What the agents achieved, per their own records | Bedrock access? |
|---|---|---|
| Perplexity | Nothing: all probes blocked | No |
| Company A | Live customer OAuth credential found in deleted git history; admin control of that customer’s workspace; code run on managed compute; a stored Git token; short-lived AWS credentials | No, the credentials lacked Bedrock permissions |
| Company B | Login to an exposed management API on a demo environment; persistent command runner (about 1,000 callbacks over 15 hours); password stores, Kubernetes secrets and EC2 role credentials | No, model calls through its Bedrock proxy were rejected |
Perplexity attaches a caveat: for both companies, the picture comes from the agent’s compressed notes, which can misread responses or overstate a breach. Perplexity did not test the recovered credentials against those companies’ systems.
How does it compare with earlier AI agent attacks?
This is not the first real-world Cairn campaign. In November, Amazon described Chinese-nexus operators whose Cairn agents found a zero-day in MONAI Label, which we covered in Cairn: The AI Agents That Found a Zero-Day on Their Own. CISA then listed Cairn among the tools in its alert on agentic offensive frameworks.
| Case | Reported by | Tool | Goal | Outcome |
|---|---|---|---|---|
| Perplexity and two others (Oct-Nov 2026) | Perplexity, 2 Dec | Cairn | Bedrock credentials | Perplexity blocked it; two companies breached, no Bedrock access |
| East Asian universities (8-10 Sep 2026) | Amazon, via BleepingComputer, 20 Nov | Cairn | Shell access | Zero-day in MONAI Label, root in 11 minutes after 16 hours of failures elsewhere |
| ISP Linux servers | Microsoft, via BleepingComputer, 2 Dec | CyberStrikeAI | Subscriber data | Data stolen; Microsoft found AI helped some stages but no proof of full autonomy |
The pattern across all three is the same. The agents are persistent and fast, but they win on weak points that already existed: a leaked secret, an exposed demo system, an unpatched app. A similar hunt for AI keys was behind ARTEX agents stealing LLM keys from exposed AI gateways.
How do you detect a Cairn-style attack?
Watch for the behaviour, not the brand. Perplexity’s report gives these signals and indicators.
Behaviour to alert on
- Request bursts of hundreds per second against routes that return 404, from new or low-reputation accounts.
- Many signups from disposable email domains within days, followed by API-heavy use.
- URL-fetch features asked to reach 169.254.169.254, 169.254.170.2, localhost, private ranges, or encoded forms of them.
- Storage or download requests for files like .env.production, .aws/credentials and state.tfstate.
- Requests for other users’ object IDs, and org or admin permission endpoints called by ordinary accounts.
- In AWS, sts:GetCallerIdentity calls from unfamiliar addresses, followed by Bedrock calls across many regions.
For broader timing-based signals, see How to Detect AI Agent Attacks.
Indicators Perplexity published
| Indicator | Role, per Perplexity |
|---|---|
| 185.87.121[.]140 | Campaign host, callback receivers, SSRF redirectors |
| 2a11:3b80::3eec:efff:fe1e:5738 | Primary probing source |
| 147.124.211[.]248, 35.73.178[.]124 | Probing sources (the second may be shared cloud egress) |
| arcadehearth[.]com, roomsranked[.]com, marchslurp[.]com | Disposable signup email domains |
| *.a9fea9fe.rbndr[.]us, *.a9feaa02.rbndr[.]us | DNS rebinding to the metadata addresses |
| Self-signed TLS, CN=oob, no SAN, 2-5 day validity | Attacker HTTPS callback listeners |
The full list is in Perplexity’s report. Perplexity does not map the activity to MITRE ATT&CK. Proxy addresses rotate, so treat IP indicators as short-lived.
What should defenders do now?
Perplexity credits controls that were already in place before the campaign began. In priority order:
- Validate outbound URLs at connection time. Resolve the hostname and block private, loopback and link-local destinations when the connection opens, not only when the URL is first checked. That is what defeated DNS rebinding here.
- Lock down instance metadata. Restrict who can reach metadata endpoints from workloads that fetch user-supplied URLs.
- Scope AI-service permissions tightly. Company A’s stolen AWS credentials failed because they lacked Bedrock rights. Keep model access off general-purpose roles.
- Hunt your own leaked secrets first. Scan full git history, including deleted commits, plus packages, containers and app builds. Perplexity recommends pointing agents at your own code and external surface.
- Enforce authorisation on every object ID. Cross-tenant probes failed because each request was checked.
- Retire or lock exposed demo environments. Company B was breached through one.
- Watch account creation. Flag disposable email domains and link accounts that share proxies or behaviour.
- Share indicators fast. Perplexity briefed the other two victims within hours of finding the server.
Is this proof that AI attackers are unstoppable?
No, and Perplexity’s own data shows why. Every request against Perplexity was blocked by ordinary controls, and in Company A’s graph the agent logged 37 dead ends. The 2 November sweep was loud enough that Perplexity’s monitoring flagged it the same day.
The agents succeeded only where a mistake already existed: a credential left in deleted git history, a management API open on a demo box. Speed and persistence made those mistakes easier to find, not harder to fix.
What is still unknown?
- Who ran it. Perplexity names no actor and makes no attribution.
- Which models. The two Bedrock models are redacted.
- The full scale. Perplexity calls the server almost certainly only one slice of a larger operation, and the control plane was never seen.
- The other victims’ view. Companies A and B are unnamed and, as far as the sources show, have not commented.
- The exact start date. Perplexity’s timeline says 24 October; some coverage says the first week of November.
The bottom line
The Perplexity Cairn attack shows an AI agent writing and running hundreds of its own tasks to hunt cloud keys for frontier models, and failing against a company with sound basics. It broke into the two targets that had leaked secrets and exposed demo systems. Fix those first, then watch for the bursts and the metadata probes.
Sources
- Perplexity: How Perplexity defended against an autonomous AI attacker
- BleepingComputer: Autonomous AI attack targeted Perplexity to steal cloud credentials
- The Brief: Perplexity fends off an autonomous AI intruder targeting frontier model access
- BleepingComputer: Hackers use autonomous AI tool Cairn to find zero-day, take over server
- BleepingComputer: AI pentest tool used to breach ISP’s Linux servers, steal customer data
- GitHub: oritera/Cairn
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.