Back Appdevelopermagazine How Perplexity Defended Against an Autonomous AI Attacker
Perplexity says an autonomous LLM driven agent probed its infrastructure for credentials, peaking at roughly 48,000 requests in 13 minutes, and that URL validation and authorization checks blocked every attempt.
Perplexity published a detailed account on December 2, 2026, of an autonomous AI agent that spent roughly two weeks probing its infrastructure for cloud and AI-service credentials. The company says its controls held, that the attacker reached no internal services, private customer data or platform secrets, and that it used its own agent platform, Perplexity Computer, to spot, track and respond to the campaign.
It is a rare thing: a first-party write-up of an attack carried out by an LLM-driven agent, with numbers, a timeline and an honest list of limitations. Everything here comes from Perplexity's own post, so the claims are the company's account. Even so, the details give security teams a concrete picture of what automated, agent-driven reconnaissance looks like when it arrives.
According to Perplexity, the attacker ran an autonomous agent in late October and early November 2026 to harvest cloud and AI-service credentials. The agent rotated through disposable accounts and proxies, tested server-side URL fetching endpoints for server-side request forgery, swept object storage and API paths, and attempted privilege escalation. Probing peaked on November 2 at roughly 48,000 requests in 13 minutes.
The post describes a handful of techniques, all launched from unauthenticated endpoints or from throwaway accounts:
Server-side request forgery. The agent supplied URLs and redirect chains aimed at cloud metadata and internal services, including the 169.254.169.254 metadata address in decimal and hexadecimal forms, and DNS rebinding through the rbndr.us service. Perplexity says outbound URL validation blocked these.
Object-storage enumeration. The agent probed download endpoints and guessed object keys for secrets and configuration files. Perplexity reports 3,681 failed lookups over 14 hours, covering more than 3,300 unique keys, and says no private objects were accessed.
API route discovery. The agent swept thousands of candidate REST paths in high-rate bursts, roughly 28,000 guessed routes at more than 200 requests per second, and the guessed paths returned 404.
Privilege escalation and cross-tenant probes. The agent tried organization and administrative permission endpoints, and Perplexity says authorization checks blocked them.
Perplexity says more than 40 disposable email accounts and 290 residential and cloud proxy IPs were involved. The attacker switched to a fresh signup whenever rate limits kicked in, which is the detail that made the activity hard to see from any single account.
In the post, Perplexity says the attacker was running Cairn, an open-source agent harness that runs command-line coding agents inside a Kali Linux container with shell, network and headless-browser access. That description matters because it frames this as an off-the-shelf tool chain that anyone could assemble, not a bespoke nation-state operation. Perplexity says the objective was access to frontier models through Amazon Bedrock, though the company does not name the models.
The takeaway for developers is uncomfortable but practical. The techniques are old. SSRF, key guessing and route enumeration are standard web security checks. What is new is the cost and persistence. An agent can try thousands of variations, adapt to responses, rotate identities and keep going without fatigue, and it does so at a speed that overwhelms manual log reading.
How Perplexity spotted it
On November 2, Perplexity's security team, which uses Perplexity Computer to triage alerts and watch application logs, saw something that went beyond routine internet scanning: a wave of brand-new accounts sweeping its APIs and feeding suspicious URLs into features that fetch external links.
No single account showed the whole picture. Computer grouped dozens of throwaway accounts through their shared source IPs, disposable email domains and callback hosts, which showed they belonged to one coordinated campaign. The team then cross-checked the application requests against cloud audit logs, which confirmed that URL validation and access controls had blocked every attempt to reach internal services or credentials.
Rather than stop there, the team set up a dedicated Computer workflow focused on this actor and ran it at regular intervals for more than five days. Each pass built on the accounts, IPs and domains collected earlier, searched recent logs for newly rotated infrastructure or new request patterns, and posted updates to the incident channel. When probing shifted toward more sensitive surfaces, the team used Computer to inspect the targeted code paths and draft preventive hardening changes that engineers could review and ship while the campaign was still active.
Perplexity's timeline, in UTC, runs from October 24 to 28 for the initial low-volume reconnaissance, to November 2 when high-rate sweeps began and Computer raised the alarm, November 3 when dedicated monitoring started and additional blocks went in, November 4 when the attacker's exposed server was found and other targeted companies were notified, and November 5 when active incident response wrapped up. The company says the attacks against it stopped by November 8.
The exposed attacker server
The most unusual part of the story is what Perplexity found when it looked at the other side. On November 4 it discovered an exposed server belonging to the attacker, which it describes as having 207 open ports, 29 directory listings and more than 10,000 files. The files included live campaign workspaces aimed at obtaining Bedrock access to frontier models.
Those workspaces also revealed active intrusions against two other companies, which Perplexity calls Company A and Company B without naming them. Perplexity says it notified both security teams on November 4 while the operations were underway. For one of them, the agent's records show 277 recorded intents and 265 facts collected over 19.5 hours.
There is an important qualification. The information the two other companies comes from the attacker agent's own recorded observations, and Perplexity cautions that those records could misinterpret responses or overstate the extent of the intrusions. The right way to read the numbers is as an agent's log of what it believed it did, not as a confirmed breach assessment by the victims. It also remains unclear what the attacker ultimately intended to do with any access.
What Perplexity changed
The post lists defensive changes made during and after the campaign, including DNS blocks for domains used in the attack, tighter network restrictions and stricter edge controls. It publishes indicators of compromise in the original article for defenders to use, and we are not repeating them here.
The company also states what it did not see. Its controls, it says, blocked the SSRF attempts, the object-storage probes, the API sweeps, the privilege-escalation attempts and the cross-tenant probes, and no internal services, private customer data or platform secrets were reached over two weeks of activity.
Lessons for teams that run web apps
Perplexity's write-up is useful because the defenses it credits are not exotic. Several map directly to a developer's checklist.
Validate outbound URLs on the server. Any feature that fetches a user-supplied link is an SSRF candidate. Block link-local and metadata addresses in every encoding, resolve DNS and re-check the result, and treat redirects as new requests that need their own validation.
Authorize every object and route. Guessing keys only works when an endpoint serves whatever it is asked for. Authorization checks that tie access to the caller, not to knowledge of an identifier, turn enumeration into a stream of failures.
Do not rely on per-account rate limits alone. The attacker simply signed up again. Correlating accounts by IP, email domain and callback host, as Computer did, caught what limits missed. Signup friction and domain reputation checks belong in the same conversation.
Log in a way that you can . Cross-checking application logs against cloud audit logs was how Perplexity proved nothing had landed. Teams that cannot do that join in minutes are working blind, a lesson that also runs through coverage of attacks like the widespread SharePoint zero-day attacks .
Plan for a campaign, not an alert. The monitoring workflow ran for more than five days, rebuilding its picture each time. A single alert is easy to close; a persistent actor needs a persistent investigation.
Where this fits in the wider picture
Agents are showing up on both sides of security. We have written an investigation into unauthorized access to a restricted model , bot defense built for the agent era , and the rise of agentic orchestration . The Perplexity case combines those themes: an agent attacking, an agent defending and humans deciding what to change.
It also lands on top of an existing trend in enterprise security. Our 2026 cybersecurity predictions on identity argued that identity is the new perimeter, and a campaign that churns through disposable accounts is a direct test of that idea. The older look at cybersecurity in 2025 reads differently now that agents can do the grunt work of reconnaissance.
On the defender side, the same technology is being aimed at keeping agents in bounds, as in AWS Greenlight's use of proofs , and being sold as a service through offerings like the AWS AI agent marketplace . Teams that build with agents should expect to defend against them as well.
Perplexity does not say who the attacker was, what the agent's final objective was beyond Bedrock access, or whether the attacker had any success elsewhere. It does not name the two other companies. The limitations section of its post acknowledges the uncertainty in the agent's records. The post also does not say how much of the response was automated and how much was human judgment, beyond noting that engineers reviewed and shipped the hardening changes.
What can be said is that an autonomous agent was used to try to steal credentials at scale, that the targeted company says its basic controls blocked every attempt, and that it found a way to watch the attacker in return. For developers, the lesson is to go back to basics with a more skeptical eye. The attacks that worked on yesterday's applications are now cheaper to run, and the defenses that stop them are still the ones from the textbook: validate, authorize, correlate and log.
MEMBERS GET ACCESS TO
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
