What happened. Perplexity published a detailed post-mortem on Wednesday. Between Oct 24 and Nov 8 (UTC), an attacker pointed an autonomous, LLM-driven agent at its infrastructure. The goal, preserved word for word in the agent’s own config: get an AWS key pair or Bedrock bearer token that “MUST be able to invoke” one of two latest-generation frontier models on Amazon Bedrock, ideally with AdministratorAccess or PowerUserAccess, sweeping “ALL Bedrock regions” if needed. Perplexity says it was not breached. “The attacker accessed no internal services, private customer data, or platform secrets over two weeks of activity.”
- The harness was Cairn, one of the open-source agent frameworks CISA named this week in its alert on agentic offensive frameworks. Cairn runs a graph of “facts” and “intents”; workers are CLI coding agents in a Kali container with shell, network and a headless browser.
- Peak burst on Nov 2: about 48,000 requests in 13 minutes across 28,000 guessed API routes, over 200 per second. It rotated through 40+ disposable-email accounts and about 290 residential and cloud proxies. CloudTrail logged 3,681 failed S3 lookups for paths like
.env.production,.aws/credentialsandstate.tfstate. - Perplexity found the attacker’s staging server (185.87.121[.]140) with 207 open ports and 29 unauthenticated Python directory listings, exposing 10,000+ files, including live workspaces against two other organizations. It notified both on Nov 4, while the intrusions were still running.
- “Company A”: the agent found a live customer OAuth credential in deleted git history, took admin of that customer’s workspace, ran code on managed compute, grabbed a stored Git token and short-lived AWS workload credentials. Those credentials couldn’t call Bedrock.
- “Company B”: it logged into an exposed management API on a demo environment and planted a command runner that logged about 1,000 callbacks in 15 hours, then took password stores, Kubernetes secrets and EC2 instance-role credentials. Its calls through Company B’s Bedrock proxy were rejected.
- In the Company A graph the agent spawned 276 of its own tasks over 19.5 hours, up to 14 in parallel, and reused “dead end” findings to pick new paths. Victim names, the operator and the two target models: not disclosed. The Company A and B details come from the attacker agent’s own logs, which Perplexity warns could overstate what it achieved (per BleepingComputer).
Why it matters. This is the clearest public look so far at what an AI-run intrusion actually does all day, and the target isn’t customer data. It’s compute. Someone wanted frontier-model access badly enough to automate a credential hunt across three companies. We can’t say why, and neither can Perplexity. Either way, a Bedrock key with broad IAM is now a prize on par with a domain admin hash. The agent even knew to look for bedrock:PutAccountDataRetention to unlock a model with a retention requirement. That is an operator who read the AWS docs and baked them into the prompt.
The other lesson is boring and that’s the point. Nothing the agent did was new. SSRF tricks, git-history mining, exposed demo APIs. Perplexity held because its outbound URL validator resolves the hostname and blocks private and link-local addresses at connect time, which beats decimal and hex 169.254.169.254 encodings and DNS rebinding. The two companies that got hit lost to a secret in old git history and a forgotten demo box. AI made the attacker tireless, not clever. Your backlog of “low” hygiene findings is now being worked by something that doesn’t sleep.
What we’d do this week if we ran security.
- Scan full git history and forks, not just HEAD:
git log -p --allplus unreachable objects, with gitleaks or equivalent. Rotate anything found, even if it “was deleted.” The agent scanned 4,281 forks. - Treat every LLM API key (Bedrock, Azure OpenAI, Vertex, direct vendor keys) as a tier-0 secret. Scope IAM to
bedrock:InvokeModelon named models only, and alert onPutAccountDataRetention, new-region invocations andsts:GetCallerIdentityfrom unfamiliar IPs. - On anything that fetches a user-supplied URL: resolve, then pin the IP and block RFC1918, link-local and loopback at connection time. Enforce IMDSv2 with hop limit 1.
- Find your demo and staging environments with management APIs on the internet. Company B’s foothold was a demo box.
- Hunt for bursty signups from disposable email domains that share IPs or callback hosts. No single account looked bad; the cluster did.
Related: CISA says ARTEX, Cairn and PentAGI are already showing up in incidents and About $50 a break-in: what AI-run intrusion actually costs.
