Perplexity Says It Fended Off an Autonomous AI Hacker That Got Further at Two Other Companies
For about two weeks this fall, an AI agent hammered on Perplexity’s front door looking for keys. It never got in. But according to Perplexity, the same campaign did get inside two other companies.
Perplexity published a detailed postmortem on Wednesday describing what it calls an attack by an “autonomous LLM-driven agent” in late October and early November. The goal, Perplexity says, was to steal cloud credentials or service tokens that could be used to run frontier AI models through Amazon Bedrock. Think of it as joyriding, but the car is someone else’s AI bill.
What the agent tried
Perplexity says the attacker set up disposable accounts in late October, then switched to high-speed sweeps. The biggest, on November 2, sent roughly 48,000 requests in 13 minutes across about 28,000 guessed API routes, peaking at more than 200 requests per second.
- Server-side request forgery: tricking Perplexity’s link-fetching features into requesting internal addresses, including the cloud metadata service that hands out credentials. When direct requests were blocked, the agent tried encoded IP addresses, redirect chains, and DNS rebinding.
- Secret hunting: 3,681 failed Amazon S3 lookups for files like
.env.productionand.aws/credentialsover 14 hours. - Evasion: more than 40 disposable email accounts and about 290 residential and cloud proxy addresses, swapped in whenever rate limits kicked in.
“Our security controls held,” Perplexity wrote. “Outbound URL validation and authorization checks blocked every probe.” CEO Aravind Srinivas said that because Perplexity’s validator checks the IP address at connection time, “every attempt failed.” The company says its own agent platform, Perplexity Computer, first flagged the probing.
The attacker left its own server open
Here’s the twist. Perplexity traced the campaign to an exposed server holding more than 10,000 files, including live workspaces. They showed the operation ran on Cairn, an open-source AI penetration-testing harness that splits a goal into many smaller tasks and lets worker agents chase them on their own. In one campaign, Help Net Security reports, a single worker spawned 276 follow-up tasks over 19.5 hours.
Those workspaces also showed intrusions at two unnamed companies, which Perplexity says it notified while the attacks were still under way. At one, the agent found a live customer OAuth credential in deleted git history and took admin control of that customer’s workspace. At the other, it got in through an exposed management API on a demo environment and collected password stores, Kubernetes secrets, and cloud credentials. In both cases, Perplexity says, attempts to actually invoke Bedrock models failed.
One big caveat: what we know about those two companies comes from the attacking agent’s own notes, as read by Perplexity. The company warns that “agents can misread responses or overstate partial access,” and says the server was likely just one part of a bigger operation. Perplexity hasn’t said who was behind it.
Why it matters
This is a clean look at what AI-run attacks look like in practice: not genius exploits, but relentless, cheap, round-the-clock probing that routes around every failure. “One prompt can turn into hundreds of parallel tasks that route around failed checks on their own,” Srinivas said.
The fixes are boring, which is good news. A tip from us, not Perplexity: scrub secrets from your git history (deleting the file isn’t enough), take down forgotten demo environments, and make sure anything that fetches URLs on a user’s behalf can’t reach your cloud metadata endpoint.
Sources
- Perplexity: How Perplexity defended against an autonomous AI attacker
- TechCrunch: Perplexity caught an autonomous AI hacker trying to steal tokens
- The Hacker News: Autonomous AI Hacker Targets Perplexity, Reportedly Breaches Two Other Companies
- Help Net Security: AI agent that failed to breach Perplexity compromised two other companies
- BleepingComputer: Autonomous AI attack targeted Perplexity to steal cloud credentials
