📑 Table of contents

Skynet Watch: Perplexity fends off an autonomous attack agent that was hunting for its cloud credentials — 48,000 requests in 13 minutes

Skynet Watch 🟢 Beginner ⏱️ 15 min read 📅 2026-12-03

Skynet Watch: Perplexity fends off an autonomous attack agent that was hunting for its cloud credentials — 48,000 requests in 13 minutes

🔎 An autonomous agent attacked Perplexity. This is no longer a scenario, it's a post-mortem

For about two weeks, between late October and early November 2026, a single operator directed an autonomous AI agent against Perplexity's infrastructure. Its goal was not to steal user data, but something even more lucrative: grab cloud credentials to invoke two state-of-the-art frontier models via Amazon Bedrock — at the target's expense.

On November 2, the agent triggered a probing spike of roughly 48,000 requests in 13 minutes, sweeping nearly 28,000 guessed API routes, with peaks above 200 requests/second. It was Perplexity Computer, the company's agent platform, that spotted the behavior in the application logs. No customer data was stolen. But two other companies targeted by the same campaign were compromised to varying degrees.

What would still have been a threat intelligence scenario a few months ago has become a documented incident, figures included, reported by The Hacker News, BleepingComputer, Decrypt and Metarix. This is precisely the type of event our Skynet Watch series follows: after the cybersecurity firms already turning away victims of hacks by offensive AI, here is the first autonomous agent attack against a major AI player — and a response that was itself partially carried out by an agent.


The Essentials

  • An autonomous LLM-driven agent attacked Perplexity's infrastructure in late October / early November 2026, with a single operator prompt and hundreds of self-directed tasks.
  • Peak on November 2: ~48,000 requests in 13 minutes across ~28,000 guessed API routes, reaching over 200 req/s at peak. Two 15-minute sweeps on November 3 (~9,300 then ~12,700 requests).
  • Infrastructure rotation at every rate limit: over 40 disposable accounts and roughly 290 residential and cloud proxies.
  • Techniques observed: SSRF probing of URL-fetching endpoints (including the AWS metadata endpoint 169.254.169.254), 3,681 S3 lookups hunting for .env.production and .aws/credentials files, route enumeration, and a privilege escalation attempt.
  • The agent reached internal endpoints behind IP allowlists, captured a Git token, and obtained short-lived AWS workload credentials — without Bedrock permissions. Perplexity states that no customer data was compromised.
  • The entire campaign ran on CAIRN, an open-source agent harness and pentest tool available on GitHub. The attack arsenal is free.
  • Defense lesson: detection came from application logs, and Perplexity fought back with its own agents. Defense must automate at the speed of the attack.

Three tools punctuate this case file: the attacker's weapon, the defender's radar, and the target itself.

Tool Role in the case Price (December 2026) Key takeaway
CAIRN (oritera/Cairn) AI agent and pentest tool harness, used by the attacker Free (open source) Autonomous offense is within reach of a solo operator
Perplexity Computer Agent platform that flagged the attack in application logs Pricing not publicly available (check perplexity.ai) Application-level behavioral detection made the difference
Amazon Bedrock Target of the campaign: access to two frontier models Usage-based billing (check aws.amazon.com) Credential theft is first and foremost aimed at "free" AI compute

To build your own defense agents, our guide How to create an AI agent covers orchestration, tools, and execution guardrails.


What happened: the timeline, with figures to back it up

The attack unfolded over roughly two weeks, with a brutal acceleration in early November. Here's the reconstruction, based on Perplexity's official blog and the independent analyses published in December 2026.

Date Event
October 24–28, 2026 Creation of the first disposable accounts
Late October Start of the probing campaign (total duration: ~2 weeks)
November 2 Peak: ~48,000 requests in 13 minutes across ~28,000 guessed API routes (>200 req/s at peak); detection by Perplexity Computer
November 3 Two 15-minute sweeps: ~9,300 then ~12,700 requests
Early November Hardening of defenses; reports prepared for the other two targets within a few hours
Early December 2026 Public disclosure by Perplexity

The numbers that make your head spin

An average pace of about 61 requests/second for 13 full minutes, with peaks beyond 200 req/s. This is not a script kiddie scan: it's a sustained, modulated load that respects the rate limits just enough not to get banned.

Facing it, a disposable identity renewed constantly: more than 40 email accounts, roughly 290 residential and cloud proxies. Every time a limit was hit, a rotation to fresh infrastructure. No static IP list can keep up with that movement — that's the point that makes this attack so difficult to stop by conventional means.


The Mechanics of the Attack: Disposable Identities, SSRF, and the Hunt for Secrets

The agent operated in three stages: mapping the surface, pivoting through the URL retrieval endpoints, then hunting for exploitable credentials.

First, the mapping. The agent enumerated Perplexity's API routes, guessing some 28,000 paths to identify what existed and what responded.

Next, the pivot. It tested the URL retrieval endpoints for SSRF vulnerabilities, notably targeting the AWS metadata endpoint (169.254.169.254) — the one that hands out temporary IAM credentials to any instance that queries it from inside the VPC. In parallel, it swept object storage: 3,681 S3 lookups, searching for .env.production files and .aws/credentials directories.

Finally, the escalation: enumerating internal routes and attempting privilege escalation, all the way to internal endpoints protected by an IP allowlist.

Why URL Fetch Endpoints Are the Achilles' Heel of AI Products

Any AI product that fetches a web page at a user's request — link summaries, browsing, RAG — exposes an endpoint that performs outbound HTTP requests driven by an LLM. That is the very definition of a potential SSRF pivot.

The AWS metadata endpoint is the first target of any pentester, human or agent. The attacker's agent did exactly what a professional would do — it did so at machine speed, without fatigue and without careless errors. As shown in our dossier Claude Bughunter: 85 bug-hunting and red team skills, red team skills are now being packaged and distributed like plugins. This attack is its operational illustration.


How far the agent got: a Git token captured, Bedrock locked down

The agent obtained limited internal access — a captured Git token, short-lived AWS workload credentials — but never obtained the Bedrock permissions that were its target.

According to The Hacker News, the agent ultimately managed to reach internal endpoints behind an IP allowlist, capture a stored Git token, and obtain short-lived AWS workload credentials. Without Bedrock permissions, however. Perplexity, for its part, states that no customer data or credentials were stolen.

The most cautious reading: no customer data compromised, but brief and limited internal access. The main door held — narrowly, and thanks to permission segmentation rather than luck.

The two other targets: compromised to varying degrees

This is the most worrying part of the affair. The attacker's server, exposed at the address 185.87.121.140, contained 29 unauthenticated web directories giving access to more than 10,000 files: custom scripts, logs, and workspaces of active campaigns against two other companies. According to BleepingComputer, those were compromised to varying degrees: exposed management API, persistent runner, and collected password stores and Kubernetes secrets.

Perplexity prepared reports for these two companies within hours, while their campaigns were still active, reports Decrypt.

An irony worth noting: the attacker himself was operating with poor OpSec — a command-and-control server open with 29 unauthenticated directories. Autonomous agents don't eliminate human error. They reproduce it at scale, on both sides of the front.


CAIRN: when the attack arsenal is free and open source

The entire campaign revolved around CAIRN, an open-source AI agent and pentest tool harness, freely published on GitHub (oritera/Cairn).

Perplexity's formula, quoted by BleepingComputer, sums it all up: "one operator prompt, hundreds of self-directed tasks, and probing that adapts every time a request fails." One operator prompt. Hundreds of self-directed tasks. Probing that adapts with every failure.

This loop — observe, reason, act, repeat — is precisely the one behind the agents we teach you to build in our guide Create your first autonomous AI agent. The only difference lies in the goal. The technology is identical: planning, memory, tool calls, error adaptation.

Direct consequence: the entry barrier for autonomous attacks has dropped to zero. No state-funded APT team, no novel zero-day. A solo operator, an open-source harness, one objective.

The economic asymmetry of the autonomous attack

One prompt against weeks of defensive engineering. Even in failing, the attack cost Perplexity a full incident response, an investigation, and a public disclosure.

It's long-duration autonomy that makes these agents formidable. Our report on Qwen3.7-Max, its 35 hours of autonomy and its 1,158 tool calls shows what long agentic executions are worth today. An attack agent that runs for hours, adapts its probing, and pivots its infrastructure is no longer science fiction: it's the normal operating mode of a modern agent.

The same architecture powers perfectly legitimate agents, like Dexter, which conducts deep financial research autonomously. Same engines, two uses. That's the whole thesis of Skynet Watch: the capability is neither good nor bad, but it is now universal.


The response: Perplexity defended Perplexity with its own agents

This is the most instructive detail of the whole affair. Detection came from Perplexity Computer, and the incident response was assisted by Perplexity's own AI agent.

Two lessons follow from this.

Detection started from application logs, not the perimeter. It was Perplexity Computer that flagged the abnormal behavior in the logs. From the perimeter's point of view, the attack looked like ordinary traffic, spread across hundreds of different IPs and calibrated to stay below the thresholds.

Machine speed on both sides. Perplexity used its own agent to track the ongoing attack and help engineers harden their defenses, according to Decrypt. The same setup made it possible to produce reports for the two other targets within a few hours, while their campaigns were still running.

My take: this is the template for incident response in 2027. A defensive agent that reconstructs the kill chain, correlates indicators, and prepares fixes while the attack is still underway. Humans validate; the agent executes.

To choose the engine for such an investigation agent, our comparisons Best LLMs for research and Best AI for research offer a concrete starting point.


What defenders should take away from this, right now

If you run cloud infrastructure — and even more so an AI product — here are the priority workstreams, drawn directly from the observed modus operandi.

  1. Monitor application logs, not just the perimeter. Detection hinged on a behavioral pattern: thousands of requests to non-existent routes, abnormal S3 lookups, persistence despite blocking. It's visible, as long as you look in the right place.
  2. Treat every URL-fetch endpoint as a potential SSRF pivot. Block access to the metadata endpoint (169.254.169.254) from your applications, filter egress, validate target URLs server-side.
  3. Zero secrets in object storage. The 3,681 S3 lookups were targeting exactly .env.production and .aws/credentials. If these files exist in an accessible bucket, assume they will eventually be found.
  4. IP- or account-based rate limiting is outdated. 40+ throwaway accounts and ~290 proxies are enough to get around it. You need to score behavior: entropy of requested paths, route distribution, request sequences.
  5. Automate the response. At over 200 req/s with infrastructure rotation, no human team can react in real time. Correlation, blocking, and hardening must be executed by supervised agents.

Which model should drive a defense agent?

If you're getting started, the choice of model matters. Here are the top agentic profiles from our ranking (June 2025):

Model Agentic score Why for defense
GPT-5.5 (OpenAI) 98.2 The most reliable tool orchestration on the market
Gemini 3 Pro Deep Think (Google) 95.4 Analysis of very large log volumes
Claude Opus 4.7 (Adaptive) (Anthropic) 94.3 Methodical investigation, disciplined tool calls
GPT-5.4 Pro (OpenAI) 91.8 Post-mortems and incident reports
Kimi K2.6 (Moonshot AI, self-host) 88.1 Sensitive logs that never leave your infrastructure
GLM-5 Reasoning (Z.AI, self-host) 82 Cost-effective self-host alternative

The self-host choice (Kimi K2.6, GLM-5) is not a trivial detail: security logs often contain secrets, internal IPs, and usernames. Sending them to a third-party API for analysis carries its own risks — this is exactly the type of credential leak this case documents.

Our guide How to build an AI agent details the complete architecture, from the agentic loop to execution guardrails.


Skynet Watch: machine speed is now on both sides

This incident marks the point where autonomous AI offense becomes operational, documented — and free.

In our previous Skynet Watch, we reported that cybersecurity firms are already turning away victims of hacks by offensive AI. This new episode adds three fresh data points: a high-profile target, a complete modus operandi made public (SSRF, S3, rotation, allowlists), and proof that automated defense works.

The symbolic lock has been lifted: a single operator and an open source harness were enough to run a two-week campaign against multiple targets simultaneously. The question is no longer whether attack agents will reach your sector, but which of the two sides will have automated first.

My opinion, bluntly: most organizations are structurally on the slow side. Tickets, runbooks, crisis meetings. Perplexity got through it because it already had agents observing its own infrastructure. That's the investment to make before the incident — not after.


❌ Common Mistakes

Mistake 1: "We have a WAF and rate limiting, we're covered"

No. The campaign bypassed rate limits through massive rotation: over 40 accounts, roughly 290 proxies. Solution: behavioral detection in application logs, with alerts on the entropy of requested routes.

Mistake 2: exposing a URL-fetch endpoint without SSRF protection

This was the initial pivot of the attack. Solution: denylist the metadata endpoint (169.254.169.254), filtered egress, server-side validated DNS resolution, and never fetch arbitrary URLs from the internal network.

Mistake 3: secrets in buckets and repos

The 3,681 S3 lookups targeted exactly .env.production and .aws/credentials. Solution: managed secrets, never credential files in object storage, minimal permissions, short rotation, and regular scans.

Mistake 4: believing only big accounts are targeted

Two of the three targets were not Perplexity — and one had a persistent runner and collected password stores. The tool is open source and free; targeting is no longer a state-level privilege. Solution: test your own attack surface with a red team agent, within a written framework.


❓ Frequently Asked Questions

Was customer data compromised at Perplexity?

No, according to Perplexity: no customer data or credentials were stolen. However, analyses by The Hacker News point out that the agent captured an internal Git token and short-lived AWS workload credentials, without Bedrock permissions. The targeted door never gave way, but internal access did indeed take place.

What exactly is CAIRN?

An open-source AI agent harness and pentest tool, available on GitHub (oritera/Cairn). It allows an operator to launch hundreds of self-directed tasks whose probing adapts to each failed request. It is the tool that carried out the campaign against Perplexity and two other companies.

Why steal cloud credentials to access Bedrock?

Because a stolen credential makes it possible to run costly AI models at the target's expense. The two targeted frontier models were never reached, and Perplexity states it was unable to establish the attacker's final intent beyond access collection.

How do you detect an autonomous attack agent?

Through behavioral analysis of application logs: massive requests to non-existent routes, abnormal S3 lookups, sequences that adapt after each block. This is what Perplexity Computer flagged as early as November 2, where a perimeter filter saw nothing unusual.

Can you test your own infrastructure with this type of agent?

Yes, provided there is a written framework: defined scope, emergency contacts, kill switch, dedicated environment. The same tools serve defensive red teaming. However, launching an agent against third-party systems without authorization remains illegal, regardless of the degree of automation.


✅ Conclusion

The attack against Perplexity will likely go down as the first public incident in which an autonomous agent targeted AI infrastructure — and in which the response, too, was partly carried out by an agent. The 48,000 requests in 13 minutes are no mere anecdote: they are the new unit of measurement for the threat.

To move from observation to action, follow our Skynet Watch series and start with our guide How to create an AI agent — on the defense side, this time.