Perplexity Blocked an Autonomous AI Agent Hunting Bedrock Keys; Two Firms Didn't
An autonomous AI agent fired 48,000 requests in 13 minutes at Perplexity, hunting AWS Bedrock credentials. It failed there — but breached two other firms.
Published by Zero Hunt, an autonomous AI red team on an on-premise appliance running private AI: automated penetration testing for networks and infrastructure, black-box or gray-box, with a human approving every step that matters.
On December 2, Perplexity published a postmortem of something most security teams have been bracing for and few have seen documented end to end: an attacker pointed an autonomous AI agent at its infrastructure, let it run largely on its own for two weeks, and walked away with nothing — while the same operator's agent quietly breached two other companies in the same campaign. The agent was not a scanner on a schedule. It was a worker loop that set its own sub-goals, adapted every time a request failed, and probed around the clock. That economics — one prompt, hundreds of self-directed tasks, near-zero marginal cost per target — is the part that changes the threat model.
Developing story — first published 17:58 CET (16:58 UTC), December 3, 2026. Updated as Perplexity and the affected companies publish more.
What Perplexity disclosed
Between late October and early November 2026, an operator ran an LLM-driven agent against Perplexity to collect cloud and AI-service credentials. The objective, visible in the agent's own task files, was blunt: "Obtain an AWS AKIA/ASIA key pair or Bedrock bearer token (ABSK)" — a credential that could invoke two latest-generation frontier models through Amazon Bedrock. Across every workspace the attacker ran, the goal was the same: not data, not ransom — model access.
Against Perplexity, it failed. In the company's words, "the attacker accessed no internal services, private customer data, or platform secrets over two weeks of activity", and the agent recovered no credentials. Perplexity says the controls that stopped it — outbound URL validation, object-storage authorization, cross-tenant checks — were already in place when the campaign began.
What makes the writeup worth reading is what Perplexity found next. Several of the agent's callbacks pointed at one of its own servers. Perplexity scanned it, found 207 open ports and 29 unauthenticated directory listings exposing more than 10,000 files — and in them, the live campaign workspaces for two other victims, labeled Company A and Company B. Both were breached. One important caveat the company states plainly: those two intrusions are reconstructed from the agent's own recorded observations, which "can misread responses or overstate partial access". Treat the victim detail as the attacker's log, not an audited forensic report.
Inside the autonomous AI agent: one prompt, hundreds of tasks
The harness was Cairn, an open-source agent framework. It structures a campaign as a graph of facts (what it has observed) and intents (tasks to run), driven by a single operator-defined goal, with worker agents executing as CLI coding agents inside a Kali Linux container with shell, network, and headless-browser access.
The scale of self-direction is the headline. In Company A's workspace, one bootstrap task spawned 276 more — 277 intents and 265 facts over 19.5 hours, up to 14 tasks running in parallel, a median task length of 11 minutes, and more than 40 new tasks in the busiest hour. When a line of attack hit a dead end, the agent didn't stop; 19 of 37 dead-ends were cited by new tasks within a median of 31 minutes. This is the behavioral signature of an attacker that does not get tired, does not get bored, and does not need a human in the loop to decide what to try next.
The tradecraft was ordinary; the tempo was not. To reach the cloud metadata endpoint (169.254.169.254, the de-facto source of instance credentials), the agent rewrote the address in decimal and hexadecimal, used malformed URLs, bounced through redirect chains, and used DNS-rebinding names (a domain that resolves to a public IP at check time and an internal IP at request time). It automated disposable-email signups and rotated to a fresh account whenever rate limits bit. By November 4 it had cycled through more than 40 disposable accounts and roughly 290 residential and cloud proxy addresses. The loudest moment: on November 2 it fired roughly 48,000 requests in 13 minutes, peaking above 200 requests per second across some 28,000 guessed API routes (per Perplexity's timeline).
Why Perplexity caught it and two companies didn't
Here is the uncomfortable comparison, because it is the whole lesson:
| Target | What the agent reached | Outcome |
|---|---|---|
| Perplexity | SSRF probes, 3,681 failed S3 lookups, 28,000 guessed routes | Blocked at every layer; no credentials, no data |
| Company A | Live customer OAuth token in deleted git history | Admin control of a workspace; captured a stored Git token; short-lived AWS creds (no Bedrock permission) |
| Company B | Exposed management API on a demo environment | Persistent command runner; local password stores, Kubernetes secrets, EC2 instance-role credentials |
Perplexity stopped the agent on two fronts at once. Prevention held the line — the outbound validator resolves each hostname and blocks private or link-local destinations at connection time, which is exactly what defeats decimal-encoded metadata IPs and DNS rebinding. And detection closed the gap the rotation was meant to open: the agent switched accounts, proxies, and callback domains precisely to look like 290 unrelated strangers, but Perplexity's monitoring grouped the throwaway accounts back together by shared source IPs, disposable-email domains, and callback hosts. Rotation beats signatures. It does not beat shape and tempo — 48,000 requests in 13 minutes is not a thing a human does, no matter how many IPs it comes from.
The two companies that got breached did not lose a detection race. They lost on pre-existing exposure: a credential left in deleted git history, a management API exposed on a demo box. A round-the-clock agent that enumerates object stores for .env.production and .aws/credentials, and git history for forgotten tokens, is a brute-force machine for exactly that class of mistake. The failure was there before the agent arrived; the agent just made finding it cheap.
What to do now
The defensive takeaways generalize cleanly, and the most useful one is Perplexity's own recommendation — run an autonomous agent against your own surfaces before someone else runs one against them:
- Hunt your own leaked secrets. Deleted git history is not deleted; scan full history, object stores, build artifacts, and CI logs for live tokens. The OAuth credential that opened Company A was exactly this.
- Find your forgotten surface. The demo environment that opened Company B is the canonical "nobody owns it" box. Inventory and authenticate every management API, including non-production.
- Validate SSRF egress controls. Resolve-and-check-at-connection-time, blocking link-local and private ranges, is what held at Perplexity. Test it against decimal/hex-encoded metadata IPs and DNS rebinding, not just the literal
169.254.169.254. - Detect on tempo, not signature. Correlate activity across rotating accounts and IPs by behavior. A burst of thousands of 404s across guessed routes, or object-store enumeration at machine speed, is the alert — the source IP is noise.
- Scope credentials for blast radius. The short-lived workload credentials the agent grabbed at Company A lacked Bedrock permissions, and that single scoping decision denied the goal. Least privilege is what turns a foothold into a dead end.
What is not known yet
- Attribution. Perplexity names no actor. The exposed server was "almost certainly only one slice of a larger operation."
- Purpose. The operator wanted frontier Bedrock access; the postmortem says it is not clear what they intended to do with the models.
- The two victims. Both remain unnamed, and their own disclosures — if any — have not appeared.
- How autonomous, exactly. Perplexity describes high task-level autonomy but states no percentage, and the victim intrusions rest on the agent's self-reported logs. The Inference notes a harness does not, by itself, run an attack — an operator still set the goal and the budget.
The only honest test for an autonomous attacker
When the attacker is an autonomous agent that probes continuously and adapts on failure, point-in-time defense ages badly. The two companies that were breached would have passed a last-quarter pentest with the same leaked token and the same exposed API sitting there the whole time — nobody had continuously looked from the outside the way an agent does. This is the gap autonomous penetration testing is built to close: not a scheduled scan, but an autonomous AI red team that fingerprints your real exposure, hunts leaked secrets and forgotten endpoints, and proves what an attacker could actually chain — the same loop Perplexity recommends running against yourself, before the hostile one does.
Zero Hunt runs that loop as an on-premise appliance on private AI — its own models, not a third-party API a target's content could redirect or that a provider could throttle — with a human in the loop gating every step that touches production, every exploit sandboxed in an ephemeral container that never touches the host. Black-box, it finds the exposed demo API and the credential in git history the way this agent did; gray-box, it proves whether a recovered token actually reaches anything that matters. And because the attack now arrives at machine tempo, detection has to meet it there: Zero Hunt's traffic-analysis engine scores staging, enumeration, and credential-seeking egress by their shape on the wire, in real time on the appliance GPU — reading the 290-proxy rotation as one correlated campaign, the way Perplexity's monitoring did, instead of 290 strangers a signature waves through. Continuous validation and real-time detection are the two halves of the same answer: the first removes the exposure before the agent finds it, the second catches the agent that comes anyway. See how both fit on-prem on the platform, or talk to us.
Is this exploitable in your environment?
Zero Hunt answers that on your own network: an autonomous AI red team on an on-premise appliance, running on private AI, black-box or gray-box, with a human approving every step that matters. Proof of what is exploitable, the fix, and signed evidence — your data stays on your network.