December 3, 2026

40 Throwaway Accounts, 290 Proxies and an Agent That Kept Trying: How an AI Attacker Spent Two Weeks Probing Perplexity

Perplexity says an AI agent running largely on its own spent about two weeks hunting for cloud credentials in its systems and came away with nothing. Files the attacker left exposed show it got further at two other companies, through a leaked token and an exposed demo environment.

A security operations engineer types on a laptop in a dim operations center

The attacker did not get tired, and it did not take failure personally. When a check blocked it, it tried a different route. When an account hit a rate limit, it signed up for a new one. AI company Perplexity has published an account of an attack carried out by an autonomous agent built on a large language model, and of what that agent achieved elsewhere. The details below come from The Hacker News and Help Net Security, both of which drew on Perplexity’s disclosure.

A wave of new accounts

The first accounts were created between October 24 and 28. Perplexity’s agent platform flagged the activity on November 2, when a wave of new accounts began sweeping its APIs. At one point they sent about 48,000 requests in 13 minutes, peaking above 200 requests per second. Whenever a per-account rate limit kicked in, the operator registered a new account. Over the campaign it used more than 40 disposable accounts and about 290 residential and cloud proxies, and spread the work out so that no single account showed the full scope of the probing.

What it was looking for

The goal was cloud and AI-service credentials, specifically AWS credentials or service tokens that could call two of the newest frontier models through Amazon Bedrock. According to CEO Aravind Srinivas, the agent guessed about 28,000 API routes and tried 3,681 Amazon S3 lookups for files such as .env.production and .aws/credentials. It also tested Perplexity’s link-fetching features for server-side request forgery (SSRF), trying to get the server to request internal addresses such as the AWS metadata endpoint that hands out cloud credentials.

When direct internal IP addresses were blocked, it tried hex and decimal encodings of the same addresses, redirect chains and DNS rebinding. That last trick uses a domain that resolves to a harmless public IP during the check and then switches to an internal one when the real request is made. All of those attempts failed, Srinivas said, because Perplexity’s outbound validator resolves and checks the IP at connection time. Privilege escalation attempts and attempts to reach other customers’ data were also denied.

The outcome at Perplexity: nothing

After about two weeks of activity, the attacker had not reached internal services, private customer data or platform secrets. “Against Perplexity, the agent came away with nothing,” Srinivas said.

The attacker’s own exposed server

While the attack was still under way, Perplexity’s team traced it to a server the operator had left exposed. BleepingComputer reports it had 207 open ports, 29 of them serving public directory listings, and the reports put the haul at more than 10,000 files, including probing scripts, logs and extracted material. The files showed the operation ran on Cairn, an open-source agent harness and penetration testing tool. Help Net Security reports that each worker agent ran in a Kali Linux container with shell, network and headless browser access. In one campaign, a single worker created 276 follow-up tasks over 19.5 hours, running up to 14 at once. When curl requests were blocked, the agent switched to a headless browser to pull JavaScript bundles and API schemas. Perplexity also counted 37 lines of attack the agent marked as “dead ends.” Later tasks went back to 19 of them as starting points for new attempts.

Where it got further

The files also showed two other targets, which Perplexity notified but did not name. At the first, the agent found a customer OAuth credential in deleted git history. The token had been removed from the code but was still present in the repository’s history, and it still worked. The agent used it to take admin control of that customer’s workspace, run code on managed compute and obtain short-lived AWS credentials, which did not have permission to use Bedrock. At the second, it logged into an exposed management API on a demo environment and installed a persistent command runner. Over 15 hours that implant called back about 1,000 times and collected password stores, Kubernetes secrets and EC2 role credentials. Its attempts to reach Bedrock through a proxy were rejected. None of the campaigns reached the final goal.

Perplexity was open about the limits of its evidence. The server was probably one piece of a larger operation, some workspaces held only partial data, and the company warned that agents can misread responses or overstate partial access.

What this means for your company

The striking part is not a clever new exploit. It is persistence at very low cost. “Strong baseline security is still what decides day-one outcomes,” Srinivas said, pointing to connection-time URL validation, strict authorization and cleaning up deleted git history and exposed demo environments. For a small business, that means checking your code repositories, including their history, for keys and tokens, and rotating anything that was ever committed. Shut down or lock down test and demo systems that were set up quickly and forgotten. Put rate limits and sign-up abuse controls on any customer-facing portal or API, and make sure your logs would show a slow, spread-out sweep and not just one noisy burst. Perplexity also suggests defenders can run their own agents against their code and internet-facing systems to find leaked secrets before an attacker does.

If you’d like help finding leaked credentials and forgotten test systems before an automated attacker does, we can help. Reach out to Layer 7 Data Solutions to discuss how we’ve helped companies similar to yours.

About The Author