Threat intel5 min read
AI agent sent 48,000 requests at Perplexity hunting Bedrock keys
An autonomous AI agent hunted Perplexity for cloud credentials for two weeks, peaking at 48,000 requests in 13 minutes. It failed there, but logs show it got further at two other companies.
4Tify Team

Perplexity has published a post-mortem of a two-week attack in which an autonomous AI agent tried to pull cloud credentials out of its platform. The agent was after keys that could call two unnamed, latest-generation AI models through Amazon Bedrock. It did not get them. Perplexity says the attacker reached no internal services, no private customer data and no platform secrets. Two other companies targeted by the same operator fared worse.
What happened
Low-volume probing started in late October. On November 2, Perplexity Computer, the company's own agent platform, flagged a group of newly registered accounts probing APIs and the features that fetch external URLs. That day the attacker sent about 48,000 requests in 13 minutes against roughly 28,000 guessed API routes, at more than 200 requests per second. On November 3, two more 15-minute sweeps sent about 9,300 and 12,700 requests.
The operator spread the load over more than 40 accounts registered with disposable email addresses and about 290 residential and cloud proxy addresses, so no single account stood out.
The agent tried several routes in:
- server-side request forgery (SSRF), to make Perplexity's servers call the AWS metadata service and internal systems. Outbound URL checks blocked it.
- guessing storage paths. AWS CloudTrail logged 3,681 failed Amazon S3 lookups across more than 3,300 unique object keys in 14 hours.
- higher privileges and other users' data. Authorization checks refused those requests.
Before it turned to Perplexity's platform, the agent had hunted for exposed credentials in public code repositories, git history, software packages and container images.
How the attacker was traced
The operator left its own infrastructure open. Perplexity found a server with 207 open ports, 29 of them serving unauthenticated directory listings with more than 10,000 files: scripts, logs and attack workspaces. The files show the attack ran on Cairn, an open-source harness that splits an operator's goal into tasks for AI agents. In one campaign a single assignment grew into 276 follow-up tasks over 19.5 hours, with up to 14 running at once.
Who is behind the operation, and what they wanted the models for, is not known.
Who is affected
Perplexity says its customers are not affected. The attacker's files point to two other organizations, which Perplexity notified on November 4 while the attacks were still running.
- At the first, a live customer OAuth credential left in deleted git history gave the agent administrative control of a customer workspace. It also reached internal endpoints and obtained short-lived AWS workload credentials, which had no permission to call Bedrock.
- At the second, the agent got into a demo environment, set up persistence and collected password stores, Kubernetes secrets and AWS instance credentials. Its calls through the company's Bedrock proxy were rejected.
These details come from the agent's own logs and summaries. Perplexity did not test the recovered credentials and warns that the logs may overstate what the agent achieved. Neither company has been named.
What to do now
Nothing in the agent's toolkit was new. It looked for secrets people had left behind and for servers that would make requests on its behalf, and it kept at it for two weeks at machine speed. The controls that stopped it are ordinary ones:
- Search your repositories (full git history included), published packages and container images for keys and tokens. Deleting a file does not remove a secret from history, so revoke and rotate anything you find.
- Review every feature that fetches a URL a user supplies. Block private address ranges and the cloud metadata address. On EC2, require IMDSv2, which makes metadata theft through SSRF much harder.
- Give each workload role only the permissions it needs. At the first company, the AWS credentials the agent took could not call Bedrock, and that is where its goal failed.
- Turn on CloudTrail data events for S3 and alert on bursts of failed lookups. Read the audit logs even when an attack seems to have failed.
- Link new accounts by shared IP ranges, proxy providers and email domains instead of relying on per-account rate limits alone. Forty quiet accounts can be one attack.
At the first company, a secret left in deleted git history gave the agent its foothold. Our AI-assisted code review scans a repository and its full history for exposed keys and tokens, so they can be revoked before someone else's agent finds them. Perplexity's incident report has the full timeline.
