Security & Privacy

Perplexity blocks autonomous AI attack using Cairn tool

Perplexity blocked a two-week automated AI attack that used the Cairn tool to target API endpoints. The intrusion reached a peak rate of 200 requests per second and uncovered evidence of breaches at two other companies involving exposed credentials and internal systems.

Perplexity blocks autonomous AI attack using Cairn tool

The automated probe

Perplexity blocked an autonomous AI attack that began in late October and lasted for two weeks. The company detected the intrusion on November 2 when its AI agent platform, Perplexity Computer, identified newly registered accounts that were probing specific APIs and features used to retrieve content from external URLs. The attacker used Cairn, an open-source tool that coordinates AI agents to perform cybersecurity tasks based on an operator’s goal. I find the relentless nature of this automated probe deeply unsettling. At its peak, the attacker generated 48,000 requests in 13 minutes, hitting 28,000 potential API endpoints at a rate of more than 200 requests per second. To evade rate limits, the agent used more than 40 accounts with disposable email addresses and 290 residential and cloud proxy IP addresses. The agent conducted server-side request forgery (SSRF) attacks to access AWS metadata services and internal systems while attempting to enumerate cloud storage for sensitive files, discover API endpoints, escalate privileges, and access other customers’ data. The AI agent searched public code repositories, Git history, software packages, container images, and applications for exposed credentials. When these searches failed, the agent registered disposable accounts to gain authenticated access to targeted platforms and search for credentials.

Attack Metric Value
Peak request rate Over 200 per second
Total requests in peak 48,000
API endpoints targeted 28,000
Proxy IP addresses 290
Disposable accounts 40+
Exposed files Over 10,000

Evidence of other breaches

Perplexity investigators found an exposed server operated by the attacker that contained evidence of breaches at two other companies. This server had 207 open ports, most running ad-hoc Python HTTP services for individual attack steps. Twenty-nine of these ports exposed web servers with unauthenticated directory listings. I think the fact that the attacker left these files exposed is a massive blunder. These directory listings allowed access to more than 10,000 files, including custom scripts and logs, plus active attack workspaces. Perplexity notified these companies on November 4. The AI agent operated independently and changed its approach when it encountered roadblocks. In one campaign, the agent created 276 additional tasks over 19.5 hours, with up to 14 tasks running simultaneously. At one unnamed company, the agent discovered exposed credentials that allowed it to gain administrative control of a customer’s workspace, access internal systems, obtain AWS credentials, and reach other customer data. At a second company, the agent breached a demo environment, established persistent access, and collected password stores and Kubernetes secrets, alongside AWS credentials. Perplexity cautions that its findings regarding these other organizations rely on the AI agent’s own recorded observations, which might misinterpret responses or overstate the extent of the breaches. Neither intrusion yielded credentials to access the targeted AI models through Amazon Bedrock.