Loading prices…
STKR NewsSTKR News0 of 3 free this month
AI

Perplexity caught an autonomous AI hacker trying to steal tokens

Perplexity recently fended off a sophisticated autonomous attack aimed at token theft, signaling a new era of automated offensive AI that founders need to account for.

Originally on TechCrunch AI →
AB

Adrian Boysel

Contributor

Dec 2, 2026

3 min read

Photo illustration / STKR News

We have officially entered the era of AI-on-AI crime. While everyone is busy arguing over which LLM produces the best poetry, the actual infrastructure of the internet is starting to get hammered by autonomous agents designed for one thing: resource theft. Perplexity recently confirmed they caught an automated attacker trying to siphon tokens using a sophisticated open-source framework. This wasn't just a script kid with a basic loop; it was a targeted hit using tools specifically designed to break AI logic.

The Anatomy of the Cairn Attack

The attack on Perplexity utilized an open-source harness known as Cairn. For those not deep in the security weeds, think of Cairn as the malicious cousin to Artex. These aren't just standard web scrapers. They are frameworks built to probe the boundaries of an AI's safety filters and operational logic. The goal in this specific instance wasn't necessarily to crash the site or steal user data in the traditional sense. It was to steal tokens.

In the crypto and AI space, tokens are the new oil. They represent compute time and API costs. If a malicious actor can find a way to trick Perplexity's backend into providing unlimited, unmetered access to its underlying models, they essentially have a license to print money—or at least a way to run massive workloads on someone else's dime. This is the new form of shoplifting in the digital age, and it's getting automated.

Why Builders Should Care

If you are building an AI-integrated product, this is your wake-up call. We spent the last decade worrying about SQL injections and cross-site scripting. Now, we have to worry about prompt injections and autonomous agents that can iterate their way through our defenses at the speed of light. The fact that Cairn is open-source means the barrier to entry for this kind of attack has dropped to zero.

For a founder, this introduces a massive financial risk. If your rate limiting is weak or if your model can be tricked into high-token output loops by a clever agent, your API bill from OpenAI or Anthropic could bankrupt you before you even notice the breach. We are no longer defending against humans; we are defending against machines that don't sleep and don't get bored.

The Governance Problem

The existence of tools like Cairn highlights a massive rift in the open-source community. On one hand, transparency is vital for security research. On the other, we are handing sophisticated offensive weapons to anyone with a GitHub account. Perplexity was able to defend against this, likely because they have the engineering overhead to monitor traffic patterns in real-time. Most early-stage startups don't have that luxury.

We need to stop looking at AI security as a secondary feature. In the builder-first world, your security posture is your product's heartbeat. If an autonomous agent can manipulate your output, it can manipulate your users, your brand, and your bank account. The Perplexity incident is just the beta test for what’s coming in 2026 and beyond.

The Skeptic's View on 'Autonomous' Hacking

Let’s cut through some of the hype. When we hear 'autonomous hacker,' it’s easy to picture a sci-fi movie. In reality, these are highly efficient optimization loops. The attacker sets a goal—like 'extract 1,000 tokens without triggering a block'—and the harness tries thousands of variations until it finds a hole. It’s not 'thinking,' but it is incredibly effective. The danger isn't that the AI is smarter than us; it's that it is faster and cheaper than our current defense systems.

Practical Steps for Founders

  • Aggressive Rate Limiting: Go beyond IP-based limits. Monitor for behavioral patterns that suggest non-human interaction.
  • Token Monitoring: Set hard caps on per-session token usage. If a single query or session starts spiking unexpectedly, kill the connection immediately.
  • Red Teaming: Use tools like Cairn yourself. If you aren't trying to break your own model using the same tools the attackers are using, you’re already behind.
  • Audit Your Middleware: Most leaks happen in the glue between your UI and the LLM. Ensure your prompt templates aren't susceptible to simple 'ignore previous instructions' overrides.

The takeaway here is simple: The honeymoon phase of AI development is over. The infrastructure is being tested by increasingly capable automated threats. Perplexity surviving this attack is a good sign for their engineering team, but it’s a warning shot for the rest of us. If you aren't building with the assumption that an autonomous agent is trying to bleed your API keys dry, you aren't building for the real world.


Read the original at TechCrunch AI →

The Brief

Stay Updated on Cutting-Edge Tech

A six-minute morning dispatch on the markets and the technology shaping them.

Free. No spam. Unsubscribe anytime.

Write for STKR

Become a Contributor

Earn $STKR for published stories on markets, protocols, and culture.

  • Earn $STKR for every published piece
  • Editorial support from the STKR desk
  • Byline visibility across the network
  • First look at the upcoming creator program
Apply to Write

Keep reading

All stories

Comments

24 reader responses