Perplexity says it stopped an autonomous AI agent hunting for Bedrock credentials
Perplexity says an autonomous AI agent spent two weeks trying to steal its Amazon Bedrock credentials — and every attempt failed.
According to Perplexity CEO Aravind Srinivas, an attacker ran an autonomous AI agent against the company in late October and early November, aiming to obtain AWS keys or bearer tokens that could invoke two frontier models on Amazon Bedrock. At its peak, the agent sent roughly 48,000 requests in 13 minutes.
How it attacked
- Route sweeps: It tried 28,000 guessed API routes and ran 3,681 S3 lookups hunting for files like .env.production and .aws/credentials.
- SSRF attempts: It tested Perplexity’s link-fetching features to reach internal addresses such as the AWS metadata endpoint. When direct internal IPs were blocked, it switched to hex and decimal IP encodings, redirect chains and DNS rebinding.
- Identity rotation: Whenever per-account rate limits kicked in, it moved to a fresh signup or proxy, cycling through 40+ disposable accounts and about 290 residential and cloud proxies.
Perplexity says every attempt failed because its outbound validator resolves and checks the IP at connection time.
Tracking it down
Perplexity uses Perplexity Computer to watch application logs and triage alerts. It linked the throwaway accounts through shared IPs, email domains and callback hosts, flagging them as one campaign. The team then ran a dedicated Computer workflow for more than five days to track newly rotated infrastructure and draft hardening changes for engineers to review and ship.
Scanning the attacker’s server, the security team found 207 open ports and 29 unauthenticated public directory listings exposing more than 10,000 working files — including live campaign workspaces targeting Perplexity and two other companies. The attacker was running Cairn, an open-source agent harness. In one workspace, the operator bootstrapped only the first task; the agent created 276 more on its own over 19.5 hours.
None of the three campaigns obtained the credentials it was after. Perplexity says the agent came away with nothing from its systems. At the other two companies it got deeper footholds — via a live customer OAuth credential left in deleted git history at one, and an exposed management API on a demo environment at the other. Perplexity says it notified both security teams while the intrusions were still underway.