
Perplexity says an autonomous AI agent spent about two weeks attacking its systems in search of cloud credentials, and every attempt failed. The company published a detailed write-up of the AI agent attack on December 2, describing how a single operator prompt turned into hundreds of self-directed hacking tasks. The same agent did get further at two other companies, which makes this one of the clearest public looks yet at what AI-run attacks actually do.
What Happened in the AI Agent Attack
According to Perplexity, the campaign ran from late October into early November 2026. The attacker used an LLM-driven agent that kept signing up for new throwaway accounts, rotated through proxies, and tested many of the company’s public features for weak spots.
The busiest moment came on November 2. That day the agent fired roughly 48,000 requests in 13 minutes, guessing about 28,000 different API routes and peaking at more than 200 requests per second.
Perplexity says its controls held the whole time. The company reports that the attacker reached no internal services, no private customer data and no platform secrets.
The tricks the agent tried
The company listed six main techniques. Most of them are classic web attack methods, just run at machine speed and without a human choosing each step.
- Feeding crafted URLs and redirect chains to link-fetching features to reach cloud metadata services (a method called SSRF)
- Guessing storage file names like credential and config files, with 3,681 failed lookups in a 14-hour window
- Sweeping thousands of possible API paths in fast bursts
- Probing admin and organization permission endpoints
- Testing IDs that belong to other users’ threads, files and workspaces
- Rotating more than 40 disposable email accounts and about 290 proxy addresses
How Perplexity Found the Attacker’s Server
Several of the probes pointed back to one external server the attacker used to stage payloads. When Perplexity scanned it, the team found 207 open ports and 29 unprotected folders sitting on the public internet.
Those folders held more than 10,000 files, including live workspaces for the campaign. The workspaces showed the agent was also attacking two other organizations, which Perplexity calls Company A and Company B. Perplexity says it alerted both security teams on November 4 while the attacks were still running.
The files also revealed the goal. In all three campaigns, the operator wanted credentials that could call two top frontier AI models through Amazon Bedrock, though the reason behind that goal is still unknown.
Inside the Autonomous Agent Harness
The attack ran on Cairn, an open-source agent harness that has shown up in other offensive campaigns. It stores each campaign as a graph of findings and tasks, so every new step can build on what the agent already learned, including dead ends.
In Company A’s preserved graph, the operator kicked off one starting task. The agent then created 276 more tasks on its own over 19.5 hours, with up to 14 running at the same time and a median task length of 11 minutes.
| Target | What the agent achieved | Reached Bedrock models? |
|---|---|---|
| Perplexity | No credentials, no internal access, no customer data | No |
| Company A | Found a live OAuth credential in old git history, took over a customer workspace, ran code, grabbed short-lived AWS credentials | No |
| Company B | Planted a persistent command runner on a demo system, collected passwords and Kubernetes secrets | No |
Perplexity notes some limits on its findings. Much of the picture for the other two companies comes from the agent’s own notes, and agents can misread results or overstate what they reached.
Why This AI Security Incident Matters
Security teams have warned for a while that AI agents would make hacking cheaper and more persistent. This report shows that in practice: the agent worked around the clock, adapted each time something failed, and never got tired of trying new routes.
It also shows the defense side using AI. Perplexity says its own agent platform, Computer, first flagged the November 2 sweeps, linked dozens of throwaway accounts into one campaign and helped engineers draft hardening fixes during the attack. If you follow AI threat detection, this is a real-world example of both sides running agents.
The story fits a broader trend. Investors keep backing startups focused on AI agent security, and companies like Perplexity are building sandboxes such as its agent sandbox to keep agents contained.
What This Means for You
You probably are not running a large AI platform, but the same leaks this agent hunted for show up in small teams and side projects too. A few habits go a long way.
- Never commit keys or .env files to git, and remember that deleted commits can still be read. Rotate any key that ever landed in a repo.
- If your app fetches links for users, block requests to private IP ranges and cloud metadata addresses at connection time, not just at input time.
- Keep demo and staging systems locked down. Company B’s breach started on a demo environment.
- Give cloud credentials the smallest permissions possible. Company A’s stolen AWS keys could not call Bedrock, which limited the damage.
- Watch for bursts of brand-new accounts hitting your API, since agents rotate accounts as soon as rate limits kick in.
If you use the Perplexity app, the company says no customer data was touched. You can track more stories like this on our AI news page.
Sources
Primary source: Perplexity’s incident report.
Conclusion
Perplexity’s report is a rare, detailed look at an autonomous AI agent running a real credential-theft campaign from start to finish. The agent failed against Perplexity thanks to solid basic controls, but it did real damage at two other companies, which shows the threat is not theoretical. The operator’s end goal of getting frontier model access through stolen cloud keys is a warning sign for anyone holding AI service credentials. The practical lesson is simple: lock down secrets, restrict what your servers can fetch, and assume attackers now have tireless help.


