Between late October and early November, Perplexity defended itself against an attacker controlled not by a person at a keyboard, but by an autonomous AI agent. It planned its own next steps, switched accounts, and tried dozens of tricks to obtain cloud credentials. On Wednesday, the company published a detailed analysis of the incident. It shows that the attacker obtained nothing from Perplexity. Other companies were not so lucky.
Tens of thousands of attempts within minutes
The first suspicious accounts appeared between October 24 and 28 and initially only cautiously surveyed the terrain. The active phase began on November 2. In thirteen minutes, the agent sent roughly 48,000 requests targeting tens of thousands of fabricated API addresses, peaking at more than two hundred per second. At the same time, it fed functions that retrieve content from links with modified addresses pointing to internal services and AWS metadata. When it hit an obstacle, it rewrote IP addresses in different formats or sent requests through public tunnels. It also tried to spoof a domain so that it appeared to be a public address during validation and only pointed inside the network when the content was retrieved. It also searched storage for secret files. Over fourteen hours, the logs recorded more than 3,600 unsuccessful attempts to download files such as .env.production or .aws/credentials.
Whenever it was stopped by a limit or block, it moved to fresh infrastructure. By November 4, it had cycled through more than forty accounts using disposable email addresses and roughly 290 proxy addresses. The suspicious activity was first detected by the Perplexity Computer platform, which the company's security team uses to triage alerts. It was able to link the disposable accounts through shared IP addresses, email domains, and callback servers. According to Perplexity, none of the attempts succeeded, so no customer data or internal keys were leaked. Nevertheless, the team closely monitored the agent for several days and added further protections on the fly.
An open server exposed the entire operation
The turning point came when several clues led to the same external server. The security team discovered 207 open ports on it, 29 of which exposed directory contents to anyone on the internet. More than ten thousand files were stored there, including scripts, logs, and active campaigns against two other companies, which Perplexity does not name in its report.
The attacker used the open-source tool Cairn, which manages the work of AI agents. According to TechCrunch, it resembles Artex, a tool that security teams have been dealing with in recent weeks. The operator only specified the objective, and the agent planned the rest on its own. In the campaign against one of the companies, it created 276 tasks in under twenty hours and ran up to fourteen of them concurrently. It diligently recorded dead ends and used them to inform further attempts within a few dozen minutes.
The objective remained the same in every case. The attacker wanted AWS credentials or tokens that would allow it to use two of the latest leading language models through Amazon Bedrock. The discovered data does not reveal what it needed them for.
Two companies were not so lucky
At the first company, the agent found a working customer credential in deleted Git history. It took administrative control of the customer's workspace and executed code on managed servers. This gave it access to internal services and temporary AWS credentials, though these did not provide access to the models on Bedrock.
At the second company, it logged into an unprotected administrative interface in a demo environment and deployed a program that sent roughly one thousand reports over fifteen hours. It collected stored passwords, Kubernetes secrets, and credentials for EC2 servers. However, attempts to access the models on Bedrock through the company's gateway were denied.
Perplexity notified both companies on November 4, while the attacks were still underway, and provided them with technical details. The attacker created the last disposable accounts on November 6, after which the probing stopped.
Sources: perplexity.ai and techcrunch.com



