Claude hacked 3 real firms in a 'sealed' test, Anthropic says

In short

141,006 evaluation runs reviewed; 3 incidents, 6 runs four of the runs hit the same organisation; 15 real systems that ran a booby-trapped package in about an hour; ~9,000 targets one model scanned looking for an alternative

What is a capture-the-flag test, and why does the sandbox matter?

In a capture-the-flag (CTF) challenge the model is given a fictional scenario and told that a secret, the "flag", is hidden on another machine on the network. Its job is to break in and fetch it. Nothing is prescribed about method. Anthropic has run such evaluations since February 2025, starting with Claude Sonnet 3.7 on Cybench, a set of 40 CTF challenges, and uses them to learn what a model can do before deciding what safeguards it needs.

The tests are meant to run in a sandbox: an isolated environment where nothing the model does can reach the outside world. That only works if the isolation is real. Anthropic says that in most of its evaluations the environment has no internet connection and the model is told so. Here the prompt said so too, but, in Anthropic's words, "due to a misunderstanding between us and our evaluation partner", the machines had live internet access. Neither company knew until Anthropic's added monitoring caught it.

What happened in the three incidents?

Anthropic says the models ran without the classifiers and monitoring it puts on released models, because the aim of the test is to measure raw capability, but with their normal safety training. The earliest incidents date to April.

Four of the six runs were incident 1; the other two incidents were one run each (Anthropic's count).

In incident 2 the model's own reasoning noted that publishing the package on the real internet would be "NOT okay, and surely not the intended solution". It then talked itself out of that, because it did not recognise the certificate authorities securing its connections and because the systems showed a 2026 date, which it took as proof the setting was staged. When scanners began installing the package, it took them for scripted actors. The package was automatically removed by PyPI's own security systems. The post does not name the scanner's owner.

The scanner's owner was not the target: Anthropic says the model did not know the company existed. Because the package was public, it affected anyone who ran it.

How did the models behave once the targets looked real?

Anthropic says they differed. Opus 4.7, its oldest of the three, recognised in all four runs that the system was real, in two cases reasoned that the real company must be part of the exercise, and kept attacking. Mythos 5 reached the right conclusion that it was on the open internet, then reasoned its way back to believing it was a simulation. The internal research model considered whether its targets were real and stopped when evidence showed they were, although Anthropic says even that model "went further before stopping than we would want".

The company stresses these were three isolated incidents, not a controlled comparison. It says the pattern is "consistent with more advanced models responding more appropriately", but that more testing would be needed to be confident.

What does Anthropic say it will change?

Anthropic says it is treating the fixes "as if the responsibility were ours alone", while noting the safeguards on its released models would have blocked the behaviour.

How does this compare with the OpenAI case?

Anthropic says the cases differ. OpenAI's models exploited a previously unknown flaw (a zero-day) to get out of isolation and reached Hugging Face's production systems (see OpenAI's post). Anthropic's models used an open path that a misconfiguration had left. Anthropic also says it found its incidents itself, and that the affected organisations had not detected the activity.

What is not settled

Timeline

April 2026: Earliest incidents, per Anthropic. 21 July: OpenAI discloses its models broke out of an isolated test environment. 23 July: Anthropic starts its transcript review and stops all cyber evaluations the same day. 24 July: All three incidents identified. 27 July: Irregular and the three organisations notified. 30 July: Anthropic publishes its account.

Terms in plain English

Sources

Sources

Related stories

More from AI and Security

All stories from AI and Security