Cybersecurity

Autonomous AI hacking agent targets Perplexity in failed attack

An autonomous AI agent using the Cairn tool attempted to steal cloud credentials from Perplexity via Amazon Bedrock. The attack reached a peak of 48,000 requests in 13 minutes, but Perplexity successfully blocked the intrusion and prevented access to private customer data.

Published
Section
Cybersecurity
Reading time
3 minutes
Autonomous AI hacking agent targets Perplexity in failed attack

The campaign against Perplexity

An autonomous AI hacking agent targeted Perplexity in an unsuccessful attempt to steal cloud credentials for accessing advanced AI models through Amazon Bedrock. Perplexity Computer, the company’s AI agent platform, detected the attacks on November 2 after they began in late October and continued for approximately two weeks. The attacker used Cairn, an open-source penetration testing tool that coordinates AI agents to perform cybersecurity tasks based on a goal supplied by an operator, to execute the campaign. This tool has previously allowed threat actors to discover and exploit a zero-day vulnerability to gain root access to a server. The agent searched public code repositories, software packages, container images, and applications for credentials before registering disposable accounts to gain authenticated access to targeted platforms and search for credentials.

Attack Metric Value
Peak request rate 200 requests per second
Total requests (13 mins) 48,000
Targeted API endpoints 28,000
Proxy IP addresses 290
Disposable accounts 40+

The agent conducted server-side request forgery (SSRF) attacks to access AWS metadata services and attempted to enumerate cloud storage for sensitive files. To evade rate limits, the attacker used 40 accounts with disposable email addresses and 290 residential or cloud proxy IP addresses. The campaign reached a peak of 48,000 requests in 13 minutes and targeted 28,000 potential API endpoints. This aggressive, self-directed probing clearly shows the speed and scale of an AI-driven campaign. Perplexity blocked the attacks, which prevented access to internal services, private customer data, or platform secrets.

Findings from the exposed command server

Perplexity security teams discovered an exposed server used by the attacker to stage payloads and receive responses. This investigation revealed that the scan turned up 207 open ports, nearly all running ad-hoc Python HTTP services for individual attack steps. Of these, 29 exposed web servers with unauthenticated directory listings provided access to more than 10,000 files, including custom scripts, logs, and active attack workspaces targeting two other companies.

The attacker’s logs showed the agent operated independently by creating 276 additional tasks over 19.5 hours with up to 14 tasks active at once. At one of the other companies, the agent reportedly discovered exposed credentials that allowed it to gain administrative control of a customer workspace, access internal systems, and obtain AWS credentials. At the second company, the agent reportedly breached a demo environment, established persistent access, and collected sensitive data like password stores, Kubernetes secrets, and AWS credentials. Perplexity notified both companies on November 4, although the agent’s own recorded observations could misinterpret responses or overstate the extent of those breaches. Perplexity warns that 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 stated.