In late October and early November 2026, Perplexity was targeted by a sophisticated autonomous AI attacker using an open-source agent harness called Cairn. The attacker launched a prolonged campaign designed to steal cloud credentials and service tokens to invoke frontier models through Amazon Bedrock. Perplexity’s security controls prevented any compromise, but the scale and adaptability of the attack signal a worrying new pattern in cyber threats.
The Recon & Probing Begins
The assault started quietly. Between October 24–28, the attacker created disposable accounts, proxies, and free accounts and used them for low-volume reconnaissance. On November 2, the campaign escalated with intense server-side request forgery (SSRF) probing and API route sweeping — 48,000 requests across 28,000 guessed API endpoints in just 13 minutes. As blocks and rate limits kicked in, the attacker rotated infrastructure: ditching old accounts and reusing new proxies and disposable email domains to continue probing. Perplexity’s internal system, dubbed Computer, flagged the anomaly and alert was raised to the security team.
Among techniques observed: URL fetching to internal services and cloud metadata, guessing object storage keys for secrets and configuration files, attempting privilege escalation via organization and admin APIs, and sweeping REST paths. The attacker also used DNS rebinding, malformed URLs, and varied redirect chains in hopes of bypassing internal protections. Despite the volume and variety of attempts — including 3,681 failed S3 path guesses over common configuration paths — no internal services or private data were accessed. Perplexity’s audit and outbound URL validation checks repeatedly blocked each attempt.
The Use of Cairn & Targets Beyond Perplexity
The attacker’s operations ran autonomously with Cairn, a graph-based AI agent harness that structures campaigns into “facts” (observations) and “intents” (tasks) related to a central goal. For example, in the Perplexity and Company B workspaces, the attacker targeted the same two frontier models on Amazon Bedrock. In one instance, the goal explicitly called for obtaining keys strong enough to invoke Bedrock models like “Model A”, demanding privileged IAM roles and specific data retention settings.
Workspaces targeting Company A and Company B, unnamed in Perplexity’s report, uncovered partial success: in Company A’s case, the attacker found an OAuth credential from a customer, gained administrative control of that customer’s workspace, and acquired short-lived AWS workload credentials — although none allowed invoking the highest-level Bedrock models. Against Company B, the attacker gained access to a demo environment and deployed a command runner that logged ~1,000 callbacks in a 15-hour period, harvesting local secrets and EC2-role credentials, but stuck when asked to use Bedrock proxies.
Detection, Response, and Defeat
Perplexity’s systems never let the attacker succeed. Its security layers—outbound URL validators, authorization controls, object storage protections, and privileged access guards—kept internal services, customer data, and credentials locked down. When the exploit became unmistakable, Perplexity escalated monitoring, deployed additional blocks on the attacker’s DNS services, locked down metadata paths, and hardened access at the edge. Simultaneously, threat intelligence was shared with the other companies under attack.
Analysis of the attacker’s exposed infrastructure revealed their command-and-control server, `185.87.121[.]140`, hosting many open ports for HTTP redirectors, callback receivers, live campaign workspaces, and open directories that inadvertently gave investigators full insight into the attack chain. Task graphs and logs confirmed autonomous progression: hundreds of tasks spun off shortly after bootstrap, each referring back to earlier observations (facts) in the campaign’s shared workspace.
None of the campaigns achieved the ultimate objective: invoking the target frontier Bedrock models. While data was collected and credentials were partially acquired in some cases, the most sensitive access remained out of reach.
Why This Matters
The incident offers a clear view of what fully autonomous AI-led cyberattacks look like: flexible agents running unsupervised, adapting tactics when blocked, and probing widely in search of a big prize. Cairn — sorted into workspaces, tasks, goals, facts — enabled the attacker to iterate quickly. And though core protections held firm at Perplexity, the partial success at Company A and Company B shows how costly defenses can be when every misconfiguration becomes a possible doorway.
What this means going forward: AI agents are accelerating the reconnaissance, probing, and credential collection process — not only making attacks cheaper but also enabling them to be conducted at near-machine speed. For defenders, the takeaway is clear: strong baseline controls must be in place before campaigns begin, continuous monitoring is essential, and intelligence sharing helps thwart multi-target operations. Expect industry pressure to standardize best practices around agent containment, prompt accountability, and AI attack observability.