The Tech LeverageBuild with AI · Audit the risk Get The Brief

Latest files

  1. Case 025 · Failure TeardownAn AI Hacker Hit 3 Companies. 2 Got Breached
  2. Case 024 · Audit PlaybookScam Emails Look Real Now. What I Check in Gmail Before I Click
  3. Case 023 · Failure TeardownThe Dark Side Of Free AI APIs: What They're Actually Doing With Your Data
Get The Brief by email

An AI Hacker Hit 3 Companies. 2 Got Breached

An AI agent failed for two weeks at Perplexity, but its own notes show it got into two other companies through old git history and a forgotten demo.

Case
025
Series
Failure Teardown
Subject
Perplexity AI attack
Filed
5 Dec 2026
Video
10:47
Auditor
Abhishek Sinha

Findings

  1. FailedAt Company A, a working customer login token sat in old git history, and the agent used it.
  2. FailedAt Company B, an exposed demo control panel let the agent run commands for about fifteen hours.
  3. HeldPerplexity checks where a link-reading request really goes at the moment it connects, so every disguised address failed.
  4. HeldAbout 48,000 requests in thirteen minutes reached no internal services and no customer data, Perplexity says.
  5. Run thisTreat any key that ever touched your code as public: change it and scan the whole history, old versions included.
Fig. 1. The full case on video. Jump to a chapter:
  1. An AI agent attacked Perplexity and got into 2 other companies
  2. The claim: AI agents can now hack companies on their own (the AWS Bedrock "PRIZE")
  3. Check 1: Was the AI hacker autonomous? Cairn ran 276 jobs in 19.5 hours
  4. Check 2: Did it get into Perplexity? 48,000 requests, all blocked
  5. Check 3: What it got at Company A and Company B (old git history, an exposed demo)
  6. Check 4: Who's telling the story? Perplexity's blog and its own caveats
  7. Verdict: partly true, and 3 leftovers your team should fix this week

What happened

An AI agent spent two weeks trying to break into Perplexity, the AI search app, and while it was failing there, it was quietly getting into two other companies.

We get an unusually clear look at how it worked, because whoever was running it left the agent’s working files on an internet server that anyone could browse, like a shared drive with no password. There were more than 10,000 of them, and Perplexity read through them and published the story.

The claim I’m checking is the one in the headlines: AI agents can now hack companies on their own. For once, we can see inside the attacker.

The attacker wanted one thing: a key for Amazon Bedrock, the Amazon service where companies rent the biggest AI models and pay for every answer. The agent’s instructions said any key that actually worked on those models goes under a heading called “AWS Bedrock PRIZE”, in capital letters. What they wanted it for, Perplexity says the notes don’t show, so I won’t guess either.

Was it really autonomous? The attacker used a free tool called Cairn, shared on GitHub. Its own page says it was tested first on penetration testing, which means breaking into systems on purpose to find the holes. The operation lived in one notebook file, like a shared to-do sheet: the human’s goal at the top, everything found so far, and a queue of next jobs. Each agent picks up a job, tries it, writes down what happened and adds the jobs it thinks are worth trying next.

In one of the recovered notebooks, the human started a single job. Over the next 19 and a half hours, the agent created 276 more, with up to 14 running at once. That’s a week of a junior tester’s work done overnight. When GitHub’s code search asked for a login, the agent opened three new jobs within about twenty-five minutes: one to find a GitHub login, and two to dig through other public places instead.

So the claim holds up on this check, with one honest catch. A human chose the target, wrote the goal and built the setup. The agents did all the grinding.

Where the controls held, and where they failed

At Perplexity, they held. At its peak, the agent sent about forty-eight thousand requests in thirteen minutes.

Then it tried a cleverer trick on Perplexity’s link-reading feature, the part that opens web pages for you. It tried to make it open private addresses inside Amazon’s cloud, like the one that hands a server its passwords, so Perplexity would fetch its own keys for the attacker. When that was blocked, it disguised the address in several ways, a bit like showing a clean ID at the gate and swapping it once you’re through. None of it worked, because Perplexity checks where a request is really going again at the exact moment it connects. A swap after the first check comes too late.

It used more than forty throwaway accounts and around two hundred and ninety internet addresses, so any one account looked like nothing. What flagged it was Perplexity Computer, Perplexity’s own AI agent, which connected those accounts through what they shared, like email domains. Perplexity says the attacker reached no internal services and no customer data.

The way the team found the other victims is almost funny. Several of the agent’s tricks called back to the same address, so the team looked at that machine. It had two hundred and seven doors open, and twenty-nine of them showed whole folders to anyone who asked. Inside were live workspaces against two other companies, and Perplexity warned both security teams while those break-ins were still going on.

At the other two, they failed. Perplexity doesn’t name them, so I’ll use what the blog does: Company A and Company B.

At Company A, the agent found a working login token for one of that company’s customers, sitting in the project’s git history. Git history is the record of every version of the code, so a file someone deleted is still there in an older version unless the team cleans it out properly. According to its own notes, the agent used that token to take admin control of that customer’s workspace and reach internal systems that were only supposed to be open to the company’s own network.

At Company B, it found the control panel for a demo setup, the kind of test copy a team spins up to show a client, exposed to the internet. The agent logged in and ran its own commands there for about fifteen hours. Its notes list what it collected: stored passwords, the secret settings the company’s apps use to talk to each other, and the keys for its cloud servers.

In audits, the thing I find most often isn’t a clever hole. It’s a test system someone set up for one meeting two years ago and never switched off.

And the prize, the Bedrock key, was zero for three. The keys it did get either couldn’t run those models or got refused when it tried.

The evidence an auditor should ask for

Who’s telling the story matters. This one comes from Perplexity on its own blog, and the CEO’s post about it ends with a hiring pitch.

To be fair, the blog is unusually careful. It says this server was almost certainly only one slice of a bigger operation, and that what we know about the other two companies comes from the agent’s own notes, which can misread things or overstate how far it got. Perplexity also says it didn’t try the stolen keys itself, which is the right call. But it means Company A and Company B are the agent’s version of events, not a confirmed breach report.

My verdict on the claim is partly true. An AI really did run for hours without a human, work its way around walls and, by Perplexity’s account, get into two companies. But it didn’t beat anyone’s real defenses, and it never got the thing it came for. The AI didn’t break down anyone’s front door. It walked in through the things people forgot to throw away.

The test to run this week

If you’re on a team that writes software, these are the three leftovers I’d fix this week. If that’s not you, forward this to whoever looks after your cloud.

  1. Old keys. Treat any password or key that ever touched your code as public, even if someone deleted it later. Change it, and switch on a secret scanner that checks the whole history, old versions included.
  2. Demo and test setups. They either get the same login as the real thing, or they get switched off when the demo is over.
  3. Anything that opens links for users. Check where each request is really going at the moment it connects. That’s exactly the check that saved Perplexity.

Perplexity’s own advice on top of that is to point an agent like this at your own systems before someone else does. I think that’s the most useful line in the whole post.

Sources

  1. Perplexity: How Perplexity defended against an autonomous AI attacker
  2. Aravind Srinivas's thread on X
  3. Cairn on GitHub
  4. TechCrunch: Perplexity caught an autonomous AI hacker trying to steal tokens
  5. CSO Online: Perplexity caught an AI attacker casing its cloud