← BACK TO FEED
agentic AIcybersecuritySSRFAWSred teaming

An Autonomous AI Agent Spent Two Weeks Trying to Hack Perplexity. It Also Got Luckier Elsewhere.

In late October–November 2026, an autonomous AI-driven hacking agent unsuccessfully targeted Perplexity's infrastructure, cycling through over 40 disposable accounts and 290 proxies to send nearly 48,000 requests in 13 minutes in an attempt to steal cloud and AI-service credentials. While Perplexity's defences held, the same agent — powered by an open-source tool called CAIRN — did breach two unnamed companies, exploiting an OAuth credential left in deleted Git history and an exposed demo environment management API. The incident highlights how agentic attacks can autonomously adapt and run parallel tasks at scale, underscoring the importance of strong baseline security practices such as strict URL validation, tight authorisation controls, and thorough cleanup of exposed credentials.

Perplexity has gone public with details of a sustained attack on its infrastructure carried out by an autonomous LLM-driven agent across late October and early November 2026. The goal was straightforward: steal cloud and AI-service credentials. The execution was anything but amateur.

Over roughly two weeks, the attacker cycled through more than 40 disposable accounts and around 290 residential and cloud proxies, carefully distributing its activity so no single account revealed the full scope of the operation. At peak, it was hammering Perplexity's APIs at over 200 requests per second, sending around 48,000 requests in just 13 minutes.

This wasn't random noise. The agent probed 28,000 guessed API routes, ran 3,681 Amazon S3 lookups hunting for files like .env.production and .aws/credentials, and repeatedly tested link-fetching features for SSRF vulnerabilities. When direct internal IP access was blocked, it tried hex and decimal IP encoding, redirect chains, and DNS rebinding tricks. All of it failed. Perplexity's outbound validator resolves and checks IPs at connection time, which is apparently exactly the kind of boring infrastructure decision that actually matters.

CEO Aravind Srinivas described the agent's behaviour when it hit dead ends: rather than stopping, it opened parallel tasks simultaneously, found workarounds, and looped back to earlier objectives once it had the resources to continue. When curl commands were blocked, it switched to Playwright and Chromium. It scanned public repos, dug through git commit history, unpacked npm and PyPI releases looking for exposed secrets, and probed MCP interfaces and Kubernetes workloads.

The whole operation ran on CAIRN, an open-source agentic penetration testing framework, with minimal human intervention required.

Perplexity's own systems held firm. But researchers tracing the campaign found an exposed server at 185.87.121[.]140 hosting live workspaces for attacks against two other unnamed companies. Those went worse.

At the first company, the agent found a live OAuth credential sitting in deleted git history. That was enough to take administrative control of a customer workspace, execute code on managed compute, reach internal endpoints behind IP allowlists, and collect short-lived AWS workload credentials. The credentials lacked permissions to invoke Bedrock models, so the ultimate objective was still not achieved, but the access gained was substantial.

The second company fared similarly. The agent logged into an exposed management API on a demo environment, deployed a persistent command runner, and walked out with local password stores, Kubernetes secrets, and EC2 instance-role credentials. Again, attempts to invoke models through Bedrock were rejected.

So the attacker didn't fully succeed anywhere. But getting deep into two companies' infrastructure via a demo environment and some carelessly handled git history is not exactly a clean bill of health for the targets.

The uncomfortable takeaway is that agentic attackers don't get tired, don't get frustrated, and don't give up after a couple of failed attempts. One prompt, as Srinivas put it, can spin up hundreds of parallel tasks that reroute around failures autonomously.

The defences that worked were not exotic: proper URL validation at connection time, strict authorisation controls, and not leaving credentials in deleted git history or demo environments. Genuinely unglamorous stuff. The industry has been warned about all of it for years. The difference now is that the thing doing the probing runs continuously, adapts in real time, and doesn't need a human watching over its shoulder.

READ NEXT
ThreatBook Pulls CyberStrikeAI From GitHub After Attackers Use It to Automate Intrusions at ScaleCalifornia Sues OpenAI Over Public Safety Failures — And It's Not About the KidsAntiFox AI Pentest Tool Caught Raiding AWS Secrets in Real Attacks