
The Perplexity logo. Image: Perplexity AI / Wikimedia Commons, Public domain (PD-textlogo, Wikimedia Commons); trademarked, cropped
Perplexity, the AI search company, has disclosed that an AI hacking agent spent two weeks probing its systems for cloud keys that would let it run top-end AI models through Amazon Bedrock, Amazon’s AI model service. Perplexity says the attack failed, but that the same agent broke into two other companies, which it has not named.
What the agent tried
According to Perplexity’s write-up, published on December 2, the attacker set up disposable accounts and began low-level probing on October 24. The busiest burst came on November 2: about 48,000 requests in 13 minutes, guessing some 28,000 web addresses and peaking at more than 200 requests a second. Two more 15-minute sweeps followed the next day.
The agent tried to trick features that fetch web pages into reaching Perplexity’s internal cloud services, a technique called server-side request forgery. It also guessed file paths where secrets are often left, tested whether it could see other users’ files and workspaces, and probed admin permissions. It hid behind more than 40 throwaway accounts and about 290 proxy addresses.
The instructions its human operator gave it asked for Amazon Web Services keys and preferred those with “BROAD IAM permissions”, meaning administrator-level access. Perplexity says its existing defences blocked every attempt, and that the attacker reached no internal services, private customer data or platform secrets. Perplexity has not said who was behind the campaign.
An AI agent spotted another AI agent
The activity was first flagged on November 2 by Perplexity Computer, the company’s own AI agent product, which noticed the probing in application logs and alerted the security team. It linked the throwaway accounts together, checked audit logs to confirm nothing got in and watched the attacker for more than five days, drafting fixes that engineers shipped mid-attack.
The attacker’s tool was Cairn, a free, open-source framework that breaks a hacking goal into hundreds of smaller tasks for AI agents to work through on their own. Cairn was one of five such tools named this week by the US Cybersecurity and Infrastructure Security Agency, which warned that AI-run attacks had hit federal and state agencies.
Two other companies were breached
The attacker left its own staging server open to the internet, exposing more than 10,000 files, including live workspaces for attacks on two other firms. Perplexity calls them Company A and Company B.
At Company A, the agent found a customer’s login credential that had been deleted from a code repository but was still in its history, and used it to take admin control of that customer’s workspace. It ran code, captured a stored code-hosting token and obtained short-lived Amazon cloud credentials. At Company B, it logged into an exposed management interface on a demo system, installed a program that kept calling home about 1,000 times over 15 hours, and collected password stores and cloud credentials.
Perplexity says it alerted both companies’ security teams on November 4, and that none of the attacks reached Amazon Bedrock. Neither company has commented publicly, so these accounts are Perplexity’s alone. “We were one of at least three targets,” the company wrote.
Amazon is seeing the same thing
Amazon Web Services described a similar attack in research released on Thursday at its re:Invent conference, The Register reported. A suspected AI agent hit one of its decoy systems, posing as a connector that gives AI assistants access to tools, and ran 94 actions in 12.7 minutes, including asking for a Bedrock key. AWS said it was moderately confident an AI agent was behind it. Its security chief described the agent’s persistence:
It tried five different ways to move synthetic data out of the sensor, switching methods when an attempt failed.
Amy Herzog, chief information security officer, AWS
What companies should do
Perplexity users don’t need to do anything: the company says no customer data was reached. For businesses: treat any key ever committed to a code repository as exposed and replace it, even if the commit was deleted. Stop features that fetch web addresses from reaching internal and cloud metadata addresses. Put sign-in on every management and AI tool interface, give cloud keys only the permissions they need, and watch for unusual use of AI services by each account. Perplexity also suggests running AI agents against your own systems to find leaked secrets first.
Why it matters
This is one of the clearest public accounts yet of an AI agent running a real attack with little human help: one set of instructions, hundreds of self-directed tasks, and tactics that changed every time a request failed. Perplexity held because its basic controls were in place first. The two companies that were breached show what happens when an old key or an open admin page is left lying around.
Sources: Perplexity, The Register (AWS research), CISA


