Skip to content
AI Primer
breaking

Perplexity blocks autonomous credential-theft campaign after 48,000 requests in 13 minutes

Perplexity says an autonomous agent probed its systems for cloud credentials for two weeks, peaking at roughly 48,000 requests in 13 minutes. Connection-time IP checks and defender agents blocked the theft.

6 min read
Perplexity blocks autonomous credential-theft campaign after 48,000 requests in 13 minutes
Perplexity blocks autonomous credential-theft campaign after 48,000 requests in 13 minutes

TL;DR

  • A two-week credential hunt failed at Perplexity, peaking at roughly 48,000 requests in 13 minutes, according to Perplexity's account.
  • Connection-time IP checks blocked private-network and cloud-metadata requests, including DNS rebinding, as the company explained.
  • Perplexity Computer correlated disposable accounts and drafted hardening changes for engineers to review, according to the response account.
  • One recovered workspace contained 276 self-assigned tasks created over 19.5 hours after a single bootstrap, according to the recovered task graph.
  • None of three campaigns obtained the intended Amazon Bedrock access, although Perplexity's findings describe substantial footholds at two other companies.

The attacker's server hosted mock MCP servers and an OAuth registration responder. The operator's prompt even anticipated a data-retention error for its preferred Bedrock model and requested bedrock:PutAccountDataRetention to change the account setting.

API and storage sweeps

Perplexity's December 2 disclosure dates initial disposable-account creation to October 24–28, 2026, and the end of probing to November 6–8. After the November 2 peak, two further 15-minute sweeps on November 3 generated approximately 9,300 and 12,700 requests.

The company recorded six attack classes across unauthenticated endpoints and newly registered free accounts:

  • SSRF: Link-fetching features received URLs targeting cloud metadata, localhost and private networks.
  • Object-storage enumeration: CloudTrail recorded 3,681 failed S3 lookups across more than 3,300 unique keys over 14 hours. Guesses included .env.production, .aws/credentials and state.tfstate.
  • API discovery: A sweep covered 28,000 guessed routes, which returned 404s.
  • Privilege escalation: Organization and administrative permission checks rejected escalation attempts.
  • Cross-tenant access: Requests for other users' threads, files and workspaces were denied.
  • Evasion: More than 40 disposable accounts and roughly 290 residential and cloud proxy addresses were used by November 4, with rotations triggered by limits or blocks, according to the account-rotation breakdown.

Connection-time IP checks

Server-side request forgery abuses an application's URL fetcher to reach destinations through the server's network access. Here, the targets included AWS's metadata address, 169.254.169.254.

After direct internal-address requests failed, the agent tried:

  • Decimal and hexadecimal IP encodings.
  • Malformed URLs intended to confuse parsers.
  • Redirect chains through public tunnel services.
  • DNS rebinding, where a hostname initially resolves to a public address and later resolves to an internal one during the fetch.

Perplexity says its outbound validator resolves hostnames and rejects private or link-local destinations at connection time, closing the gap the rebinding attempts depended on.

Computer incident response

Computer connected the disposable accounts through shared source IPs, email domains and callback hosts, flagging the campaign on November 2. The security team then cross-checked application requests against cloud audit logs to establish that no internal services or credentials had been reached.

A dedicated Computer workflow ran periodically for more than five days:

  1. Carry forward previously identified accounts, IPs and domains.
  2. Search recent logs for rotated infrastructure and changed request patterns.
  3. Post updates to the incident channel.
  4. Inspect targeted code paths and draft preventive changes for engineers to review and ship.

The company reports adding blocks on DNS services used in the attack, tighter restrictions around internal and metadata destinations, and stricter edge access controls. Active incident response wrapped up on November 5, while automated monitoring continued.

207 open ports

Callback URLs led the security team to the attacker's server on November 4. Perplexity's technical report counts 207 open TCP ports, including 29 serving unauthenticated Python SimpleHTTP directory indexes.

More than 10,000 exposed files included probing scripts, receiver logs and live workspaces targeting Perplexity and two other organizations.

Cairn fact-intent graph

The attacker used Cairn, an open-source harness running CLI coding agents inside a Kali Linux container with shell, network and headless-browser access.

The most revealing artifact is graph.yaml, with three components:

  1. Goal: The operator's objective.
  2. Facts: Recorded observations, script results, failed approaches and follow-up leads.
  3. Intents: Worker tasks linked to earlier facts.

Each task consumes earlier observations, performs work and records a new fact that can motivate subsequent tasks. Cairn's default reasoning prompt explicitly asks whether the accumulated facts satisfy the goal and whether more exploration should be proposed.

276 self-assigned tasks

The detailed autonomy counts come from Company A's preserved workspace. After dispatcher.bootstrap initialized the first task, the agent created 276 additional tasks itself.

The recovered snapshot contained:

  • 277 total tasks: 263 completed and 14 still running.
  • 265 recorded facts accumulated over 19.5 hours.
  • Up to 14 concurrent tasks, with a median task duration of 11 minutes.
  • More than 40 new tasks launched in the busiest hour.
  • 37 explicit dead ends, of which 19 were cited by follow-up tasks within a median of 31 minutes.

When GitHub code search required authentication, the agent opened three parallel tasks within 25 minutes:

  1. Find a GitHub token.
  2. Mine an alternative public source.
  3. Mine another alternative public source.

It returned to the original search after obtaining a token.

Credential-hunting pipeline

The agent's hunt followed five stages in Perplexity's reconstruction:

  1. Host and web discovery: Certificate-transparency logs, passive DNS and web archives supplied candidate assets. Browser automation fetched JavaScript bundles and OpenAPI schemas when command-line requests were blocked.
  2. Repository and history mining: Searches covered repositories, Gists, commit history and unreachable Git objects. One task completed full-history scans of 4,281 forks across ten public repositories, with 47 clone failures.
  3. Package and binary analysis: The agent unpacked npm and PyPI releases, container layers, Hugging Face repositories, desktop installers and mobile builds.
  4. Credential filtering: It required complete AWS access-key and secret pairs, or service tokens paired with a target hostname or workspace ID, before checking access through AWS STS or vendor APIs.
  5. Authenticated probing: Disposable free-account signups provided sessions for examining connectors, MCP interfaces, secret stores and compute workloads.

Two third-party footholds

All three campaigns sought credentials capable of invoking two frontier models through Amazon Bedrock. Perplexity says its own systems yielded no victim or platform credentials.

The recovered workspaces described deeper access elsewhere:

  • Company A: A live customer OAuth credential in deleted Git history led to administrative control of that customer's workspace and code execution on managed compute. The agent then reached internal endpoints behind IP allowlists, captured a stored Git token and obtained short-lived AWS workload credentials. Those credentials lacked Bedrock invocation permissions.
  • Company B: An exposed management API on a demo environment enabled a persistent command runner, with roughly 1,000 callbacks over 15 hours. The agent collected local password stores, Kubernetes secrets and EC2 instance-role credentials. Preserved attempts to invoke models through the company's Bedrock proxy were rejected.

Perplexity notified both security teams within hours of discovering the server on November 4, while the intrusions were still active.

The company's scope notes say it did not test recovered credentials against third-party systems and warn that the agent's compressed facts can overstate partial access. Only Company A retained a full task graph; Cairn's control plane ran elsewhere, leaving other worker hosts and wiped runs outside the investigation's view.

Further reading

Discussion across the web

Where this story is being discussed, in original context.

On X· 6 threads
TL;DR2 posts
API and storage sweeps3 posts
Computer incident response2 posts
207 open ports1 post
Credential-hunting pipeline1 post
Two third-party footholds2 posts
Share on X