As reported by BleepingComputer, Perplexity disclosed that it was targeted by an autonomous AI hacking agent over a two-week campaign beginning in late October 2026. The attacker leveraged the open-source tool Cairn to coordinate AI agents that conducted SSRF attacks, API enumeration, and credential harvesting attempts against Perplexity's infrastructure—ultimately aiming to steal AWS credentials for accessing Amazon Bedrock AI models. While Perplexity's controls held, the investigation uncovered an exposed attacker server revealing successful breaches at two other companies.
Why This Attack Pattern Matters
This incident is not notable because the attack succeeded against Perplexity—it didn't. It matters because it demonstrates a mature operational workflow where AI agents autonomously execute multi-stage intrusion sequences: account registration, proxy rotation, SSRF exploitation, endpoint enumeration, and privilege escalation—all without human-in-the-loop decision-making. The attacker supplied a goal; the AI agent handled the rest.
The scale is also instructive. At peak, the campaign generated 48,000 requests in 13 minutes across 28,000 endpoints using 40+ accounts and 290 proxy IPs. That's not a human operating a keyboard. That's an autonomous system iterating at machine speed, and it represents a fundamental shift in the threat landscape that traditional rate-limiting and WAF rules are not designed to handle.
The attacker's exposed server revealed 207 open ports running ad-hoc Python HTTP services, with 29 exposing unauthenticated directory listings containing 10,000+ files. This operational sloppiness is common among AI-agent-assisted attackers who generate infrastructure at a pace that outstrips their ability to secure it.
Broader Implications for Cloud-Adjacent AI Services
The targeting of Amazon Bedrock credentials is strategic. Cloud-hosted AI model access represents a high-value asset: stolen tokens can be resold, abused for free inference, or used to exfiltrate data from connected services. As more organizations integrate AI APIs into their products, the attack surface for credential theft expands proportionally. Any service that accepts user-supplied URLs for content retrieval—a common feature in AI-powered applications—becomes a potential SSRF vector aimed at cloud metadata endpoints.
Who Is at Risk
Shield53 Recommendations
- Enforce IMDSv2 universally on all AWS instances. IMDSv1 is trivially exploitable via SSRF and should be disabled across your entire fleet. Audit with
aws ec2 describe-instances --query 'Reservations[*].Instances[*].[InstanceId,MetadataOptions.HttpTokens]'. - Implement behavioral anomaly detection on API endpoints. Look for patterns impossible for human operators: hundreds of requests per second from rotating IPs, rapid sequential account creation, and systematic endpoint probing. These signatures are distinct from traditional DDoS patterns.
- Block or challenge disposable email domains at registration. Maintain an allowlist for known-good domains and apply additional verification (CAPTCHA, phone verification, delayed feature access) for high-risk registrations.
- Segment AI model access using short-lived, scoped credentials via AWS STS rather than long-lived IAM keys. Apply least-privilege policies that restrict Bedrock access to specific models and actions.
- Deploy SSRF protections on all URL-fetching features: validate and resolve URLs server-side before request execution, block requests to RFC1918 ranges and cloud metadata IPs (169.254.169.254), and use egress filtering at the network layer.
- Monitor for Cairn and similar autonomous pentesting frameworks. While these tools have legitimate uses, their presence on your network outside of authorized engagements should trigger immediate investigation. Look for rapid sequential port scanning, automated credential spraying, and Python HTTP server processes on non-standard ports.
- Hunt for attacker infrastructure artifacts. The operational tempo of AI-agent-assisted attacks generates infrastructure faster than attackers can secure it. Proactive scanning of IPs associated with attack attempts may yield exposed staging servers, as Perplexity discovered.
The takeaway is straightforward: autonomous AI attack tools have crossed from proof-of-concept to operational use. Defenders who are still calibrating their controls against human-speed adversaries are now fighting yesterday's war. The threat has accelerated; detection and response must follow.