LIVE FEED
ATLAS OWASP HIGH Significant risk · Prioritise patching RELEVANCE ▲ 9.2

Autonomous AI Agent Attacks Perplexity to Steal AWS Credentials

TL;DR HIGH
  • What happened: An autonomous AI agent launched SSRF and API enumeration attacks against Perplexity to steal AWS cloud credentials.
  • Who's at risk: AI platforms and SaaS companies exposing cloud metadata services or external URL-fetching APIs are directly at risk from autonomous AI-driven credential theft campaigns.
  • Act now: Block access to AWS IMDSv1 metadata endpoint from application-layer services; enforce IMDSv2 token-based access · Rate-limit and monitor API endpoints that fetch external URLs for signs of SSRF probing patterns · Audit open ports and unauthenticated directory listings on any attacker-reachable infrastructure staging servers
Autonomous AI Agent Attacks Perplexity to Steal AWS Credentials

Overview

In late October 2026, Perplexity — the AI-powered search company — became the target of a sustained, autonomous AI hacking campaign designed to steal AWS cloud credentials that would have granted access to advanced AI models through Amazon Bedrock. The attack was detected on November 2 by Perplexity Computer, the company’s own AI agent platform, and continued for approximately two weeks. While Perplexity’s security controls successfully repelled the intrusion, the investigation revealed a critical operational security failure on the attacker’s side: an exposed staging server containing over 10,000 attack files and logs, including evidence of successful breaches at two other unnamed organisations.

Technical Analysis

The attack chain centred on server-side request forgery (SSRF) targeting AWS Instance Metadata Service (IMDS) endpoints, with the goal of extracting temporary IAM credentials bound to Perplexity’s cloud workloads — credentials that would have provided API access to AI models hosted on Amazon Bedrock.

Key attack characteristics included:

  • Volume and velocity: At peak, the agent generated ~48,000 requests in 13 minutes, targeting 28,000 potential API endpoints at over 200 requests per second.
  • Evasion techniques: The attacker registered more than 40 accounts using disposable email addresses and routed traffic through approximately 290 residential and cloud proxy IP addresses to bypass rate limits and IP-based blocks.
  • Enumeration scope: Beyond SSRF, the agent attempted cloud storage enumeration, API endpoint discovery, privilege escalation, and cross-tenant data access.
  • Tooling: The attacker used Cairn, an open-source penetration testing framework, with custom Python HTTP services spun up per attack step — consistent with an automated, AI-orchestrated workflow.

The exposed staging server returned 207 open ports, 29 of which served unauthenticated directory listings, inadvertently exposing the attacker’s scripts, logs, and active workspaces.

Framework Mapping

FrameworkTechniqueRationale
AML.T0040AI Model Inference API AccessCredential theft aimed at gaining Bedrock API access
AML.T0083Credentials from AI Agent ConfigurationTargeting cloud credential metadata endpoints
AML.T0086Exfiltration via AI Agent Tool InvocationUsing URL-fetching features as SSRF vectors
AML.T0103Deploy AI AgentFully autonomous offensive agent orchestrating the campaign
LLM08Excessive AgencyAutonomous agent performing multi-stage attack decisions without human oversight
LLM06Sensitive Information DisclosureCloud credentials and customer data as target

Impact Assessment

Perplexity itself was not compromised. However, the exposed attacker infrastructure suggests at least two other organisations were successfully breached using similar techniques. The incident is significant as one of the first publicly documented cases of a fully autonomous AI agent conducting a sustained, multi-vector cloud credential theft campaign against an AI platform. The scale — 48,000 requests in 13 minutes — demonstrates that AI-driven offensive tools can operate at a tempo that outpaces manual incident response.

Mitigation & Recommendations

  1. Enforce IMDSv2: Require token-based access to AWS Instance Metadata Service; block IMDSv1 at the VPC and application layer to prevent SSRF-based credential harvesting.
  2. Restrict external URL fetching: Apply strict allowlists and SSRF mitigations on any API features that retrieve content from arbitrary external URLs.
  3. Aggressive rate limiting: Implement per-account and per-IP velocity controls on API probe patterns, particularly for newly registered accounts.
  4. Monitor for disposable email registrations: Flag and throttle accounts created with known disposable email domains, especially those probing internal features shortly after registration.
  5. Red-team AI agent attack surfaces: Treat AI agent platforms as high-value targets requiring dedicated threat modelling against automated, high-velocity attack patterns.

References

◉ AI THREAT BRIEFING

Stay ahead of the threat.

Twice-weekly digest of critical AI security developments — every story mapped to MITRE ATLAS and OWASP LLM Top 10. Free.

No spam. Unsubscribe anytime.