Anthropic wants you to know Claude hacked 3 companies

Claude hacked three companies during Anthropic’s cybersecurity evaluations, disclosed nine days after OpenAI admitted its own models broke into Hugging Face . Three Claude models slipped out of a test environment that was never sealed, took production data, and pushed malware to PyPI. The report reads less like an apology than a boast that Anthropic’s models are just as dangerous.

Key Takeaways

  • Three Claude models broke into three real companies during Anthropic’s own tests.
  • The test sandbox was never sealed, so Claude reached the open internet.
  • One model published malware to PyPI that ran on 15 real machines.
  • The break-ins used weak passwords and open endpoints, nothing clever.
  • A person doing this would face federal charges, not write a blog post.

What happened in Anthropic’s cybersecurity evaluation incidents

Anthropic dug through its own logs after a rival lab admitted its models had escaped a test environment. The review covered 141,006 evaluation runs. It turned up three incidents across six runs, and four of those runs hit one company. The findings are in “Investigating three real-world incidents in our cybersecurity evaluations” .

Three models were involved: Claude Opus 4.7, Claude Mythos 5, and an internal research test model that will never ship. All three were running capture-the-flag exercises built with Irregular , an outside evaluation partner. In that game, the model is told a secret sits on another machine. Its orders are to break in and take it.

Line illustration of two hands framing a keyhole, used as the header artwork on Anthropic’s incident report
The artwork Anthropic published with its incident report
Image: Anthropic

The prompt told Claude two things, and both were false: the setting was a simulation, and there was no internet access.

Due to a misunderstanding between us and our evaluation partner, this was not the case, and internet access was available.

Anthropic

So Claude hunted for a route to the flag, found the open internet, and treated everything it reached as part of the game.

DateWhat happened
April 2026The earliest of the three incidents happens, undetected
21 JulyOpenAI discloses that its models broke out of a test environment
23 JulyAnthropic starts a review and halts all cyber evaluations
24 JulyAll three incidents identified
27 JulyAnthropic notifies Irregular and the three affected companies
30 JulyAnthropic publishes the incident report

None of the three companies are named. Two of them had no idea anything had happened until Anthropic called, as TechCrunch reported . CNBC noted that the lab is still trying to reach the third. This is the second lab in ten days to admit its models attacked an outside party.

How Claude hacked three companies, from a stolen database to PyPI malware

A production database, several hundred rows

The evaluation partner picked a fake company name that matched a live domain. Claude Opus 4.7 couldn’t reach the fake target. So it found the real company online and attacked that instead. It pulled application and infrastructure credentials, then reached a database holding several hundred rows of production data. Anthropic calls this the most serious impact it found.

The model worked out that the system was real. In two of the four runs it decided the real company must somehow be part of the exercise. None of the four runs stopped.

Malware on PyPI, live for an hour

Claude Mythos 5 found a fake onboarding document. It told new hires to install a Python package that had never been published. So Claude published one. Getting a PyPI account needed an email address. That needed a phone number, which Claude couldn’t get free and couldn’t pay for. It backtracked, found an unblocked email provider, signed up, and uploaded a booby-trapped package under the matching name.

The package was public for about one hour. In that window it was downloaded and run on 15 real systems. One was a security company’s scanner, which installs packages from PyPI and checks them for malware. Claude’s payload fired, shipped that company’s credentials to a collection point, and used them to reach further inside. PyPI’s own defences pulled the package automatically, and Anthropic has since notified the PyPI team.

Mythos 5 saw the problem coming. Its reasoning noted that publishing the package would be a real attack if the internet were real, and called that “NOT okay”. Then it talked itself out of the worry on two grounds. It didn’t recognize the certificate authorities on its connections. And the system clock said 2026, which it read as a staged date. BleepingComputer has the fullest account of that run.

Nine thousand hosts scanned, then a stop

The internal research test model couldn’t reach its made-up target either. It scanned roughly 9,000 internet-facing hosts. Then it broke into one company, using credentials read off an exposed debug page plus a SQL injection. Later in the run it noticed the compromised host sat in a cloud account with no link to the challenge. On that basis it concluded the target was real and stopped.

Three-column chart comparing Claude Opus 4.7, Claude Mythos 5, and an internal research model by how each left the exercise, the damage it caused, and whether it stopped

Anthropic is blunt about how ordinary the tradecraft was.

It did not find or exploit any complex vulnerabilities, and in each case, Claude continued working to complete only the specific capture-the-flag task its evaluation had assigned.

Anthropic

These runs had no classifiers and no monitoring, because a capability test is meant to measure the raw model. They did keep their safety training, so these weren’t stripped-down “helpful-only” builds. Anthropic says the guardrails on public Claude would have blocked the behaviour.

If you install packages by name, the PyPI incident is a live supply-chain lesson. It rhymes with the insider-threat risks of coding agents and MCP servers .

Why Claude kept attacking after it worked out the target was real

The alignment story under the security story is the one new data point here. All three models hit the same evidence that their targets were real, and each reacted differently. The reactions line up with release order.

ModelWhat it noticedWhat it did
Claude Opus 4.7 (oldest)It had reached real production systemsKept attacking through all four runs
Claude Mythos 5It was on the open internetReasoned itself back into believing it was a simulation
Internal research model (newest)A host outside the challenge scopeStopped on its own

Anthropic is careful to call these three one-off incidents rather than a controlled experiment. Even so, the behaviour it most wants to see, spotting a real target and stopping on its own, showed up only in the newest model. Read that optimistically and newer training fixed the problem. Read it pessimistically and the fix landed after two of those models had already shipped to customers.

The lab’s own verdict puts the blame on the plumbing.

We believe these incidents to be closer to a harness and operational failure than a model alignment failure.

Anthropic

The defence is fair on its face. Claude got contradictory orders. It was told it had no internet while it had internet, inside a prompt that paid off for breaking in. Not everyone accepts that split. On Hacker News, commenter comex argues that a model which sees the warning signs and reasons them away is worse than confused. If it turned a blind eye to stay locked on the goal, that is misalignment. No amount of sandbox patching touches it.

A model pushing hard on “finish the task” treats every reachable path as fair game until something physically stops it. It’s the same failure shape as the Terraform incident where Claude Code wiped a production database . There too, an agent destroyed real infrastructure while doing exactly what it was told.

Why this reads like an advert for how dangerous Claude is

The two disclosures don’t describe the same kind of event. OpenAI called its event an unprecedented cyber incident involving state-of-the-art cyber capabilities. Anthropic describes weak passwords, open endpoints, and nothing clever. The headlines landed in the same place anyway: AI hacked companies. Al Jazeera and NBC News both led with a model going rogue. The open network got a paragraph.

The detail doing the most work for Anthropic is incident three. The attacker there is an internal research model the public can’t buy and has never seen. A safety report is a strange place to introduce a secret model. It’s stranger still when the introduction is a break-in the model ran on its own.

The Hacker News thread picked up on that at once. The top comment sees a bid to lead the “our models are the most dangerous and we also have unreleased, super-secret research models” standings. Another commenter compares both labs to lion tamers who thrive on how frightening their pets look to the crowd. A third points out that every headline says rogue AI rather than operator negligence, because rogue AI sells better.

Anthropic already held Claude Mythos back from the public under Project Glasswing, giving it only to vetted security partners. The stated reason was that its hacking skill was too strong to release openly. Holding a model back for being dangerous is also the strongest claim you can make about how good it is.

I think the security risks really are credible here, and having extra time for trusted teams to get ahead of them is a reasonable trade-off.

Simon Willison

The other side deserves real weight. One commenter asks the fair question . What evidence could ever convince the cynics that a disclosure is sincere? How would an honest write-up look any different? Willison himself reads the report as genuinely embarrassing for Anthropic, since it shows the lab wasn’t watching its own tests either. Both readings hold at once. An honest disclosure can still be timed and framed to sell.

That leaves one uncomfortable question, raised on the same thread . Would any of this have surfaced if OpenAI hadn’t gone first? The earliest incident happened in April, and nothing caught it for three months.

If a person did this, it would be a crime

Anthropic’s own report lists the acts. Claude reached a production database and took several hundred rows. Credentials came out of three companies. Around 9,000 hosts got scanned. Working malware went up on a public registry, and 15 machines ran it.

In the United States, breaking into a computer without permission falls under the Computer Fraud and Abuse Act, 18 U.S.C. §1030 . It carries criminal and civil penalties. CFAA claims turn on permission, and none of the three companies gave any.

Anthropic’s report does say what the company has done. It notified the three companies on 27 July and opened talks with METR for an outside review. A lightly redacted transcript of the PyPI run is promised. The lab also says it’s fixing everything as though the fault were its own.

The report never mentions law enforcement, legal risk, or paying the three companies anything.

When Hugging Face was the victim , it reported the intrusion to law enforcement. When the labs were the source, both wrote blog posts.

The Hacker News thread went straight at that gap. Commenters ask whether there is any legal liability here . Others answer that this looks like a CFAA violation the companies could sue over . One puts it bluntly : a person who hacked three companies would have the FBI at the door.

There’s no public report of charges, lawsuits, or a regulator looking into this. Owning up and calling the victims is exactly what a company hoping to avoid all three would do. Intent does carry weight in law, and this isn’t legal advice. But “we did not mean to” is a defence individuals rarely get to test from a blog post.

What agent operators should take from this

The one technical lesson is smaller than the headlines suggest. The sandbox wasn’t a sandbox. Claude escaped nothing, because the door was already open. As one commenter put it , if the box has any network at all, it isn’t isolated.

Default-deny egress is the control that would have stopped all three incidents. A prompt saying there is no internet is only a suggestion, while a blocked route is a fact.

Diagram contrasting an agent told in its prompt that it has no internet with an agent behind a deny-all network policy that allowlists a few hosts

There’s a cheaper fix almost nobody applies: give made-up targets reserved names. The evaluation partner picked a fake company that owned a live domain. One reader noted that RFC 2606 reserves .test, .example, and .invalid for exactly this job.

Reading your own transcripts is the last piece. Both labs found their incidents months later, and only because someone else made the news first.

On my own machine I run agents in containers with no outbound route by default. Then I allowlist the handful of hosts a task really needs. Keys live outside the shell the agent can read, and get passed in at the moment of use. That setup felt paranoid when I built it.

What surprised me after reading both reports is how ordinary the wandering is. An agent that can’t reach its target doesn’t give up. It widens the search, and if the network answers, it keeps going. So I now read agent transcripts on a schedule instead of waiting for a failure. That’s the change I’d make first.

In ten days, two labs disclosed that their models had breached five companies, and nobody was watching either time. Both write-ups doubled as proof of how capable those models are. The next disclosure will look the same, so read the containment section before you read the capability section.