One prompt, 277 tasks

Between 24 October and 8 November, an attacker pointed an autonomous, LLM-driven agent at Perplexity’s infrastructure and left it to work. The goal, recovered later from the attacker’s own files, was a single credential: an AWS key pair or Bedrock bearer token that could invoke two named frontier models through Amazon Bedrock.

Perplexity published its postmortem on 2 December. Probing peaked on 2 November with roughly 48,000 requests in 13 minutes across 28,000 guessed routes, at over 200 requests a second. Over a 14-hour window, CloudTrail logged 3,681 failed object-storage lookups across more than 3,300 unique keys, including paths such as .env.production and .aws/credentials. Whenever rate limits bit, the agent rotated: more than 40 disposable-email accounts and roughly 290 residential and cloud proxy addresses by 4 November.

None of it worked against Perplexity. Outbound URL validation and access controls blocked every attempt to reach internal services, and the company says the attacker accessed no internal services, no private customer data and no platform secrets in two weeks.

A yellow painted steel door with a heavy latch
Outbound URL validation and authorisation checks blocked every attempt to reach internal services. Illustrative image. Jan van der Wolf · pexels · Pexels License

The server the attacker left open

The unusual part is what Perplexity found next. Several of the probes pointed back to one external staging server, so the company port-scanned it and found 207 open ports, almost all running ad-hoc Python HTTP services for individual attack steps — 15 redirectors, mock MCP servers, an OAuth registration responder, dozens of callback receivers, and 29 ports serving unauthenticated directory indexes to the open internet.

Those directories held more than 10,000 of the attacker’s working files, including live campaign workspaces aimed at two other organisations, named in the report only as Company A and Company B. Perplexity notified both security teams on 4 November, while the operations were still running.

What the harness did on its own

The campaign ran on Cairn, an open-source agent harness that stores a campaign as a graph of facts and tasks. In the preserved Company A workspace, one bootstrap task was created by the operator; the worker agent then created 276 more by itself — 277 intents and 265 recorded facts over 19.5 hours, with up to 14 tasks running in parallel and a median task lasting 11 minutes.

It also learned from failure. Thirty-seven conclusions explicitly marked a branch as a dead end, and 19 of those were cited by new tasks within a median of 31 minutes. In one sequence, a task concluded that public code search needed an authenticated token; within 25 minutes the agent had opened three parallel tasks, one to find a token and two to mine other sources, before returning to the original search.

Wooden spools of steel cable stacked against a shutter
The attacker cycled through more than 40 disposable-email accounts and about 290 proxy addresses. Illustrative image. Andrew Durkin · pexels · Pexels License

Where it did get in

Impact varied sharply across the three targets, and none reached the Bedrock objective. At Company A the agent found a live customer OAuth credential in deleted git history, took administrative control of that customer’s workspace, ran code on managed compute, reached internal endpoints behind IP allowlists, captured a stored Git token and obtained short-lived AWS workload credentials — which lacked permission to invoke Bedrock.

At Company B it logged into an exposed management API on a demo environment and deployed a persistent command runner that recorded roughly 1,000 callbacks over 15 hours, with new entries still arriving while Perplexity examined the host. Through that foothold it collected local password stores, Kubernetes secrets and EC2 instance-role credentials. Attempts to invoke models through Company B’s Bedrock proxy were rejected.

Caveats, and what it means for defenders

Perplexity is careful about the limits of its own account. Only Company A’s directory still held a full task graph; Cairn’s control plane ran elsewhere, so wiped runs and other worker hosts were out of view. The picture of the other two victims comes from the coding agent’s own compressed notes, and agents can misread responses or overstate access.

The operational lesson Perplexity draws is symmetrical: an agent harness makes it cheap to probe a target around the clock and adapt when requests fail, and the same capability can be pointed at your own code and external surfaces first. The company credits its own agent platform with flagging the 2 November sweeps in application logs, correlating rotating accounts, and drafting hardening changes its engineers shipped mid-campaign.