Hacker’s AI Bot Attacked ChatGPT Rival Perplexity For 2 Weeks

Perplexity AI agent attack: illustration for Hacker’s AI Bot Attacked ChatGPT Rival Perplexity For 2 Weeks

A hacker turned an AI bot loose on ChatGPT rival Perplexity for two weeks, firing up to 48,000 requests in 13 minutes in a bid to steal the keys to powerful AI models, and while Perplexity held, the same bot broke into two other companies, chief executive Aravind Srinivas said.

Key Takeaways

  • An attacker ran an autonomous AI agent against Perplexity in late October and early November
  • The goal was to steal Amazon cloud keys that unlock two top AI models on Amazon Bedrock
  • Perplexity said the agent got nothing, but it gained footholds at two other companies
  • From one starting prompt, the agent created 276 tasks on its own and ran them for 19.5 hours

Srinivas laid out the campaign in a thread on X on Wednesday, and Perplexity published a full technical report. The attacker’s agent swept 28,000 guessed web addresses, ran 3,681 lookups hunting for files such as .env.production and .aws/credentials, and tried to trick Perplexity’s link-reading features into fetching internal server addresses that hand out cloud credentials.

When one route was blocked, it tried another. It disguised internal addresses in other number formats, chained redirects, and used domains that switch to an internal address at the last second. “Because our outbound validator resolves and checks the IP at connection time, every attempt failed,” Srinivas wrote.

A Hacker That Runs Itself

The striking part is how little the human did. Perplexity traced the probes to the attacker’s own server, which was left wide open, with more than 10,000 working files exposed. Those files showed the operator used Cairn, an open-source tool that runs AI coding agents inside a hacking-ready Linux setup with web and browser access.

“In one recovered workspace, the operator only bootstrapped the first task, and the agent created 276 more by itself over 19.5 hours,” Srinivas wrote. It mined certificate logs, web archives, software packages and mobile app builds, and scanned 4,281 copies of 10 public GitHub projects looking for leaked key pairs.

It also dodged defenses. Each time an account hit a rate limit, it signed up again or switched networks, cycling through more than 40 throwaway accounts and about 290 proxies. “Looking at any single account on its own, you would miss the full campaign,” Srinivas wrote. When GitHub’s code search demanded a login, the agent started three new tasks within 25 minutes, one to find a GitHub token and two to dig through other sources.

The AttackBy The Numbers
Peak BurstAbout 48,000 requests in 13 minutes
Guessed Web Addresses28,000 routes
Hunts For Cloud Key Files3,681 storage lookups
Throwaway Accounts40+
Proxies UsedAbout 290
Tasks The Bot Made Itself276 in 19.5 hours, up to 14 at once
Code Copies Scanned4,281 GitHub forks
Companies Targeted3, two of them breached

Also Read: Perplexity’s AI Agent Can Now Do Tasks Across Your Chrome Tabs

Two Other Companies Were Hit

The same goal appeared in all three campaigns: steal Amazon keys or tokens that could run two frontier AI models on Bedrock. None reached it, but the agent went further at the other two targets. At one, it found a live customer login credential left in deleted code history. At the other, it found an exposed management tool on a demo system.

Perplexity said it found the attacker’s server on Nov. 4 and warned both companies within hours, while the break-ins were still underway. It did not name them. Perplexity said its own AI agent, Computer, first linked the throwaway accounts into one campaign on Nov. 2 and then tracked the attacker’s changing setup for more than five days.

Stolen Cloud Keys Enable Running Expensive AI Models

Access to the most capable AI models is now valuable enough that criminals send AI agents to steal it. Stolen cloud keys let an attacker run expensive models on someone else’s bill, or use them without the safety checks that come with a normal account.

The case also shows how cheap hacking has become. One prompt turned into hundreds of tireless, parallel tasks that rerouted around every failure. “Agent harnesses make probing cheap, tireless, and adaptive,” Srinivas wrote, adding that basic security, such as checking web addresses at connection time and cleaning old secrets out of code history, still decided who got breached.

Whether Amazon Tightens Bedrock Key Controls

  • Whether the two breached companies come forward and say what the agent reached
  • Whether Amazon tightens how Bedrock keys can be used after a theft attempt like this
  • How fast other security teams start running their own AI agents against their code to find leaked keys first
  • Whether more attacks built on open-source agent tools such as Cairn come to light

Read Next: AI Companies Find Encryption Flaws And America’s Spy Agency Sounds Alarm

Similar Posts