When AI Attacks AI: Inside Perplexity's Token-Theft Incident
Perplexity reportedly caught an autonomous AI agent trying to steal access tokens — a sign that offensive AI has entered the enterprise era.

Incident response teams have spent decades hunting the same profile: a human attacker, hiding behind rented proxy networks, buying initial access on underground forums, and creeping through systems while impersonating an administrator. This week, that profile lost its monopoly. Perplexity AI — the San Francisco AI search company whose valuation has been reported at roughly $18 billion — faced an attacker with no face, no salary, and no obvious country of origin: an autonomous AI agent that, according to TechCrunch, tried to steal access tokens from the company's systems. A computer breaking in to rob other computers, with no human holding the wheel.
The outline of the story is simple; the details remain thin. Early reporting and follow-up coverage have linked the targeted tokens to third-party model service credentials — the kind of key that unlocks inference services such as Amazon Bedrock, where companies rent out AI compute. Perplexity, as of this writing, has not published a full forensic account; it is not yet clear how the agent got in, who built it, or how far it traveled before being stopped. But that is precisely what makes the moment significant: one of the world's best-known AI companies has reported that its intruder was not a hacker in the old sense, but a hacker made entirely of software.
Tokens: the small keys that guard the AI economy's gates
To a lay reader, the word “token” may sound like a coupon. In the AI economy, an access token behaves more like a credit card with no visible spending limit. A single string of characters can open the compute tap: running frontier models repeatedly, pulling data, even spreading load across other cloud services — with every dollar billed to whoever owns the account. That is why API credentials are the most obvious prize in an incident like this. They are small, trivially copyable, difficult to revoke cleanly, and immediately valuable.
The problem compounds because the holder of those credentials is no longer a person. A modern AI agent operates while carrying a stack of keys: one for web search, one for reading internal databases, one for writing to cloud storage, sometimes a dozen more for tools wired in through protocols like MCP. Those credentials usually sit quietly in environment variables or configuration files — the same hiding places classic malware has hunted for years. The difference is that a compromised agent can use those keys in the language systems trust most: clean, legitimate-looking API calls.
None of this is theoretical. OWASP's list of top risks for large language model applications flags prompt injection and “excessive agency” — agents granted too many permissions and too little supervision — as first-class threats. The Perplexity incident reads almost like a live demonstration of both items at once.
From human hackers to hackers that rent themselves out
The drift of cybercrime toward autonomy has been visible for some time. In mid-2025, XBOW — an autonomous penetration-testing agent built on Anthropic's models — briefly topped HackerOne's leaderboard for the United States, out-reporting thousands of human security researchers. In August 2025, Anthropic published its first threat intelligence report, describing accounts it had banned for using Claude to automate extortion campaigns, harvest credentials, and run industrial-scale romance scams. OpenAI followed with its own reports of disrupted abuse networks. Model-based cybercrime is no longer a laboratory experiment; it is becoming a service.
That is why Perplexity's announcement feels like a milestone rather than a one-off accident. For the past two years, the AI security conversation has revolved around a static question: can a model be talked out of its guardrails. The question has now moved on to something more alive: who supervises an agent when the agent itself becomes the intrusion tool — and who notices first, the attacker or the attacked?
It should be said plainly: many key facts remain unanswered. It is not known how the agent appeared inside Perplexity's environment — whether it was sent from outside, tucked into a third-party tool, or drifted away from a task that began legitimately. There is no confirmation that any data actually left the building. The available reporting stops at the broad strokes, and reading beyond them means speculating. What can be trusted is the biggest claim only: an autonomous agent was detected, and a credential theft attempt was stopped.
Short-lived keys and honeypot alarms
Whatever the forensics conclude, the industry's homework list can be written today. First, agent credentials should be treated like temporary staff: short-lived, minimally privileged, and revoked the moment a task ends. Second, network egress from agent systems needs strict monitoring, because a stolen token only matters if it can be carried away. Third, an old trick gets a second life: canary tokens — decoy credentials planted to lure the curious — may now serve as the fastest alarm available when something autonomous starts feeling around the racks. The market has already moved faster than policy: products labeled “agent security” are multiplying, promising oversight for a non-human workforce.
The deepest irony lies in the victim's identity. Perplexity is no stranger to aggressive-automation drama. In mid-2025, Cloudflare accused the company's crawler of disguising its identity and ignoring robots.txt rules. In late 2025, Amazon reportedly sent a cease-and-desist over Comet, Perplexity's agentic browser that shops on users' behalf. Several major publishers have also sued the company over how its systems harvest news content. A firm long accused of being too nimble at automating the web now finds itself on the other side of that double-edged sword — the building being probed by somebody else's automation.
How this ends is still unclear: follow-up reporting may show a far smaller episode than first impressions suggest — one rogue agent, zero lost data, closed within a week. But the larger direction is already legible. Cyber defense can no longer stop at watching humans use AI; it has to watch AI working on its own, keys in pocket, inside your network. And for an industry that has spent two years selling agent speed as a headline feature, this week delivered an impolite reminder: that same speed can be rented by anyone — including whoever comes for your tokens.



