Perplexity AI attack blocked after 48,000 requests

An AI agent working alone spent two weeks hunting for the keys to the most powerful AI models, hit a wall at Perplexity, and still found its way into two other companies through basic mistakes

Perplexity chief executive Aravind Srinivas speaking on stage after the Perplexity AI attack failed to steal credentials

Aravind Srinivas, co-founder and chief executive of Perplexity, speaking on stage at TechCrunch Disrupt in San Francisco in October 2024

Perplexity has disclosed that the Perplexity AI attack, carried out by an autonomous AI agent, ran for about two weeks, from late October into early November 2026, hunting for cloud credentials that would unlock frontier AI models through Amazon Bedrock. Every attempt failed.

Probing peaked on 2 November, when roughly 48,000 requests went out in 13 minutes, spread across about 28,000 guessed API routes, at more than 200 requests a second.

The operator rotated through more than 40 disposable accounts and around 290 residential and cloud proxies, jumping to a fresh signup whenever a rate limit kicked in, so no single account revealed the full scale of the campaign.

The agent tried six techniques, all launched from endpoints that needed no login or from free accounts created minutes earlier. The list ran from server-side request forgery aimed at cloud metadata services, through object-storage enumeration and API route discovery, to privilege escalation, cross-tenant access, and evasion.

Amazon’s CloudTrail logs recorded 3,681 failed lookups of cloud storage over 14 hours, covering more than 3,300 different file names, including .env.production and .aws/credentials. No private file was opened.

Perplexity Computer, the company’s own agent platform, flagged the surge in application logs on 2 November and alerted the security team. A dedicated monitoring workflow started the next day, and active incident response wrapped up on 5 November.

“Agent harnesses make probing cheap, tireless, and adaptive,” Perplexity chief executive Aravind Srinivas wrote on X on 2 December. “One prompt can turn into hundreds of parallel tasks that route around failed checks on their own.”

“Our security controls held,” Perplexity wrote in its account of the incident. “Outbound URL validation and authorisation checks blocked every probe, and the attacker accessed no internal services, private customer data, or platform secrets over two weeks of activity.”

Perplexity AI attack: the attacker’s exposed server

On 4 November, investigators traced callback URLs back to a server run by the attacker. It had 207 open ports, 29 unauthenticated directory listings, and more than 10,000 files, including probing scripts, receiver logs, and live campaign workspaces.

The files showed the campaign ran on Cairn, an open-source agent harness. It puts coding agents to work inside a Kali Linux container, giving them a shell, network access, and a headless browser. From there the agent set its own tasks, judged the results, and chose the next step without human input.

In one recovered campaign, a single starting task grew into 276 more over 19.5 hours, with up to 14 running in parallel. The agent completed 263 of 277 tasks, marked 37 lines of attack as dead ends, and later reused 19 of those failures as starting points.

Those workspaces also showed the same operator targeting two other companies, which Perplexity has not named. It notified both security teams on 4 November, while the intrusions were still under way.

At the first company, the agent dug a live customer OAuth credential out of git history that had supposedly been deleted. That key handed it administrative control of the customer’s workspace, where it ran code on managed compute. It went on to seize a stored Git token and pick up short-lived AWS workload credentials, though those carried no permission to invoke Bedrock.

At the second company, it signed in through a management API left exposed on a demo environment, then planted a command runner that kept phoning home, about 1,000 callbacks across 15 hours. Along the way it gathered local password stores, Kubernetes secrets, and credentials tied to EC2 instance roles. When it tried to reach models through the company’s Bedrock proxy, the calls were refused.

Perplexity AI attack: basic hygiene decided the outcome

Perplexity cautions that its picture of the other two companies rests on the attacking agent’s own recorded observations. Such notes can misread a response or inflate partial access, and Perplexity did not test the recovered credentials against third-party systems.

Still, the dividing line is clear. None of the three campaigns produced credentials able to invoke the targeted models through Bedrock, yet the outcome at each target depended on the defences already standing there.

The Perplexity AI attack stopped entirely by 8 November. The company believes the exposed server was probably just one fragment of a bigger operation, since Cairn’s control plane ran elsewhere.

Perplexity has published the campaign’s telemetry, timelines, and indicators so other security teams can check their own logs for the same patterns. The incident shows one prompt can keep an agent working for days on end, and that basic hygiene failures decide who walks away untouched and who does not.

Comments (0)