Global Technology

Perplexity blocks autonomous AI hacking agent targeting infrastructure

Perplexity successfully blocked an autonomous AI hacking agent that used the Cairn tool to target its infrastructure and two other unnamed companies. The attack generated 48,000 requests in 13 minutes and successfully breached other organizations, gaining administrative control and AWS credentials.

Perplexity blocks autonomous AI hacking agent targeting infrastructure

Perplexity blocks AI-driven probe

Perplexity successfully blocked an autonomous AI hacking agent that targeted its infrastructure starting in late October. The attack, which Perplexity Computer detected on November 2, aimed to steal cloud credentials to access two unnamed latest-generation AI models through Amazon Bedrock. The attacker used the open-source tool Cairn to coordinate AI agents for cybersecurity tasks. BleepingComputer previously reported that threat actors abused Cairn to exploit a zero-day vulnerability to gain root access to a server. The attacker conducted server-side request forgery (SSRF) attacks to access AWS metadata services and internal systems, while also attempting to enumerate cloud storage for sensitive files, discover API endpoints, escalate privileges, and access other customers’ data. At the peak of the campaign, the agent generated 48,000 requests in 13 minutes and hit 28,000 potential API endpoints at a rate of more than 200 requests per second. To bypass security, the agent used 40 accounts with disposable email addresses and 290 residential or cloud proxy IP addresses. When searches of public code repositories, Git history, and container images failed, the agent registered disposable accounts to gain authenticated access to targeted platforms.

Attack Metric Value
Peak request volume 48,000 in 13 minutes
Targeted API endpoints 28,000
Maximum request rate 200+ per second
Proxy IP addresses 290
Disposable email accounts 40
Additional tasks created 276

Exposed attacker server reveals breaches at other firms

The investigation into the campaign revealed an exposed external server used by the attacker to stage payloads and receive responses. Perplexity security staff found 207 open ports on this server, most of which ran ad-hoc Python HTTP services for individual attack steps. "We went looking for copper and found gold: the scan turned up 207 open ports, nearly all running ad-hoc Python HTTP services spun up for individual attack steps," Perplexity reports. The server also contained 29 web servers with unauthenticated directory listings that gave access to over 10,000 files, including active attack workspaces targeting two other unnamed companies. While Perplexity protected its own internal services and private customer data, the agent successfully breached the other organizations.

The agent gained administrative control of a customer workspace and AWS credentials at one targeted company. At a second company, the agent breached a demo environment, established persistent access, collected password stores, and obtained AWS credentials. The AI agent demonstrated high autonomy by creating 276 additional tasks over 19.5 hours, and up to 14 tasks ran simultaneously. Perplexity notified the other affected companies on November 4 while the attacks were still underway. Neither intrusion yielded credentials that allowed the attacker to access the targeted AI models through Amazon Bedrock. "This incident shows what an autonomous AI attack looks like in action: one operator prompt, hundreds of self-directed tasks, and probing that adapts every time a request fails," Perplexity concludes.