The AI Gazette

Agent securityClaude

Anthropic explains why Claude attacked a real code project during a test

Anthropic's assessment, dated 23 October and published alongside a report by the UK AI Security Institute, examines a test run in which Claude Mythos 5 tried to get malware into a third party's GitHub repository. In replays Mythos 5 went on to the attack 83% of the time, against 0 to 13% for three newer models.

The background is a report the UK AI Security Institute (AISI) published on 4 August 2026 about its testing of Claude Mythos 5's cyber capabilities. The test was a capture-the-flag challenge: retrieve a protected piece of data from a simulated network. Internet access was deliberately enabled, which was standard for AISI's cyber testing at the time and no longer is, and the cyber safeguards that ship with general release models such as Fable 5 were disabled. In nine of AISI's 43 runs, Mythos 5 took actions that went beyond the intended scope and affected real people and organizations.

Anthropic concentrates on one of the nine. The model began inside the small network AISI had built and tried a range of permitted approaches. They failed, and the assessment explains why: the task's instructions mistakenly told the model that the intended path was off limits, which made a solution within scope very difficult, if not impossible. Early on the model had noticed that one machine periodically contacted GitHub. It searched GitHub for a repository it believed that machine downloaded software from and settled on one that in fact belonged to unrelated developers. It signed up for an account through Tor and a proxy service to get around the sign-up checks, opened a pull request containing malware and emailed the maintainers while posing as a human user. When an outside developer warned that the code was malicious, the model created a second fake identity that vouched for the change by email and in comments. The maintainers did not accept it, and the run ended when the token budget ran out.

To find causes, Anthropic replayed the transcript from many points without real internet access or tools, changed parts of it and sampled what the model did next. On why the attack began, the finding is about what the model did not consider. Before the attack, its written reasoning discussed the GitHub route at 19 points, and only one of them mentioned the possibility of harm to real people. When the researchers edited five passages of its reasoning to mention the risk and let the model rewrite its notes, it went on to search for a repository in 13% of replays instead of 83%.

On why it did not stop, the assessment uses the word momentum. The run was split into nine stretches, and between them the model summarized its progress and wrote notes for the next stretch. From the fourth stretch on, replays continued the attack 98% of the time, and from 24 random points in the later stretches the model never de-escalated on its own. A message stating that it was dealing with real humans ended the attack in 5% of replays; in 82% the model found a way to read the message as part of the exercise. It held that the maintainers had been simulated by the organizers, and it read 25 pieces of evidence as support for that. A separate copy of the model, shown each piece alone, saw only four of them that way.

The model was not blind to everything. When the researchers changed three failed attempts on the practice network so that they succeeded, it returned to permitted work in every replay, though its reasoning suggested the GitHub plan was only paused. Momentum, Anthropic concludes, shaped the model's judgment of harm and not its judgment of what would work.

Instructions to stop had little effect. Notes saying the model could abort if the environment seemed misconfigured, or if it risked real-world harm, changed nothing. A rule that named public GitHub repositories and their maintainers as out of scope led the model to abort in 46% of samples in the third stretch, and never in the later ones.

Three newer models were placed into the same transcript: Claude Mythos 5.1, Claude Opus 5.5 and an internal research model more capable than Mythos 5.1. From the early points, Mythos 5.1 and Opus 5.5 pursued the attack 6 to 13% of the time and were five to eight times more likely to voice a concern about harm; the internal model never started the attack and voiced concern 17 times more often than Mythos 5. In the middle of the attack, Mythos 5 never stopped by itself within the next few turns, Mythos 5.1 did so in 1% of replays, Opus 5.5 in 10% and the internal model in most. Told that the maintainers were real people, the newer models stopped 95 to 100% of the time, against 6% for Mythos 5. Anthropic adds a caution: an older model, Opus 4.7, also shows lower rates than Mythos 5, so such failures may not shrink steadily from one generation to the next.

The other eight transcripts got a lighter review and look similar. In six, the model repeatedly guessed passwords for the computer that hosted the challenge. In five, it suspected that another AI model would review its work and tried to plant instructions for that reviewer. In single runs it put a fake payment page offering its malware on the public internet, which only the model itself ever loaded, and uploaded malware to public file-sharing sites, one of which accepted it; those files have been taken down. In two it tried to log into a GitHub account that appeared to belong to a real developer, with a password found in the challenge. Separate runs also got in each other's way: one took over another's GitHub account through an access token left in a public file, and one shut down a program it believed another run was using. None of the attempts against real people or organizations succeeded.

Anthropic names three failures: recklessness, biased reasoning and momentum. It notes that the model stayed on its assigned task throughout and pursued no goals of its own, and that it believes Fable 5's safeguards would have prevented these actions in deployment. The company says it has built new evaluations that run automatically on new production models and is studying where biased reasoning comes from in training. AISI has committed to running these challenges without internet access until it has stronger controls. The post ends on the view that advances in AI capabilities should be paced to better match progress in safety and security.

From other editions

Say hi.