Skip to content
Hacker Posts
Breach

Perplexity blocks autonomous AI attacker built on Cairn

Perplexity says an attacker drove the open-source Cairn AI-agent tool against its Bedrock models; two other firms had AWS credentials and secrets stolen.

Hacker Posts DeskPublished 3 min read

Perplexity says it detected and blocked an autonomous AI-driven attack against two of its latest-generation models, in a technical writeup, "How Perplexity defended against an autonomous AI attacker," summarized by BleepingComputer. Read the numbers below with the caveat Perplexity itself attaches: its account of the other victims rests on the attacking agent's own recorded observations, which "could misinterpret responses or overstate the extent of the breaches."

What the attacker used

The operator drove Cairn, an open-source penetration-testing tool that coordinates AI agents to pursue a goal with minimal human steering. Perplexity says the same tooling had previously been used to exploit a zero-day and gain root on a server. The two targeted models were reachable through Amazon Bedrock on AWS.

What happened

Perplexity says its controls held: the attacks were blocked, no Perplexity credentials were obtained, and the agent reached no internal services, private customer data or platform secrets. But Perplexity reports the same operator breached two other, unnamed companies:

  • One was compromised through exposed credentials, giving the attacker administrative control of a customer workspace.
  • The other had a demo environment breached with persistent access established.
  • At one, the attacker obtained AWS credentials; at the other, password stores, Kubernetes secrets and AWS credentials. Neither yielded access to the Bedrock models.

How it scaled

The campaign is notable for volume, not finesse:

  • Server-side request forgery (SSRF) attempts against AWS metadata services and internal systems.
  • Scraping of public repos, Git history, packages, container images and apps for exposed credentials.
  • 40+ accounts registered with disposable emails, behind roughly 290 residential and cloud proxy IPs to dodge rate limits.
  • A peak of ~48,000 requests in 13 minutes against about 28,000 API endpoints — over 200 requests per second. One campaign spun up 276 tasks over 19.5 hours, up to 14 running at once.

Perplexity says it found an attacker-operated server with 207 open ports, 29 of them exposing unauthenticated directory listings holding more than 10,000 files — scripts, logs and attack workspaces for the two other companies.

Timeline

Attacks began in late October and ran about two weeks. Perplexity detected the campaign on November 2 and notified the two affected companies on November 4, while it was still underway. No group has been attributed, and the operator's end goal for the models is unclear.

Action checklist

  1. Hunt your own repos, Git history and container images for live credentials — this operator's whole method was finding secrets you left in public.
  2. Block SSRF paths to cloud metadata: enforce IMDSv2 on AWS, and firewall 169.254.169.254 from application workloads.
  3. Rate-limit and anomaly-flag agent/API traffic — 200+ req/s from rotating residential proxies is a detectable signature.
  4. Rotate AWS keys, Kubernetes secrets and workspace tokens if any could have leaked, and scope them down.
  5. Treat AI/agent frontends as credentialed attack surface, not chat toys.

Context

This is the latest in a run of autonomous-AI-attack stories: Microsoft's account of an AI-assisted ISP intrusion, CISA's defensive guidance on agentic offensive frameworks, and Transluce's AI agents running SQL injection against government sites. The pattern is consistent — commodity agent tooling turning one operator's prompt into thousands of self-directed probes — and so is the mitigation: the agents still fail against basic credential hygiene and metadata-service hardening.