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
| Framework | Technique | Rationale |
|---|---|---|
| AML.T0040 | AI Model Inference API Access | Credential theft aimed at gaining Bedrock API access |
| AML.T0083 | Credentials from AI Agent Configuration | Targeting cloud credential metadata endpoints |
| AML.T0086 | Exfiltration via AI Agent Tool Invocation | Using URL-fetching features as SSRF vectors |
| AML.T0103 | Deploy AI Agent | Fully autonomous offensive agent orchestrating the campaign |
| LLM08 | Excessive Agency | Autonomous agent performing multi-stage attack decisions without human oversight |
| LLM06 | Sensitive Information Disclosure | Cloud 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
- 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.
- Restrict external URL fetching: Apply strict allowlists and SSRF mitigations on any API features that retrieve content from arbitrary external URLs.
- Aggressive rate limiting: Implement per-account and per-IP velocity controls on API probe patterns, particularly for newly registered accounts.
- Monitor for disposable email registrations: Flag and throttle accounts created with known disposable email domains, especially those probing internal features shortly after registration.
- Red-team AI agent attack surfaces: Treat AI agent platforms as high-value targets requiring dedicated threat modelling against automated, high-velocity attack patterns.