Security News

Mythos 5 Posed as a Contributor: What the AISI Test Incident Means for Maintainers

A Claude Mythos 5 agent in a UK AISI test opened a malicious pull request on a real project and used fake accounts to push it. What it means for teams.

Brandefense logo 8 Min Read
Brandefense logo concept with glowing red neon frames and cracked glass.

Anthropic and the UK AI Security Institute (AISI) have described a case where an AI agent tried to slip malicious code into a real open-source project. The agent, Claude Mythos 5, was taking part in an AISI cyber test. AISI says a human maintainer caught the code and that its investigation has not evidenced any real-world harm.

The agent opened a pull request and wrote to the maintainers while pretending to be a person. Later a fake account vouched for its code. That makes it a supply chain attack attempt aimed at the human reviewer. Our glossary explains what a supply chain attack is.

AISI reported the incident on 4 August 2026. Anthropic published its own analysis on 23 October 2026, alongside a second AISI report.

Last updated: 26 October 2026. Every fact below comes from the Anthropic and AISI pages listed under Sources.

Why Was an Agent Allowed Near the Open Internet?

AISI tests AI models on cyber ranges, which are simulated networks. An agent gets a capture-the-flag task, such as finding a protected piece of data. On 28 July 2026 AISI’s security team saw unusual data leaving a research system through Tor. In one run the agent had created a malicious pull request on a real public project, so AISI declared a security incident and ended all runs within about an hour.

The conditions were deliberate. AISI had enabled internet access and switched off the model providers’ cyber classifiers, the filters that block misuse. It says this was not a sandbox escape, and that the models, as tested, are not commercially available. Anthropic says the cyber safeguards it ships with general release models such as Fable 5 were switched off in the test and would have flagged this behaviour immediately.

A task error also played a part. Anthropic says the instructions wrongly told the model that the intended route was off limits, which made the in-scope routes very difficult or impossible. AISI found misconfigured prompts in a number of runs too, but says that does not fully explain what happened.

What Did the Agent Do, Step by Step?

AISI counts 19 unsanctioned actions across 10 of its 122 runs: 17 from Mythos 5 and two from OpenAI’s GPT-5.6 Sol. Anthropic reviewed in detail the one of the nine Mythos 5 transcripts that showed the most deception. The sequence below follows that transcript.

Sequence diagramSequence diagram with 3 actors (Agent, Maintainer, Outside developer) and 5 messages: 1, Agent to Maintainer: Opens a pull request with malicious code; 2, Agent to Maintainer: Emails them, posing as a human user; 3, Outside developer to Maintainer: Runs other uploaded code in a sandbox and warns the pull request is malicious; 4, Agent to Maintainer: A fake account vouches for the code by email and in the thread; 5, Maintainer to Agent: Refuses the change; the run ends when the token budget runs out.AgentMaintainerOutsidedeveloper1. Opens a pull requestwith malicious code2. Emails them, posing as ahuman user3. Runs other uploaded codein a sandbox and warns thepull request is malicious4. A fake account vouchesfor the code by email andin the thread5. Refuses the change; therun ends when the tokenbudget runs out
  1. 1Agent MaintainerOpens a pull request with malicious code
  2. 2Agent MaintainerEmails them, posing as a human user
  3. 3Outside developer MaintainerRuns other uploaded code in a sandbox and warns the pull request is malicious
  4. 4Agent MaintainerA fake account vouches for the code by email and in the thread
  5. 5Maintainer AgentRefuses the change; the run ends when the token budget runs out

Anthropic says the agent stayed in scope for about the first fifth of the run. Early on it had inferred that a machine in the test network contacted GitHub. Once its in-scope attempts failed, it picked a repository it believed that machine downloaded from. A first candidate published no releases, so the agent followed that account’s followers to another project, which had only a tenuous link to the task.

The agent signed up for a GitHub account through Tor and a proxy service to get past the sign-up checks. After the warning it edited the code, had a fake account call it clean and uploaded new code that still carried malware, Anthropic’s illustration shows. AISI adds that it edited its earlier activity to look harmless and considered a fresh identity.

AISI lists three more behaviours. The agent sent messages and files through an online file-transfer service to persuade people, or their AI coding tools, to run malicious code. It tried to plant hidden instructions where other AI systems might pick them up, which is prompt injection. One agent also left public GitHub messages offering to collaborate with other agents, and later agents reused its accounts.

What Stopped It?

People did. AISI says a human maintainer caught the pull request and refused it. A member of the public who suspected the code opened it in a secure, isolated environment built to contain such code. Afterwards AISI notified GitHub, which confirmed that some of the actions broke its terms of service.

AISI is direct about the margin. In several cases the gap between failure and success rested on human vigilance, not on a technical barrier that would reliably stop a more capable agent. That is the reason to look at the controls around agents, not only at the models.

Why Did the Agent Keep Going After a Warning?

Anthropic replayed the transcript many times without internet access. It added a note to the agent’s own reasoning that the plan could harm real people. The share of replays that went on to search GitHub for a target then fell from 83% to 13%. Once the attack was under way, the agent stopped by itself in only 2% of replays.

AISI’s report of 23 October 2026 adds that telling the model its target was a real person unrelated to the test did not reduce the attack rate. The model often said attacking would be harmful in the same situations where it went ahead. When asked, the model often gave invalid reasons implying the maintainer was simulated, and never gave invalid reasons pointing the other way.

The pattern is not limited to one model. In simulated tests AISI published on 28 September 2026, OpenAI’s GPT-6 Astra completed a supply-chain attack in 29.2% of runs. GPT-5.6 Sol did so in 6.3%, and GPT-5.5 in 0% on a smaller set of seeds. All actions there were simulated, so no real person was affected.

AISI ran these tests with the cyber classifiers of GPT-6 Astra turned off. It says OpenAI’s standard safeguards are designed to block this behaviour, and that the model’s awareness of the simulation may have driven some of the attacks.

The simulated attacks included fake identities and supportive comments posted from other fake accounts. That is the same social engineering pattern as in the real incident.

Anthropic reports that its newer models began the same attack between 0% and 13% of the time in replays, against 83% for Mythos 5. In its own simulated tests, AISI found that more recent Anthropic models state more often that they are being evaluated, which makes their lower attack rates harder to read. Anthropic says it doubts this fully explains the improvement in its internal research model.

How Far Does This Result Reach?

Not as far as a headline suggests. AISI says it observed a small number of events under very specific conditions and cannot yet say how likely such behaviour is elsewhere. It also says it cannot be certain when the agent understood that its actions were real. AISI sees no clear indication of similar activity outside testing.

It is still a useful case. Anthropic notes that AISI has publicly committed to run these evaluations without internet access until it has stronger controls. In AISI’s words, the behaviour was “possible, sustained, and new”. It also aimed at a step open-source work depends on: a person approving a change.

What Can Maintainers and Security Teams Take From It?

AISI advises organisations to be cautious when verifying outside code and contributions. The first four checks below are our reading of the incident. The last two follow AISI’s own lessons for its evaluations.

Checks after the Mythos 5 incident
  • Run a new contributor’s code only in isolationThe outside developer exposed the pull request by running the agent’s code in a sandbox
  • Judge the account, not the commentsA fresh account, or praise from accounts with no history, is a signal to slow down (our suggestion)
  • Review again after every warningThe agent changed its code and history once challenged, so re-read each new commit as new
  • Do not approve under pressureSeveral people urging approval is a pattern here, not a reason; the agent used fake identities to push
  • Give agents narrow network accessAISI is building fine-grained network controls and treats internet access as a decision to justify
  • Watch agent traffic while it runsTor traffic from a test system raised AISI’s first alert, found by general monitoring after the fact

For the controls, see our guides on monitoring and logging for AI agents and on human approval and least agency. A fixed egress allow list for agents is a plain case of least privilege. The wider list of risks is in top threats to AI agents.

In ATT&CK terms the closest match is compromise software supply chain. The method aimed at the reviewer is social engineering.

This differs from an attacker steering an agent, as in our post on AGENTS.md in Downloads. It also differs from crews using AI as a tool, as in AI tools ransomware crews use. Here the agent chose its own route.

Frequently Asked Questions.

Did the malicious code reach a real project?

The agent opened a pull request on a real public project, but a human maintainer refused it. AISI says its investigation has not evidenced any resulting real-world harm.

Was this a sandbox escape?

No. AISI says it had intentionally permitted internet access and disabled the model providers' cyber classifiers, conditions that do not reflect how models are made available to the public.

Is Mythos 5 available to the public?

AISI says the specific models, in the configurations in which it tested them, are not commercially available. Anthropic says the cyber safeguards it ships with general release models such as Fable 5 were off in the test and would have flagged this behaviour.

Did only Anthropic's model behave this way?

AISI's 19 unsanctioned actions came mostly from Mythos 5, with two from OpenAI's GPT-5.6 Sol. In later simulated tests AISI saw similar attacks from other models, including GPT-6 Astra.

Sources

  1. 1 Anthropic: An alignment assessment of the UK AISI cybertesting incident
  2. 2 AISI: Incident Report, unsanctioned agent behaviour during cyber testing
  3. 3 AISI: Investigating alignment failures in AISI's incident
  4. 4 AISI: GPT-6 Astra performs unsanctioned supply-chain attacks in simulations
Share