Skip to main content
All incident reports
Incident report

Perplexity blocks autonomous AI agent attack aimed at cloud credentials

Perplexity says an autonomous AI agent spent about two weeks trying to steal cloud credentials that would give access to advanced AI models through Amazon Bedrock. The company says its controls blocked the attempt, and that its investigation turned up evidence of successful intrusions at two other unnamed companies.

· First published · Last updated

The short version

  • The attack. Perplexity says an autonomous AI agent attacked its infrastructure from late October for roughly two weeks, probing APIs and trying to reach cloud credentials. The company detected the campaign on 2 November.
  • Blocked. Perplexity says its existing controls stopped the attempts, with no access to internal services, private customer data or platform secrets.
  • Two other victims. While investigating, Perplexity found an attacker server whose exposed files showed successful intrusions at two other unnamed companies. Perplexity notified both on 4 November.
  • The caveat. Perplexity says its account of the two other breaches rests on the AI agent's own recorded observations, which could misinterpret responses or overstate what was achieved.

Timeline

DateEvent
Late OctoberAttacks on Perplexity's infrastructure begin.
2 NovPerplexity Computer detects newly registered accounts probing APIs and URL-fetching features.
4 NovPerplexity notifies the two other companies, while the attacks are still under way.
2 DecPerplexity publishes its report on the campaign.

The attack on Perplexity

Perplexity says the campaign against its infrastructure started in late October and ran for about two weeks. Its AI agent platform, Perplexity Computer, detected it on 2 November, when newly registered accounts began probing APIs and features that retrieve content from external URLs. The attacker attempted server-side request forgery (SSRF), trying to make those features fetch AWS metadata addresses and internal services. Perplexity says the attempts were blocked; this does not establish access to either destination.

The agent also enumerated cloud storage for sensitive files, mapped API endpoints, tried to escalate privileges and sought other customers' data. At its peak the campaign sent about 48,000 requests in 13 minutes against 28,000 potential endpoints, above 200 requests per second. It used more than 40 accounts registered with disposable email addresses and about 290 residential and cloud proxy IP addresses to get around rate limits and blocks. Perplexity says its controls held.

What the investigation found

Several probes pointed to a server the attacker used to stage payloads and collect responses. Perplexity found 207 open ports there, most running small Python web services built for individual attack steps. Twenty-nine of them served unauthenticated directory listings, exposing more than 10,000 files: custom scripts, logs and active workspaces aimed at two other companies.

The files showed the operator was using Cairn, an open-source penetration testing tool that coordinates AI agents to carry out tasks from a goal set by a person. Perplexity says the agent worked independently, opening 276 further tasks over 19.5 hours in one campaign, up to 14 at a time. Perplexity notified both companies on 4 November, while the attacks were still running.

Perplexity cautions that its account of the other two breaches rests on the agent's own recorded observations, which may misread responses or overstate what was achieved.

Objective and the other victims

Across all three campaigns the goal was cloud credentials or service tokens that would open two unnamed, latest-generation AI models through Amazon Bedrock, an AWS service that gives API access to AI models. The agent searched public code repositories, Git history, software packages, container images and applications for exposed credentials, and registered disposable accounts when those searches failed.

At one company it reportedly found exposed credentials that gave administrative control of a customer workspace, access to internal systems and AWS credentials. At the second it breached a demo environment, established persistent access and collected password stores, Kubernetes secrets and AWS credentials. Neither intrusion produced credentials for the Bedrock models, and Perplexity says what the attacker wanted the models for is unclear.

Analysis

The reported outcomes differ across the targets. Perplexity describes blocked attempts against its own systems, while the other two intrusions are reconstructed from exposed attacker workspaces and the agent's observations. Keep that evidence limitation alongside the claims of access; request volume and completed agent tasks do not independently establish a compromise.

The attacker sought credentials that could invoke particular models through Amazon Bedrock. The report describes access and credential collection at the other companies, but says neither intrusion achieved that objective. For responders, the distinction makes credential permissions and service access part of the impact assessment, alongside evidence of what the attacker actually did.

What is not known yet

  • Who operated the AI agent and where they were based.
  • The identity of the two other companies and how much data, if any, was taken from them.
  • Whether the two intrusions happened as the agent recorded them, given Perplexity's caution about its own evidence.
  • What the attacker intended to do with access to the two Bedrock-hosted AI models.
  • Whether the same tooling has been used against other targets that have not been identified.

What to do

If you run an AI platform or a public API

  1. Watch for bursts of newly registered accounts from disposable email domains probing URL-fetch and content-retrieval features, and rate-limit or block them.
  2. Test whether any feature that fetches an external URL can reach cloud instance metadata endpoints or internal services, and close that path.
  3. Alert on rapid endpoint enumeration coming from residential and cloud proxy ranges.

If you hold cloud credentials in code or images

  1. Search public repositories, Git history, published packages and container images for cloud keys and service tokens, and rotate anything found.
  2. Remove administrative cloud keys from demo, test and sandbox environments, or scope them down.
  3. Check Kubernetes secrets and password stores in demo and test environments for credentials that also work in production.

When assessing exposure from this campaign

  1. Investigate exposed credentials and reachable services together; this single campaign does not establish which route is most likely in every environment.
  2. For any credential discovered, assess its actual permissions and resulting access rather than assuming that possession enables the attacker's intended service.

Update log

  • Clarified that the internal-access probes failed and separated credential theft from the attacker's unachieved model-access objective.
  • First published.

Sources

New incident reports by email

One email a week with the reports published since the last one.

We email you about this topic only; unsubscribe any time. See our Privacy Policy.

Want us to look at your domain?

Give us one apex domain and we'll send back a written snapshot of what is already visible from outside. No call required.