Between 24 October and 8 November 2026 an unknown operator pointed an autonomous AI agent campaign at Perplexity, trying to obtain cloud credentials or service tokens that could invoke two frontier models through Amazon Bedrock. The agents ran on Cairn, an open-source agent harness, and spent two weeks on server-side request forgery (SSRF) attempts against cloud metadata, guessed API routes and storage lookups. Perplexity was not breached. In its own report of 2 December 2026, Perplexity says its outbound URL validation and authorisation checks blocked every probe, and that the attacker reached no internal services, private customer data or platform secrets. Perplexity's AI agent platform, Computer, flagged the activity on 2 November. While investigating, Perplexity found the attacker's exposed server, which showed intrusions at two other, unnamed companies, where the agent obtained an OAuth credential, AWS workload credentials and Kubernetes secrets. Perplexity notified both companies on 4 November. No campaign reached its Bedrock goal.
Key takeaways
- Perplexity was the target, not a victim: it says its controls held and the attacker accessed no internal services, customer data or platform secrets over two weeks of activity (Perplexity, 2 December 2026).
- The goal was machine credentials: AWS keys or Bedrock tokens able to call two frontier models, the same kind of access that LLMjacking crews resell.
- Scale came from autonomy, not people: about 48,000 requests in 13 minutes on 2 November, more than 40 disposable accounts and about 290 proxy addresses, and one bootstrap task that spawned 276 more over 19.5 hours.
- Two other companies were less lucky: at one the agent found a live customer OAuth credential in deleted git history; at the other it collected password stores, Kubernetes secrets and EC2 role credentials. Perplexity cautions these details come partly from the agent's own notes.
- The identity lesson: leaked OAuth credentials, reachable metadata endpoints and over-broad workload roles are what autonomous attackers look for first, and they look tirelessly; egress validation and short-lived, narrowly scoped credentials are what stopped this one.
At a glance
| Organisations | Perplexity (targeted, not breached); two unnamed companies (intrusions reported by Perplexity) |
|---|---|
| When | 24 October to 8 November 2026; disclosed by Perplexity on 2 December 2026 |
| Attacker | Unknown operator; Perplexity did not attribute the campaign. Agents ran on Cairn, an open-source agent harness |
| Entry point | At Perplexity: SSRF attempts, API route sweeps and storage lookups via throwaway accounts (all blocked). At the other companies: a leaked OAuth credential and an exposed management API |
| Identities abused | Targeted: AWS credentials and Bedrock tokens. Obtained elsewhere: a customer OAuth credential, short-lived AWS workload credentials, EC2 role credentials, Kubernetes secrets |
| Impact | No access at Perplexity. Administrative control of one customer workspace at Company A; a persistent command runner on a demo environment at Company B. No Bedrock model access achieved |
| Category | Agentic AI / AI agents, NHI. Incident class: AI-agent incident or attempt (failed autonomous attack on Perplexity; agent-reported intrusions at two other companies) |
What happened
Perplexity published "How Perplexity defended against an autonomous AI attacker" on 2 December 2026. It describes an LLM-driven campaign whose goal was to obtain cloud credentials or service tokens able to invoke two frontier models through Amazon Bedrock. The attacker created disposable accounts and ran low-volume reconnaissance from 24 to 28 October. On 2 November high-rate SSRF attempts and API sweeps began, and Perplexity's own agent platform, Computer, flagged them to the security team. Perplexity summarises the campaign as "one operator prompt, hundreds of self-directed tasks, and probing that adapts every time a request fails."
The SSRF attempts aimed at cloud metadata and internal services, using alternate IP encodings, malformed URLs, redirect chains and DNS-rebinding domains. Perplexity says "Outbound URL validation and authorization checks blocked every probe". CloudTrail recorded 3,681 failed S3 lookups over 14 hours covering more than 3,300 unique keys, with no private objects accessed. The 2 November sweep sent about 48,000 requests in 13 minutes across roughly 28,000 guessed routes, peaking above 200 requests per second; two more sweeps on 3 November sent about 9,300 and 12,700 requests. All returned 404s. Attempts at privilege escalation and cross-tenant access were denied. When rate limits bit, the attacker moved to more than 40 disposable-email accounts and about 290 proxy addresses.
On 4 November Perplexity found the attacker's exposed server, with 207 open ports and 29 open directory listings holding more than 10,000 files, including live campaign workspaces. Those workspaces showed the same operation against two other companies. At Company A, according to Perplexity, 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 and obtained short-lived AWS workload credentials that lacked Bedrock permissions. At Company B it used an exposed management API on a demo environment to deploy a persistent command runner, recorded about 1,000 callbacks over 15 hours and collected password stores, Kubernetes secrets and EC2 role credentials; its Bedrock proxy attempts were rejected. Perplexity shared technical reports with both security teams on 4 November.
Perplexity is careful about the limits of what it saw. It says the server was likely only one slice of a larger operation, some workspaces kept partial data, Cairn's control plane ran elsewhere, the Company A and B details come partly from the agent's own compressed notes, and it did not test recovered credentials against third parties. The operator's purpose is unknown. BleepingComputer, reporting the disclosure the same day, quotes Perplexity: "This incident shows what an autonomous AI attack looks like in action". eSecurity Planet also reports that Perplexity's controls blocked the attempts and that the deeper intrusions happened at the two unnamed organisations.
Timeline
| Date | Event |
|---|---|
| 24 October 2026 | Attacker begins creating disposable accounts and low-volume reconnaissance against Perplexity (runs to 28 October). |
| 2 November 2026 | High-rate SSRF attempts and an API sweep of about 48,000 requests in 13 minutes; Perplexity's Computer platform flags the activity. |
| 3 November 2026 | Dedicated monitoring starts and further blocks are deployed; two more sweeps of about 9,300 and 12,700 requests fail. |
| 4 November 2026 | Perplexity finds the attacker's exposed server and notifies the two other targeted companies; the attacker shifts to proxies. |
| 5 November 2026 | Active incident response ends; automated monitoring continues. |
| 8 November 2026 | Probing stops; the last disposable accounts were created on 6 November. |
| 2 December 2026 | Perplexity publishes its report with indicators of compromise. |
How it happened: the identity attack path
- One goal, many agents. The operator gave Cairn a goal, credentials able to call two frontier models on Amazon Bedrock, and the harness broke it into "facts" and "intents" handled by worker agents. In one workspace a single bootstrap task produced 276 further tasks over 19.5 hours, with up to 14 running in parallel, according to Perplexity.
- Throwaway identities for reach. The agents signed up for disposable accounts so they could use Perplexity's APIs and URL-retrieval features, then rotated through more than 40 accounts and about 290 proxies to get past rate limits.
- Reach for the metadata service. SSRF attempts tried to make Perplexity's servers fetch cloud metadata and internal endpoints, the classic route to an instance's workload role credentials. Outbound validation blocked them.
- Sweep for anything exposed. API route guessing and S3 key enumeration looked for forgotten endpoints and objects. Everything returned 404s or failed lookups.
- Take what is leaked elsewhere. At Company A the agent used a live customer OAuth credential left in deleted git history; at Company B it used an exposed management API. From there it collected AWS workload and EC2 role credentials, password stores and Kubernetes secrets.
- Try the credentials against the goal. The agent tested what it collected against Bedrock. The AWS workload credentials lacked Bedrock permissions and the proxy attempts were rejected, so no campaign reached its objective.
Impact
- Perplexity (confirmed by Perplexity): no access to internal services, private customer data or platform secrets; privilege escalation and cross-tenant attempts denied.
- Company A (reported by Perplexity, partly from agent notes): administrative control of one customer workspace, code run on managed compute, short-lived AWS workload credentials obtained.
- Company B (reported by Perplexity, partly from agent notes): persistent command runner on a demo environment; password stores, Kubernetes secrets and EC2 role credentials collected.
- AI model access: none of the three campaigns obtained Bedrock access, according to Perplexity.
- Potential: Perplexity says the server was likely one slice of a larger operation, so other targets may exist that have not been reported.
What this means for NHI and AI agent security
Every step in this campaign was aimed at a non-human identity: a workload role reachable through a metadata endpoint, a storage bucket key, an OAuth credential in git history, Kubernetes secrets and, at the end of the chain, a cloud credential allowed to invoke paid AI models. That is the same prize behind earlier LLMjacking campaigns and the ArgonHunt harvest of 44,000 AI API keys. What is new is the attacker: an agent harness that keeps trying, branches after failures and needs only an operator prompt. Cairn also appeared as the exploitation engine in the AI agent retail card theft campaign, so this is not a one-off.
The useful news is that ordinary controls worked. Outbound URL validation that resolves hostnames at connection time and blocks private and link-local destinations stopped the SSRF attempts, which is the core advice in our SSRF Prevention Guide and EC2 Instance Metadata Service Hardening Guide. At Company A the short-lived AWS workload credentials lacked Bedrock permissions, which is least privilege doing its job. The weak points were the familiar ones: a credential that survived in deleted git history and an exposed management API.
Defenders should also note how Perplexity detected the attack: its own agent platform grouped throwaway accounts into one campaign by shared IPs, disposable email domains and callback hosts, then cross-checked application logs against cloud audit logs. Autonomous attackers generate volume that humans cannot triage alone. Our Agentic AI Security Guide covers both sides of that coin.
Recommendations
- Validate every outbound fetch. Resolve hostnames at connection time and block private, link-local and metadata destinations, including redirects and DNS-rebinding names. See our SSRF Prevention Guide.
- Harden instance metadata. Require IMDSv2 and keep workload roles narrow so a metadata hit yields little. See our EC2 Instance Metadata Service Hardening Guide.
- Scope who can invoke AI models. Grant Bedrock invoke permissions only to the roles that need them and log model invocation, so stolen workload credentials cannot be turned into model access. See our Amazon Bedrock Security Guide.
- Purge secrets from git history and rotate them. Deleting a file does not remove a credential from history; rotate anything that was ever committed. See our LLMjacking Guide.
- Cluster throwaway accounts. Link sign-ups by IP, email domain and callback hosts, and treat sudden high-rate API sweeps from new accounts as one campaign.
- Test yourself with agents first. Perplexity recommends running autonomous agents against your own code and external surfaces to find leaked secrets and exposed endpoints before an attacker's agent does. See our AI Red Teaming Guide.
- Share indicators quickly. Perplexity notified the two other companies while attacks were still under way and published indicators of compromise; build that hand-off into your incident plan.
Frequently asked questions
Was Perplexity breached by the Cairn AI agent attack?
No. Perplexity says its security controls held: outbound URL validation and authorisation checks blocked every probe, and over two weeks the attacker accessed no internal services, private customer data or platform secrets. The intrusions described in its report happened at two other, unnamed companies.
What is Cairn?
Cairn is an open-source agent harness that organises a campaign as a graph of observations ("facts") and worker tasks ("intents") driven by a goal the operator sets. The tool itself is public; the operator in this campaign has not been identified.
What credentials was the AI agent trying to steal?
Cloud credentials or service tokens able to invoke two frontier models through Amazon Bedrock. Along the way it collected a customer OAuth credential, short-lived AWS workload credentials, EC2 role credentials, password stores and Kubernetes secrets at two other companies, but none gave it Bedrock access, according to Perplexity.
Related NHI Mgmt Group resources
WardenStealer campaign 2026 · AI agent retail card theft campaign 2026 · React2Keys campaign 2026 · SSRF Prevention Guide · Agentic AI Security Guide
How NHI Mgmt Group can help
Autonomous attackers go straight for machine credentials: workload roles, OAuth credentials, secrets in git history and keys that unlock paid AI models. NHI Mgmt Group helps security teams find, own and scope those identities before an agent does, and our NHI Foundation Level training includes a section on securing AI agents. Explore NHI training.
References
- Perplexity: How Perplexity defended against an autonomous AI attacker (2 December 2026)
- BleepingComputer: Autonomous AI attack targeted Perplexity to steal cloud credentials (2 December 2026)
- eSecurity Planet: Perplexity Fends Off AI-Driven Attack With 48,000 Requests in 13 Minutes (4 December 2026)