The AI Attacked Alone. Perplexity Blocked It — Then Found Two More Breaches.
Perplexity was attacked by an AI that worked alone. Not a hacker at a keyboard, and not a script running a fixed list of tricks — an autonomous hacking agent that set its own tasks, learned from its own failures, and kept going for two weeks. Perplexity says it blocked the attack. But investigators found the unexpected: the attacker’s own server, left wide open, holding evidence of two more breaches at two other companies.
The campaign ran for about two weeks from late October. Perplexity Computer, the company’s AI agent platform, spotted it on November 2, when newly registered accounts started probing APIs that pull content from external URLs. The tool was Cairn, an open-source penetration-testing tool that coordinates AI agents to work on their own toward a goal set by an operator — previously reported abused to find and exploit a zero-day for root access.
Cairn’s goal was specific: steal cloud credentials opening the door to advanced AI models through Amazon Bedrock, the AWS service providing API access to AI models. The agent tried almost everything at once: SSRF attacks — server-side request forgery — aimed at AWS metadata services and internal systems, the classic route to cloud credentials; cloud-storage enumeration; API endpoint discovery; privilege escalation; attempts to reach other customers’ data. It also searched public code repositories, Git history, software packages, container images, and applications for exposed credentials — and when those came up empty, it registered disposable accounts of its own for authenticated access.
The scale was relentless. At its peak: roughly 48,000 requests in 13 minutes, some 28,000 potential API endpoints, more than 200 requests per second. It hid behind 40+ disposable-email accounts and about 290 residential and cloud proxy IPs, rotating them to dodge detection. No human steered it: in one campaign, it created 276 additional tasks over 19.5 hours, with up to 14 running at the same time. Perplexity put it this way: “one operator prompt, hundreds of self-directed tasks, and probing that adapts every time a request fails.”

Perplexity says the attack failed: no access to internal services, private customer data, or platform secrets. But the story does not end there. While investigating, Perplexity found the attacker’s exposed staging server — 207 open ports, nearly all ad-hoc Python HTTP services spun up for individual attack steps, and 29 web servers with unauthenticated directory listings giving access to more than 10,000 files: custom scripts, logs, and active attack workspaces targeting two other companies. In Perplexity’s words: “We went looking for copper and found gold.”
Perplexity says those workspaces told a grim story. At one unnamed company, the agent reportedly found exposed credentials, gained administrative control of a customer’s workspace, accessed internal systems, and obtained AWS credentials. At the second, it reportedly breached a demo environment, established persistent access, and collected password stores, Kubernetes secrets, and AWS credentials. Neither yielded credentials for the targeted AI models via Bedrock, but both companies were notified on November 4, while the attacks were still underway.
One caveat, stated plainly by Perplexity: its findings about the other two organizations rest on the AI agent’s own recorded observations, which could misinterpret responses or overstate the breaches. The agent’s logs show what the agent believed it did — not a confirmed forensic record. It also remains unclear what the attacker intended to use the AI models for. The objective is not in doubt, though: across all three attacks, the goal was cloud credentials or service tokens for two unnamed, latest-generation AI models through Amazon Bedrock.

Why does this matter beyond Perplexity? It changes the math of attacking: one operator prompt produced hundreds of self-directed tasks, adapting in real time, probing tens of thousands of endpoints without rest. Defenders have seen this pattern: An AI Attack Took Three Servers in 13 Minutes. Microsoft Watched It Happen. showed an AI agent moving fast enough to outpace human response, and The Agent Escaped. The Breach Was Real. showed what happens when an agent slips its leash. The Perplexity case adds a third lesson: the attacker’s infrastructure can be as sloppy as the target’s.
Check 1 — Block the metadata endpoint. SSRF must never reach the cloud metadata service at 169.254.169.254. Make sure no application, proxy, or server-side fetch can talk to it, and alert on any attempt.
Check 2 — Hunt disposable-account bursts. Dozens of new accounts created with disposable email addresses, arriving through rotating residential and cloud proxy IPs, is a signal, not background noise. Flag rapid bursts of fresh accounts and block them before they get authenticated access.
Check 3 — Scope Bedrock credentials and rotate what lived in code. Give cloud credentials the least privilege they need — especially any that can reach AI models. Search your public code repositories, Git history, software packages, and container images for exposed keys, and rotate anything you find.
Check 4 — Audit your own exposed servers. The attacker was caught because its staging server had 207 open ports and unauthenticated listings. Scan your own estate the way an attacker would: open ports, ad-hoc services, and directory listings that should never face the internet.
Perplexity blocked this attack; the two other companies now know they were hit. The question is how many autonomous agents are probing right now — and whether your metadata endpoint, sign-up flow, and exposed servers are ready for an attacker that never sleeps and rewrites its plan after every failed request.



















