An AI hacker hit Perplexity 48,000 times in 13 minutes. Here's how it failed
AI news: an autonomous AI agent spent two weeks hunting Perplexity's cloud keys to reach frontier models. It got nothing there, but two other companies were hit.

In AI news that reads like a security thriller, Perplexity says an autonomous AI agent spent roughly two weeks in late October and early November trying to break into its systems, at one point firing about 48,000 requests in 13 minutes. The goal was not customer data. It was keys: cloud credentials that could be used to run two of the newest frontier AI models through Amazon's Bedrock service using someone else's account.
Perplexity's controls held and the attacker left empty-handed, the company said in a detailed post-mortem on Wednesday. But the report, first covered by TechCrunch, is one of the clearest public looks yet at what an AI-run hacking campaign actually does when one person types a goal and walks away.
One prompt, hundreds of tasks
The attacker used Cairn, a free, open-source "agent harness": software that hands a goal to an AI coding agent and lets it plan, run and record its own steps. TechCrunch compares it to Artex, another such tool behind a wave of recent incidents; we covered the same class of tools in [the AI-assisted attacks on Canada's government](/canada-ai-hacks-government-services/).
Perplexity got its unusual view of the campaign by luck and diligence. Several attack payloads pointed back to one server, and when the company scanned it, it found 207 open ports and more than 10,000 exposed files, including the operator's original instructions. Those told the agent to find Amazon keys able to invoke a specific frontier model, to prefer keys with broad administrator rights, and to sweep every Bedrock region if the first failed.

The agent then worked largely on its own. In the one workspace that kept its full record, a single starting task grew into 277 tasks over 19.5 hours, up to 14 at a time, with the agent noting 37 "dead ends" and launching new tasks to route around them. It combed public code on GitHub and GitLab, unpacked app installers and software packages looking for leaked keys, and once queued more than 4,300 copies of public code projects to scan their full history.
How the attack unfolded
| Date | What happened |
|---|---|
| Late October | Attacker creates throwaway accounts and starts quiet reconnaissance |
| November 2 | Peak sweep: about 48,000 requests in 13 minutes across 28,000 guessed web addresses; Perplexity's own AI agent flags it |
| November 3 | Two more 15-minute sweeps, all blocked |
| November 4 | Perplexity finds the attacker's exposed server and warns two other targeted companies; by now the attacker has cycled through 40+ email accounts and about 290 proxy addresses |
| November 6 | Last throwaway accounts created; probing stops |
The main trick tried against Perplexity is called SSRF, short for server-side request forgery. Many apps fetch web links on your behalf, such as a page you ask an AI to summarize. SSRF tries to feed those features an address that points inward, at the company's own private systems or the cloud "metadata" service that can hand out credentials. The agent disguised those addresses in decimal and hex and used DNS tricks that switch a web address's destination mid-request. Perplexity's link checker validates the final destination at connection time, so every attempt failed. A separate hunt through its file storage logged 3,681 failed lookups for files like `.env.production` and `.aws/credentials`.

Not everyone was so lucky
Perplexity was one of at least three targets, and the other two, which it calls Company A and Company B, fared worse:
- Company A: the agent found a live customer login token in deleted code history, took admin control of that customer's workspace and grabbed short-lived Amazon credentials, which luckily lacked permission to run the models.
- Company B: the agent got into an exposed management system on a demo environment, planted a persistent command runner that logged about 1,000 callbacks over 15 hours, and collected password stores and Kubernetes secrets. Its attempts to call models through the company's Bedrock gateway were rejected.
None of the three campaigns reached the Bedrock prize. Perplexity also flags the limits of its view: the attacker's control system ran elsewhere, some records were partial, and why the operator wanted frontier-model access is unknown.
What it means for you
For Perplexity users, the company says no internal services, private customer data or platform secrets were accessed, so there is nothing to change. The lesson is for anyone who builds software. Company A was breached through a credential sitting in deleted git history, which an AI agent will patiently dig up. If you have ever committed a key, password or token, even briefly, rotate it now and scan your full repository history, not just the current code. Turn on secret scanning in GitHub or GitLab, and make sure any feature that fetches user-supplied links blocks private and cloud-metadata addresses.
The bigger shift: attacks like this cost almost nothing to run around the clock. Perplexity's answer was to fight AI with AI, using its own agent, Computer, to group dozens of throwaway accounts into one campaign and draft fixes while the attack was live.
What to watch
- More disclosures: whether Company A or Company B go public, and whether other AI companies report similar hunts for Bedrock or other model-access keys.
- Harness crackdowns: pressure on open-source agent tools like Cairn and Artex as more incidents are traced to them.
- Cloud defaults: any new protections from Amazon around Bedrock credentials and model-access settings.
Sources
This summary was drafted with AI assistance and checked against the linked source. Spot an error? See our corrections page.
