How an Autonomous AI Attack With Cairn Works: Perplexity Stopped SSRF, 28,000 Routes, and Disposable Accounts, and Found the Attacker's Server Wide Open

By Carlos Montiel | Enterprise AI Specialist
Leer en español →
Published: 2026-12-03 | By: Carlos Montiel | Reading time: ~4 minutes
How an Autonomous AI Attack With Cairn Works: Perplexity Stopped SSRF, 28,000 Routes, and Disposable Accounts, and Found the Attacker's Server Wide Open

An AI agent with a single prompt launched hundreds of self-directed tasks to steal model credentials on Amazon Bedrock. Perplexity stopped it and, along the way, found the attacker's server left open.

What happened: an AI agent hunting for Bedrock credentials

On December 2, 2026, Perplexity published a report on an attack carried out against its infrastructure by an autonomous AI agent. According to BleepingComputer, which summarizes that report, the attacks began in late October and lasted about two weeks. The goal was to obtain cloud credentials or service tokens with access to two unidentified frontier AI models through Amazon Bedrock.

The attack failed against Perplexity: according to the company, its existing controls blocked access to internal services, private customer data, and platform secrets. Perplexity detected the campaign on November 2 with its own agent platform (Perplexity Computer) and notified the two other affected companies on November 4, while the attacks were still ongoing.

How the attack works: SSRF, enumeration, and disposable accounts

The core technique was SSRF (server-side request forgery): the agent looked for functions that make the server fetch content from an external URL and tried to redirect them to AWS metadata services and internal systems. If a "fetch this URL" feature doesn't validate the destination, the server can end up handing over temporary credentials for its own cloud role.

Attack figures (per Perplexity via BleepingComputer) - Peak: ~48,000 requests in 13 minutes (>200 per second) - ~28,000 candidate API routes probed - 40+ accounts with disposable email addresses - ~290 residential and cloud IPs used as proxies - 276 additional tasks created in a 19.5-hour campaign (up to 14 in parallel)

Beyond SSRF, the agent tried to list cloud storage, discover endpoints, escalate privileges, and access other customers' data. It looked for exposed credentials in public repositories, Git history, packages, container images, and apps. When that failed, it registered disposable accounts to get authenticated access and keep searching. Perplexity sums it up this way: "one operator prompt, hundreds of self-directed tasks, and probing that adapts every time a request fails."

The attacker's server was wide open

The most unusual part: Perplexity found the external server the attacker was using to host payloads and receive responses. It had 207 open ports, almost all running improvised Python HTTP services, one for each step of the attack. On 29 of them, directory listing was enabled with no authentication, exposing more than 10,000 files: scripts, logs, and live workspaces targeting two other companies.

The files showed the use of Cairn, an open-source penetration-testing framework that coordinates AI agents toward a goal set by the operator. It's the same tool we saw in earlier incidents, such as the MONAI Label zero-day found by agents in 11 minutes.

A caution on the numbers. What is known about the other two victims comes from observations logged by the attacking agent itself, which may misread responses or overstate the reach. According to that log, at one company it would have found credentials with administrative control of a customer's workspace and AWS credentials; at the other it would have breached a demo environment and harvested password stores, Kubernetes secrets, and AWS credentials. Neither intrusion obtained credentials that reached the Bedrock models being targeted. It's also unclear what the attacker planned to do with them, and exact figures vary between outlets: check the original report.

What it means for a company that uses or buys AI

The case confirms that offensive agents already operate at machine scale: thousands of requests per minute, new accounts when blocked, and automatic adaptation. Defenses that rely on "someone will notice" aren't enough. For a company in Guatemala or LATAM that exposes AI features, the practical checklist is:

1) Validate and restrict any function that downloads URLs (allowlist of destinations, block internal and metadata ranges; on AWS, require IMDSv2). 2) Apply least privilege to the roles that access models (Bedrock, Azure, Vertex): those credentials were exactly what the attacker wanted. 3) Rate-limit by account and by network, and watch for mass registration of disposable accounts. 4) Scan repositories, Git history, and container images for secrets. 5) Use AI-assisted detection and response: Perplexity used its own agent to review code and prepare fixes while the attack was underway.

Want to review how exposed your AI integrations are to this kind of attack? Write to info@guatemalia.com.

Sources: Perplexity report "How Perplexity defended against an autonomous AI attacker" (Dec 2, 2026) and BleepingComputer coverage (Dec 2, 2026).

Carlos Montiel
Enterprise AI Solutions Architect
LLMs, Agents and Orchestration Specialist
guatemalia.com/#contacto · info@guatemalia.com

Need to implement AI in your company?

Carlos Montiel is an enterprise AI solutions architect. He implements LLMs, Agents, RAG and orchestrators for companies in Guatemala and Latin America. Get in touch for a consultation.

Contact Carlos Montiel

info@guatemalia.com