On December 2 Perplexity published a security report on its blog and official X account. From late October to early November an attacker ran an autonomous LLM agent against it for two weeks, aiming to obtain cloud credentials able to invoke frontier models on Amazon Bedrock. The peak on November 2 was about 48,000 requests in 13 minutes across 28,000 guessed routes, with 3,681 failed S3 lookups and more than 40 disposable accounts and about 290 proxies. Perplexity's outbound URL validation and authorization checks blocked every probe, with no internal services, customer data or secrets accessed. Tracing callbacks to the attacker's exposed server, Perplexity found it running the open-source Cairn harness with CLI coding agents in a Kali container, where one seed task spawned 276 more on its own. Two other companies were breached via a live OAuth credential in deleted git history and an exposed demo management API; Perplexity notified them while the attacks were still running.

Key Takeaways

  • ✓Scale: the November 2 peak was about 48,000 requests in 13 minutes, over 200 per second, across 28,000 guessed routes; CloudTrail logged 3,681 failed S3 lookups in 14 hours, and the attacker rotated through 40+ disposable-email accounts and about 290 proxies.
  • ✓Techniques: SSRF (decimal and hex rewrites of 169.254.169.254, DNS rebinding), object-storage key guessing (.env.production, .aws/credentials, state.tfstate), API route sweeps, privilege escalation and cross-tenant access; Perplexity resolves hosts and blocks private and link-local targets at connection time, so all failed.
  • ✓Cairn harness: an open-source agent harness that runs CLI coding agents with shell, network and headless-browser access in a Kali Linux container, tracking goal, facts and tasks in graph.yaml; in the Company A graph one seed task spawned 276 more over 19.5 hours, up to 14 in parallel.
  • ✓Other targets: at Company A a live customer OAuth credential in deleted git history gave admin control of a workspace and code execution; at Company B an exposed demo management API got a persistent command runner; neither reached the Bedrock target models.
  • ✓Defense: Perplexity used its own Computer agent to watch logs, link disposable accounts and run a dedicated workflow for over five days that drafted hardening changes; CEO Aravind Srinivas said baseline security decides day-one outcomes and defenders should use the same agent loops.
Perplexity Details Autonomous AI Agent Attack: Attacker Used Open-Source Cairn Harness to Hunt Amazon Bedrock Credentials, 48,000 Requests in 13 Minutes, Perplexity Blocked All, Two Other Companies Breached
Official Media
Click to view high-res

Turn your technical choice into a development budget

Compare 40 dev plans & simulate token costs vs $20/mo subscriptions

In-Depth Technical Analysis

Background and pain points

Frontier-model API credentials are now valuable targets, and agent harnesses make probing cheap, tireless and self-correcting. On December 2 Perplexity published a full account of an autonomous AI attack on its blog and official X account, and CEO Aravind Srinivas walked through it in an X thread.

Architecture and mechanism

The attacker ran the open-source Cairn harness: CLI coding agents in a Kali container, with graph.yaml holding the goal, observed facts and queued tasks, each task citing earlier facts, dead ends included, to choose its next move. In Company A's graph one seed task spawned 276 more over 19.5 hours, up to 14 in parallel.

Benchmarks

Per Perplexity: about 48,000 requests in 13 minutes at peak, 3,681 failed S3 lookups, 40+ disposable accounts and about 290 proxies, all blocked. Two other companies fell through an old OAuth credential in git history and an exposed demo API, but neither attack reached the Bedrock target models.

Getting started

Lessons: resolve outbound URLs and block private addresses at connection time; scrub deleted git history and demo environments; rotate stale unowned keys; run your own agents against your code and public surfaces, and use them during incidents to match the attacker's speed.

Action HubReady to adopt this in production?

Benchmark side-by-side against alternatives, or calculate monthly token cost vs subscription break-even.

Up NextPerplexity Computer Now Works Directly in Chromium Browsers: Perplexity Extension 0.0.8 Adds a Side Panel to Hand Off Tasks Across Signed-In Tabs
Read Now→