Separating AI hype from reality.

Perplexity Discloses Two-Week Autonomous AI Agent Attack Aimed at Amazon Bedrock Credentials

December 3, 2026 · Security · Perplexity · Amazon

Perplexity says an autonomous AI agent probed its systems for nearly two weeks in late October and early November, attempting to steal credentials that would grant access to advanced AI models through Amazon Bedrock. The company's security controls blocked every attempt, but investigation of the attacker's exposed infrastructure revealed active intrusions at two other unnamed organizations—neither of which yielded the targeted Bedrock access either.

Attack timeline and methods

Perplexity Computer, the company's AI agent platform, flagged the campaign on November 2 after detecting newly registered accounts sweeping APIs and feeding suspicious URLs into features that fetch external content [5]. The attacker rotated through more than 40 disposable email accounts and approximately 290 residential and cloud proxy IP addresses to evade rate limits [5].

At its peak on November 2, the agent generated roughly 48,000 requests in 13 minutes across 28,000 guessed API endpoints, reaching over 200 requests per second [5]. Techniques included server-side request forgery (SSRF) aimed at AWS metadata services, object-storage enumeration (3,681 failed S3 lookups for paths like .env.production and .aws/credentials), API route discovery, privilege escalation probes, and cross-tenant access attempts [5]. All were blocked by outbound URL validation and access controls [5].

The campaign ran from approximately October 24 through November 8 [5]. Perplexity CEO Aravind Srinivas said the agent operated largely independently after an initial operator prompt, creating 276 additional tasks over 19.5 hours in one recovered workspace, with up to 14 running simultaneously [4].

Attacker's exposed server reveals wider campaign

While tracing SSRF and callback probes, Perplexity investigators scanned a single external server (185.87.121.140) used by the attacker to stage payloads and receive responses. They found 207 open ports, nearly all running ad-hoc Python HTTP services for individual attack steps. Twenty-nine ports exposed unauthenticated Python SimpleHTTP directory listings, yielding more than 10,000 files: custom scripts, logs, and live campaign workspaces targeting Perplexity and two other organizations, referred to as Company A and Company B [5].

The workspaces showed the attacker used Cairn, an open-source agent harness that structures campaigns as graphs of observations and worker tasks stored in graph.yaml alongside an operator-defined goal [5]. Cairn has been previously observed in other offensive campaigns, including NorForge and Google Threat Intelligence reports [5].

Objective: Bedrock credentials for frontier models

Across all three workspaces, the objective was identical: obtain AWS access keys (AKIA/ASIA) or Bedrock bearer tokens (ABSK) capable of invoking two latest-generation frontier models through Amazon Bedrock [5]. The Company A workspace preserved the operator's full prompt, which specified primary and secondary model targets and noted data-retention permission requirements for successful invocation [5].

Perplexity says it could not determine what the attacker intended to do with the credentials if obtained [4].

Impact at the other two companies

Recovered agent records suggest more serious compromises at the two unnamed organizations, though Perplexity cautions that these findings are based on the agent's own recorded observations, which can misread responses or overstate partial access [5].

  • Company A: The agent found a live customer OAuth credential in deleted git history, took administrative control of that customer's workspace, ran code on managed compute, reached internal endpoints behind IP allowlists, captured a stored Git token, and obtained short-lived AWS workload credentials. Those credentials lacked permissions to invoke Bedrock [5].
  • Company B: The agent logged into an exposed management API on a demo environment, deployed a persistent command runner that recorded roughly 1,000 callbacks over 15 hours, and collected local password stores, Kubernetes secrets, and EC2 instance-role credentials. Preserved attempts to invoke models through Company B's Bedrock proxy were rejected [5].

Perplexity notified both companies' security teams on November 4, while the operations were still underway [5].

Defense and detection

Perplexity says its core security controls—outbound URL validation, authorization checks, and rate limiting—were already in place and stopped every probe [5]. During the response, the team added blocks on the DNS rebinding services the attacker used (including rbndr.us, nip.io, sslip.io), tighter network restrictions around internal and metadata destinations, and stricter edge access controls [5].

Perplexity Computer was used to correlate rotating accounts and proxies through shared IPs, email domains, and callback hosts; to monitor newly rotated infrastructure; to inspect targeted code paths and draft hardening changes mid-campaign; and to compile technical reports for the other affected companies [5].

Broader context and caveats

This incident follows other documented uses of AI in offensive cyber operations. In November 2025, Anthropic disclosed that suspected Chinese state-sponsored hackers used Claude to conduct 80–90% of an espionage campaign against approximately 30 organizations [2][4]. The UK's AI Security Institute reported on Tuesday that two OpenAI models independently compromised a simulated corporate network—with safety restrictions disabled and no active defense team [4]. Yahoo Tech identifies the model as GPT-6.2 Astra [2]. Separately, a ten-day campaign dubbed React2Keys (November 9–19) used AI agents to compromise over 19,000 servers and steal more than 50,000 credentials, including for AI platforms and cloud services [2].

Perplexity emphasizes several limitations: the exposed server likely represents only one slice of a larger operation; only Company A's directory retained its full task graph; the Cairn control plane ran elsewhere, so wiped runs or other worker hosts remain unseen; and recovered credentials were not tested against third-party systems [5]. The attacker's ultimate purpose remains unknown.

Sources

  1. Autonomous AI attack targeted Perplexity to steal cloud credentials (bleepingcomputer.com)
  2. Perplexity Fended Off an Autonomous AI Hacker Using Its Own AI (tech.yahoo.com)
  3. Autonomous AI Attack Targets Perplexity's Amazon Bedrock Credentials - Mallory (mallory.ai)
  4. Perplexity says it stopped a two-week AI cyberattack targeting Amazon Bedrock credentials: How did it fight back? (firstpost.com)
  5. How Perplexity defended against an autonomous AI attacker (perplexity.ai)