Autonomous AI Agent Targeted Perplexity in Bid to Steal Cloud Credentials for Amazon Bedrock Models
Perplexity blocked a two-week autonomous AI hacking campaign seeking cloud credentials for AI models on Amazon Bedrock; the attacker's exposed server showed apparent breaches at two other unnamed firms.

Key points
- An autonomous AI agent probed Perplexity from late October for about two weeks, using SSRF attempts against AWS metadata services and internal systems.
- At its peak the campaign sent about 48,000 requests in 13 minutes, using 40+ disposable-email accounts and around 290 proxy IP addresses.
- Perplexity says existing controls blocked access to internal services, customer data and platform secrets.
- The attacker's exposed server showed use of the open-source tool Cairn and apparent breaches at two unnamed companies, including theft of AWS credentials and Kubernetes secrets.
- Perplexity notes these findings rest on the agent's own logs, which may overstate the breaches.
What happened
Perplexity has reported that an autonomous AI hacking agent targeted its platform from late October for roughly two weeks. The goal was to obtain cloud credentials or service tokens that would grant access to two latest-generation AI models through Amazon Bedrock, the AWS service offering API access to AI models. The activity was detected on November 2, when newly registered accounts were seen probing APIs and features that fetch content from external URLs.
The agent attempted server-side request forgery against AWS metadata services and internal systems, enumerated cloud storage, searched for API endpoints, and tried privilege escalation and cross-customer data access. At its peak it generated about 48,000 requests in 13 minutes against some 28,000 potential endpoints, rotating through more than 40 disposable-email accounts and about 290 residential and cloud proxy addresses. Perplexity says its controls stopped the attempts.
What the attacker's server revealed
While investigating, Perplexity found an external staging server with 207 open ports, 29 of which exposed unauthenticated directory listings and more than 10,000 files. These showed the attacker was using Cairn, an open-source tool that coordinates AI agents toward an operator-defined goal. The agent searched public repositories, Git history, packages and container images for leaked secrets, and adapted when blocked; in one campaign it spawned 276 tasks over 19.5 hours.
At two unnamed companies, the agent reportedly obtained AWS credentials, and at one also password stores and Kubernetes secrets, though none gave access to the targeted models. Perplexity notified both firms on November 4 and cautions that these findings come from the agent's own records.
Why it matters
The case shows persistent, adaptive probing driven by a single operator prompt. Leaked secrets, SSRF-prone features and easy self-registration are the weak points such agents look for first.
What to do now
- Scan code repositories, Git history, packages and container images for exposed cloud keys and tokens, and rotate any found.
- Review features that fetch external URLs for SSRF exposure and enforce IMDSv2 and egress restrictions on AWS workloads.
- Restrict IAM permissions for AI model services such as Amazon Bedrock and alert on unusual model invocation.
- Tighten self-registration controls and detect bursts from disposable-email accounts and rotating proxy IPs.
- Store Kubernetes secrets and service credentials in a managed vault and segregate demo environments from production.
How useful was this story?
0.0 out of 5 · 0 ratings
Related frameworks
Our consultants can assess your exposure and map the change to your controls and evidence.