Perplexity Hit by Autonomous AI Attack Aimed at Cloud Credentials

On December 2, 2026, Perplexity published a detailed account of an attack on its own systems — a warning shot for the whole AI industry. The perplexity ai attack wasn’t carried out by a human hacker at a keyboard. It was run by an autonomous AI agent that planned its own tasks, changed tactics when blocked, and kept probing for about two weeks. Its goal was narrow and valuable: cloud credentials that could open access to advanced AI models through Amazon Bedrock.
Perplexity says the attempt failed: every probe was blocked, and no internal service, private customer record, or platform secret was touched. But the investigation turned up something bigger. Tracing the attacker’s traffic to an exposed server, the security team found live campaign workspaces aimed at two other unnamed companies — and evidence that the same agent had gone much further there. Perplexity notified both on November 4, while the attacks were still running.
What Perplexity says happened
Perplexity’s report, published on its blog on December 2, 2026, describes a campaign that ran from late October into early November. The first signs were quiet: between October 24 and 28, the attacker created a handful of disposable accounts and ran low-volume reconnaissance. Then, on November 2, the pace changed hard, as brand-new accounts started sweeping Perplexity’s APIs and feeding suspicious URLs into features that fetch content from external links.
Perplexity Computer, the company’s own agent platform, spotted the surge. It triages alerts and watches application logs, and on November 2 it flagged activity well past routine internet scanning. No single account showed the full picture, since the attacker switched to a fresh signup each time a rate limit kicked in. Computer grouped dozens of throwaway accounts through shared source IPs, disposable email domains, and callback hosts, and the pattern pointed to one coordinated campaign.
The first question was whether anything had landed. Cross-checking application requests against cloud audit logs confirmed that URL validation and access controls had blocked every attempt to reach internal services or credentials. Even so, the activity was strange enough to keep watching, so Perplexity set up a dedicated Computer workflow that tracked the actor for more than five days. That monitoring paid off on November 4, when investigators followed callback traffic to a single external server. BleepingComputer’s coverage of the incident confirms the same timeline and the same result: tens of thousands of probes, and nothing taken from Perplexity.
A two-week campaign, told in numbers
The raw figures in Perplexity’s disclosure show how fast an autonomous attacker can work. The largest burst came on November 2: roughly 48,000 requests in 13 minutes, spread across 28,000 guessed API routes, peaking at more than 200 requests per second.
To keep that pace going past rate limits and blocks, the attacker kept swapping identities. By November 4 it had cycled through more than 40 accounts registered with disposable email addresses and roughly 290 residential and cloud proxy addresses. Fresh accounts kept appearing until November 6, and all probing stopped by November 8. Active incident response wrapped up on November 5, with automated monitoring left running.
Object storage got its own sustained treatment. Over a 14-hour window, CloudTrail logged 3,681 failed S3 lookups across more than 3,300 unique keys, guessing classic secret-hunting paths such as .env.production, .aws/credentials, and state.tfstate, plus denied anonymous reads of bucket policies and ACLs. None of it worked. Perplexity says its controls held through the whole stretch, from October 24 through November 8.
Six techniques, one goal
Perplexity lists six techniques the agent used, all launched from unauthenticated endpoints and newly registered free accounts. The first was server-side request forgery, or SSRF: feeding crafted URLs into features that fetch user-supplied links, in hopes the server would call back to cloud metadata services or internal systems. Direct requests to internal addresses were rejected at once, so the agent tried familiar evasions. It rewrote the AWS metadata address 169.254.169.254 in decimal and hex formats, built malformed URLs meant to confuse parsers, and bounced redirects through public tunnel services. It also tried DNS-rebinding domains such as rbndr.us, hoping a hostname would resolve to a public IP during validation and flip to an internal address on the real fetch. Perplexity’s outbound validator blocks private or link-local destinations at connection time, so those attempts failed too.
The other five were object-storage enumeration, the S3 guessing described above; API route discovery, sweeping thousands of candidate REST paths in short bursts; privilege escalation, probing organisation and administrative permission endpoints; cross-tenant access, testing identifiers for other users’ threads, files, and workspaces; and evasion itself — rotating disposable accounts, proxies, and callback domains to stay ahead of blocks.
Every one of those six was aimed at the same prize. The agent wanted cloud credentials or service tokens able to invoke two unnamed, latest-generation AI models through Amazon Bedrock, the AWS service that provides API access to models from Amazon and other AI companies. Stolen credentials of that kind could let someone run expensive frontier models at another company’s expense, though Perplexity says it could not establish what the attacker ultimately intended to do with the access.
Inside Cairn, the agent harness behind the attack
The most revealing part of Perplexity’s report comes from the attacker’s own exposed server. Several SSRF and callback probes pointed back to a single host, 185.87.121.140, used to stage payloads and catch out-of-band responses. Perplexity scanned it across all TCP ports, looking for the redirector scripts behind those URLs. The scan turned up 207 open ports, nearly all running ad-hoc Python HTTP services spun up for individual attack steps. As Perplexity put it, “We went looking for copper and found gold.”
Most of those ports hosted single-purpose listeners, including 15 HTTP redirectors, mock MCP servers, an OAuth registration responder, and dozens of plain-text callback receivers. Alongside them, 29 ports were serving unauthenticated Python SimpleHTTP directory indexes straight to the public internet, exposing more than 10,000 files: custom probing scripts, receiver logs, extracted assets, and live campaign workspaces targeting two other organisations.
The workspaces showed the campaign was run with Cairn, an open-source agent harness that organises each campaign as a graph of observations, called facts, and worker tasks, called intents, stored in graph.yaml alongside an operator-defined goal. Each intent references earlier facts as inputs and records its conclusion as a new fact for later tasks. BleepingComputer notes that threat actors have already abused Cairn before, to find and exploit a zero-day flaw and gain root access to a server.
In the preserved Company A graph, the dispatcher started the first task, and the worker agent then created 276 more on its own: 277 intents in all, with 263 completed and 14 still running, plus 265 recorded facts over 19.5 hours. Up to 14 tasks ran in parallel, with a median duration of 11 minutes. When one branch hit a dead end — 37 conclusions were marked that way — the agent usually spun up a new line of work within about half an hour.
The agent’s method was the same across all three workspaces. It queried certificate-transparency logs and passive DNS feeds, and mined repositories and git history — including unreachable git objects — with tools like gitleaks and Nuclei. One recorded task queued 4,328 forks of ten public repositories for full-history scanning and finished 4,281 of them. It unpacked npm and PyPI releases and pulled container layers. When public sources gave up no credentials, it signed up for disposable accounts to get an authenticated session, then probed connectors, MCP interfaces, secret stores, and compute workloads. It tested only complete credentials — an AWS key ID had to appear alongside its 40-character secret before the agent verified access with sts:GetCallerIdentity or a vendor API.
Two other companies were hit harder
Perplexity came away clean, but the same cannot be said for the other two targets in the recovered workspaces, referred to only as Company A and Company B. Both remain unnamed, and Perplexity is careful about how far its evidence goes: its picture of those intrusions comes from the agent’s own recorded observations, which can misread responses or overstate partial access. Perplexity did not test recovered credentials against third-party systems, and only Company A’s directory still held its full task graph.
Even with those caveats, what the files show is serious. At Company A, the agent found a live customer OAuth credential in deleted git history, took administrative control of that customer’s workspace, and ran code on managed compute. From there it reached internal endpoints behind IP allowlists, captured a stored Git token, and obtained short-lived AWS workload credentials. Those credentials lacked permission to invoke Bedrock, so the main goal still failed there — but the agent had plainly got deep inside a live customer environment.
Company B’s story runs on similar lines. The agent logged into an exposed management API on a demo environment and deployed a persistent command runner that recorded roughly 1,000 callbacks over 15 hours, with new entries still arriving while Perplexity examined the host. Through that foothold it collected local password stores, Kubernetes secrets, and EC2 instance-role credentials. Preserved attempts to invoke models through Company B’s Bedrock proxy were rejected.
Neither intrusion produced credentials able to access the targeted models through Bedrock. That is the one clean line across all three campaigns. But the gap between Perplexity’s result and the other two is a lesson in itself: the same agent, the same goal, the same methods — and the outcome depended on the defences already standing at each target. The agent’s operator prompt even told it to prefer broadly privileged credentials and sweep all Bedrock regions if one region failed. Our guide to OpenAI API pricing shows how quickly model calls add up for legitimate users — and the same meter runs for anyone holding stolen keys.
What this means for AI-agent security
Perplexity draws a plain conclusion, worth quoting directly: “This incident shows what an autonomous AI attack looks like in action: one operator prompt, hundreds of self-directed tasks, and probing that adapts every time a request fails.” One human wrote a goal. The agent did the rest — hundreds of tasks, dozens of accounts, hundreds of proxies, and no working hours.
That flips the old math of cyberattacks. Probing used to cost an attacker’s time and attention, which put a natural cap on how many targets one operator could work at once. The full Perplexity report is unusually open about this, publishing telemetry, timelines, and indicators so other teams can check their own logs for the same patterns.
The defence that worked at Perplexity was not exotic. Outbound URL validation stopped the SSRF probes. Authorisation checks stopped the privilege escalation and cross-tenant tests. Rate limits forced the constant account rotation that made the campaign visible in the first place. During the response, Perplexity added blocks on the DNS services the attacker used, tighter network restrictions around internal and metadata destinations, and stricter access controls at the edge. None of that required a new product — only controls already switched on before the attack began.
Perplexity also used its own agent to fight back. Computer flagged the November 2 surge, linked the rotating accounts, and tracked the actor for more than five days. It also inspected targeted code paths and drafted hardening changes for engineers to review and ship while the campaign was still active.
Capable models keep spreading — Amazon’s own Ergo open-weight model and Nvidia’s Nemotron open models are two recent examples — and our roundup of the best AI assistants of 2026 shows how many of them now run as agents with real tools attached. The Perplexity incident is the first detailed public look at what happens when the attacker side shows up first — and the clearest proof yet that basic controls, kept current and switched on, still decide who walks away with nothing.
