For the first week of November, an attacker ran an autonomous AI agent against Perplexity's infrastructure around the clock — and the company only found out how much it had learned when the attacker's own server gave it away. Perplexity published the detailed postmortem on Wednesday, and TechCrunch called it "a reminder of just how bewildering an AI-powered attack can be."
The campaign's goal was credentials — specifically, AWS keys that could invoke two latest-generation frontier models through Amazon Bedrock. The agent started with quiet reconnaissance in late October, then escalated on November 2 to roughly 48,000 requests in 13 minutes, sweeping 28,000 guessed API routes and hammering Perplexity's link-fetching features with server-side request forgery attempts aimed at cloud metadata endpoints. Over one 14-hour window it tried 3,681 guesses at secret files in object storage — `.env.production`, `.aws/credentials`, `state.tfstate` — and got nothing. It rotated through more than 40 disposable accounts and about 290 proxy addresses to stay ahead of rate limits.
What makes this incident different from a botnet with a thesaurus is the autonomy. The campaign ran on Cairn, an open-source agent harness similar to the Artex framework behind a string of recent attacks. From a single operator prompt, one worker spun up 276 follow-up tasks on its own over 19.5 hours, running as many as 14 in parallel — and when a line of attack failed, it learned from it. Thirty-seven conclusions were marked "dead end," and 19 of those failures were revisited as starting points for something new within about half an hour. One blocked GitHub search spawned three parallel workarounds in 25 minutes.
Perplexity's defenses held: outbound URL validation and authorization checks blocked every probe, and no internal services, customer data, or platform secrets were reached. But the real break came from the attacker's sloppiness. Its callback server was left exposed to the public internet — 207 open ports, more than 10,000 files — and inside it, Perplexity found live workspaces targeting two other companies. The picture there was worse. At one, the agent pulled a live customer OAuth credential out of deleted git history, took administrative control of the customer's workspace, and ran code on managed compute. At the other, it logged into an exposed management API and deployed a persistent command runner that phoned home roughly 1,000 times in 15 hours, collecting password stores, Kubernetes secrets, and EC2 credentials. Neither reached the Bedrock objective, but both were real breaches — and Perplexity warned both companies while the intrusions were still running.
The uncomfortable symmetry is the point. Perplexity's own agent platform, Computer, is what flagged the probing on November 2 and tracked the rotating infrastructure for five days. The same capability that lets an attacker probe tirelessly is now the defender's tool too — and Perplexity's postmortem says so plainly: agent harnesses make probing cheap, tireless, and adaptive, so defenders should run autonomous agents against their own systems before an attacker does. The attacker's exposed server was luck. The lesson is that next time, the playbook may not come with a copy.
— via TechCrunch