Perplexity says it caught and contained an autonomous AI attacker that spent about two weeks hunting for cloud and AI-service credentials in its systems. Activity began in late October 2026, and on November 2 the agent fired around 48,000 requests in just 13 minutes.
Every probe failed. The company says the attacker got into no internal service and touched no private customer data or platform secrets.
What the attacker did
The agent cycled through throwaway accounts and proxies, checked URL-fetching features for SSRF, scanned object storage and API paths, and tried to escalate privileges. It worked from open endpoints and fresh free accounts.
On link-fetching features it aimed bypasses at AWS metadata services, localhost and private networks. Tricks included writing 169.254.169.254 in decimal and hex, malformed URLs, redirects via public tunnels and DNS-rebinding domains such as rbndr.us. Perplexity’s outbound validator resolves each hostname and refuses private or link-local targets when the connection is made, so none worked.
In object storage, CloudTrail recorded 3,681 failed S3 lookups in 14 hours for over 3,300 distinct keys, among them .env.production, .aws/credentials and state.tfstate. On the web API, the biggest sweep sent about 48,000 requests across 28,000 guessed routes at over 200 requests per second. Two more 15-minute sweeps on November 3 sent roughly 9,300 and 12,700 requests. All returned 404s. By November 4 it had used over 40 disposable-email accounts and roughly 290 residential and cloud proxy addresses.
How it was caught
Perplexity’s security team uses its own agent platform, Computer, to triage alerts and watch application logs. On November 2 it spotted a surge of brand-new accounts sweeping APIs and pushing odd URLs into link-fetching features. The attacker moved to a new signup each time a rate limit hit, so no one account showed the full picture. Computer linked dozens of them through common source IPs, throwaway email domains and callback hosts.
The team then built a dedicated workflow that re-ran periodically for over five days, building on the accounts, IPs and domains found earlier and posting to an incident channel. When probing moved toward sensitive code paths, Computer helped draft hardening changes for engineers to review and ship during the campaign.
The exposed attacker server
Several callbacks pointed to one external server. A port scan turned up 207 open ports, almost all running improvised Python services made for single attack steps, including 15 HTTP redirectors, mock MCP servers and an OAuth registration responder. Twenty-nine ports served open directory listings holding more than 10,000 files: probing scripts, receiver logs and live campaign workspaces targeting two other organizations, called Company A and Company B.
The campaign ran on Cairn, an open-source agent framework. It structures a campaign as a graph of facts and worker tasks. All three workspaces shared one goal: obtain credentials that could call two newest-generation frontier models on Amazon Bedrock.
In Company A’s workspace, the worker agent created 276 tasks on its own over 19.5 hours, with up to 14 running in parallel. It marked 37 branches as dead ends and acted on 19 of them within a median of 31 minutes.
The other two targets
At Company A, the agent dug a live customer OAuth credential out of deleted git history, gained admin control of that customer’s workspace and executed code on managed compute. It captured a stored Git token and short-lived AWS credentials, which lacked Bedrock permissions. At Company B, it signed in to a management API left exposed on a demo environment and installed a command runner that logged about 1,000 callbacks over 15 hours. Calls to models through Company B’s Bedrock proxy were refused.
Within hours of finding the server on November 4, Perplexity sent technical reports and indicators to both companies’ security teams.
What Perplexity changed
The company added blocks on DNS services the attacker used, tighter network limits around internal and metadata destinations and stricter edge access controls. It cautions that the server was probably one slice of a larger operation, that its picture of Companies A and B comes from the agent’s own compressed notes, and that the operator’s purpose for Bedrock access is unknown. Its conclusion is that agent frameworks make round-the-clock probing cheap, and defenders can run the same kind of agents against their own systems first.
Source: Perplexity AI