An SSRF attack tricks your server into fetching an address the attacker chose, and an AI agent just tried it on Perplexity at high speed.
Does your site have a button that says “import from URL”, a webhook field, or a link preview? Each one is a place where this can happen.
What happened
Perplexity published a report on 2 December 2026. It says an attacker ran an autonomous AI agent against its systems for about two weeks, from late October into early November.
The agent tested features that fetch content from outside URLs. It tried to reach the cloud provider’s internal metadata service, which can hold access credentials. Perplexity says every probe was blocked. The attacker reached no internal services, private customer data or platform secrets.
What SSRF means
SSRF stands for server-side request forgery. Your server can fetch web addresses. That is normal: it loads an image, checks a webhook or builds a link preview.
In an SSRF attack, the visitor types an address that points inside your network or to your cloud’s private metadata address. Your server fetches it and may hand back the answer. The server trusts itself, so the request skips the door that a visitor would face.

The numbers Perplexity reports
- The peak was about 48,000 requests in 13 minutes on 2 November, across about 28,000 guessed routes. That is over 200 requests per second.
- The attacker used more than 40 accounts with disposable email addresses and about 290 proxy addresses, and switched whenever a block hit.
- It also probed storage for files such as .env.production, .aws/credentials and state.tfstate. Perplexity logged 3,681 failed lookups over 14 hours.
That pace is not a person typing. A rate limit on one account or one address is not enough.
What stopped it
Perplexity says outbound URL validation and authorization checks blocked every probe. In plain words: the server checked where it was about to connect, and checked who was asking.
5 checks for your site
- List every feature that fetches a URL: imports, webhooks, link previews, image or PDF tools, “add from URL” fields.
- Allow only the addresses you expect. A short allow-list beats a block-list.
- Block private and internal addresses, including the cloud metadata address, after the name is resolved. Do not follow redirects blindly.
- Give your server the smallest permissions it needs. If a fetch is abused, there is little to steal.
- Search your own site and storage for .env, .aws, .git and .tfstate files. They should not be reachable from the internet.
This is general guidance. Perplexity’s report does not list these as steps. See also our guide on SSRF prevention for URL imports and webhooks and the CSRF vs SSRF difference.

The attacker left its own door open
While tracing the probes, Perplexity scanned the attacker’s server. It found 207 open ports. 29 of them showed unauthenticated directory listings to the public internet, with more than 10,000 files.
Those files included scripts, logs and workspaces aimed at two other companies. A directory listing shows every file in a folder to anyone who asks. Turn it off on your own site.
AI agents also hunt exposed keys
Fast agents are good at finding secrets left in public places. Our post on exposed API keys and AI agents shows what they look for.
You can also check your website’s security from the outside. The quick scan is free up to 3 times a month, and it only takes 7 minutes to know how your site looks to a visitor.
What we could not confirm
- The attacks on the two other companies come from the agent’s own recorded notes. Perplexity warns they could misread responses or overstate the damage.
- Who the attacker is, and what they wanted the AI models for, is unknown.
- Whether the same agent hit other sites is not reported.
Sources
- Perplexity (2 Dec 2026): https://www.perplexity.ai/hub/blog/how-perplexity-defended-against-an-autonomous-ai-attacker
- BleepingComputer (2 Dec 2026, 16:06): https://www.bleepingcomputer.com/news/security/autonomous-ai-attack-targeted-perplexity-to-steal-cloud-credentials/

