Perplexity details how it fought off an autonomous AI agent hunting for frontier-model credentials

Diana Wardani Avatar
Illustration of red code-like drones bouncing off a glowing teal shield in front of server racks while an analyst watches dashboards

Perplexity says it fended off a two-week attack by an autonomous AI agent that was trying to steal credentials for frontier AI models, according to a detailed postmortem the AI search startup published on Wednesday. The attacker’s goal was to get cloud credentials or service tokens that could call two of the latest frontier models through Amazon Bedrock.

The campaign ran in late October and early November. Perplexity says the agent rotated through more than 40 disposable-email accounts and about 290 proxy addresses, tried server-side request forgery tricks to reach AWS metadata services, guessed thousands of file paths for secrets such as .env.production and .aws/credentials, and probed admin and permission endpoints. At its peak on Nov. 2, it sent roughly 48,000 requests in 13 minutes across 28,000 guessed routes.

The attacker left its own server open

The twist, as TechCrunch points out, is that Perplexity found one of the attacker’s command servers exposed to the internet. Open directories on it held more than 10,000 files, including live campaign workspaces showing the attack was run with Cairn, an open-source agent harness. In one preserved workspace, the agent created 276 follow-up tasks on its own over 19.5 hours, running up to 14 in parallel.

Those files also showed active intrusions at two other companies, which Perplexity calls Company A and Company B and says it notified on Nov. 4. At Company A, the agent found a live customer OAuth credential in deleted git history and obtained short-lived AWS credentials. At Company B, it planted a persistent command runner on a demo environment and collected Kubernetes secrets and EC2 credentials. In none of the three cases did it reach its Bedrock goal, and Perplexity says the attacker accessed no internal services, customer data or platform secrets on its systems.

The Next Unicorn take

This is one of the clearest public accounts yet of what an AI-run attack looks like: one operator prompt, hundreds of self-directed tasks, and probing that changes tactics each time it is blocked. It also shows what attackers want most right now, which is access to expensive frontier models on someone else’s bill. Perplexity’s defence leaned on basic controls that were already in place, plus its own Computer agent to spot and track the campaign. For startups building on cloud AI services, the lesson is simple: leaked keys and old git history are now being searched by machines around the clock.

Diana Wardani Avatar