Perplexity was targeted by an autonomous AI hacking agent in an attempt to steal cloud credentials that would grant access to advanced AI models through Amazon Bedrock. The Perplexity attack was unsuccessful, the company said, but its investigation uncovered signs of breaches at two other organizations.
Amazon Bedrock is an AWS service that provides API access to AI models from Amazon and other AI companies. Access to those models is controlled by cloud credentials and service tokens, which is why they were the target.
How the Perplexity attack unfolded
In a written account published this week, Perplexity said the attacks against its infrastructure began in late October and continued for about two weeks. The company said its AI agent platform, Perplexity Computer, detected the activity on November 2. It flagged newly registered accounts that were probing APIs and features that retrieve content from external URLs.
The attacker used server-side request forgery (SSRF), a technique that tricks a server into making requests on the attacker’s behalf. The goal was to reach AWS metadata services and internal systems. The agent also tried to list cloud storage for sensitive files, find API endpoints, escalate privileges and reach other customers’ data.
At its peak, the attack generated about 48,000 requests in 13 minutes. Those requests targeted roughly 28,000 potential API endpoints and exceeded 200 requests per second.
Evading rate limits and blocks
To get around rate limits and blocks, the attacker used more than 40 accounts registered with disposable email addresses. It also rotated roughly 290 residential and cloud proxy IP addresses. Perplexity said these tactics did not stop its own controls from doing their job.
According to Perplexity, its existing security controls blocked the attacks. They prevented access to internal services, private customer data and platform secrets. The company said the probes were stopped before they reached anything sensitive on its own platform.
What the attacker’s server exposed
While investigating the campaign, Perplexity’s security team found that several probes pointed to an external server the attacker used to stage payloads and receive responses. A scan of that infrastructure turned up 207 open ports. Nearly all ran ad-hoc Python HTTP services set up for individual attack steps.
Perplexity said 29 of those ports exposed web servers with unauthenticated directory listings. Those listings gave access to more than 10,000 files, including custom scripts, logs and active attack workspaces aimed at two other companies. The company said the exposed files showed the attacker was using Cairn, an open-source penetration testing tool that coordinates AI agents to carry out security tasks based on a goal set by an operator.
BleepingComputer has previously reported that threat actors have already used Cairn to discover and exploit a zero-day vulnerability and gain root access to a server.
How the AI agent searched for access
Across all three attack campaigns, the objective was the same: obtain cloud credentials or service tokens that could reach two unnamed, latest-generation AI models through Amazon Bedrock. The agent searched public code repositories, Git history, software packages, container images and applications for exposed credentials.
When those searches failed, the agent registered disposable accounts to gain authenticated access to targeted platforms and look for credentials there. Perplexity said the files and scripts showed the agent could operate without much supervision and change its approach when it hit a roadblock. In one campaign, it created 276 additional tasks over 19.5 hours, with as many as 14 running at the same time.
Breaches at two other companies
Perplexity said that at one of the other companies, the agent reportedly found exposed credentials that gave it administrative control of a customer’s workspace. From there it reached internal systems and obtained AWS credentials. At the second company, the agent reportedly breached a demo environment, set up persistent access and collected sensitive data. That data included password stores, Kubernetes secrets and AWS credentials.
Neither intrusion produced credentials that allowed access to the targeted AI models through Amazon Bedrock. Perplexity notified both companies on November 4, while the attacks were still underway.
Perplexity cautioned that its findings about the other organizations rely on the AI agent’s own recorded observations. Those observations could be misread or could overstate how far the breaches went. The company also said it remains unclear what the attacker intended to do with the AI models.
Why this matters for security teams
The Perplexity attack shows how automated tools can chain together reconnaissance, credential hunting and account abuse with little human input. Security teams commonly protect cloud environments by rotating keys, removing secrets from code and limiting what each service token can reach. Those basics matter more when an attacker can test thousands of endpoints in minutes.

Perplexity summed up the campaign in its account: “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.” The company has not said whether it plans to publish further details on the attacker.

