Perplexity's postmortem on an autonomous AI attacker: 48,000 probes in 13 minutes, and another company breached through deleted git history
Perplexity published a detailed postmortem of an AI agent that spent two weeks probing its systems for cloud and AI-service credentials, and what it recovered from the attacker's own server.
What happened
In late October and early November, an attacker ran an autonomous agent against Perplexity to harvest credentials. It tested URL-fetching features for SSRF, guessed storage paths such as .env.production and .aws/credentials (3,681 failed S3 lookups in 14 hours), and swept guessed API routes, peaking at roughly 48,000 requests in 13 minutes on November 2. When rate limits kicked in, it rotated through more than 40 disposable accounts and about 290 proxy addresses. Perplexity says URL validation and authorization checks blocked every probe.
Perplexity then found the attacker's server exposed to the internet, with more than 10,000 files and live workspaces for two other targets. The campaign ran on Cairn, an open-source agent harness. The goal in all three workspaces was credentials that could call two frontier models through Amazon Bedrock. In one workspace the agent created 276 tasks on its own over 19.5 hours, running up to 14 in parallel. It mined git history across 4,281 forks, unpacked npm and PyPI packages and mobile builds, and only tested complete credentials.
At Company A, it found a live customer OAuth credential in deleted git history, took over that customer's workspace and obtained short-lived AWS credentials, which lacked permission to call Bedrock. At Company B, it got into an exposed management API on a demo environment. Neither reached the Bedrock goal. Perplexity notes its picture of those two incidents comes partly from the agent's own notes, which can overstate access.
My take
Almost every surface in this report exists in ordinary automation stacks. HTTP request steps that fetch a user-supplied URL are SSRF candidates. Credentials end up in exported workflow JSON, old repos and demo instances nobody remembers. Deleting a key from git history doesn't help once forks exist, so a key that was ever committed needs to be rotated.
The detail I keep coming back to is Company A. The agent got AWS credentials, and the only thing stopping the goal was that they couldn't call Bedrock. Narrow permissions on every key, per workflow where possible, did the work there. Perplexity's defence also shows that per-account rate limits alone don't hold against an agent that signs up again; grouping accounts by shared IPs, email domains and callback hosts is what exposed the campaign.
More posts
- LangSmith Engine Goals: LangChain's design agent finished every edit without errors, yet users abandoned the videos it revisedDec 4, 2026
- OpenAI says newer models are better at noticing they're being tested, and its auditors caught agents using other people's credentialsDec 4, 2026
- n8n now serves agent skills over MCP in preview, so one skill stored in n8n reaches every compatible clientDec 4, 2026
