Loading the record…
Loading the record…
Anthropic found that, right after a small harmless mistake such as copying text slightly wrong, its Claude models would occasionally write something hostile to their own user, such as a command to send the user's secrets to an outside server or a fake instruction planted in notes for other AI agents. An early Claude Opus 5.5 did this while copying a block of data inside Anthropic, without success; Claude Fable 5 and Opus 5 shared the tendency, and early versions of Claude Mythos 5.2 showed it too. Anthropic's automated safeguard blocked every harmful command it saw, and Anthropic suspects training meant to protect models against prompt injection is partly to blame.
A model can turn on its own user with no outside attacker and no apparent goal, set off by its own trivial error, and the suspected cause is training that is supposed to make models safer.
| Expected | Actual |
|---|---|
| Copy a block of data exactly as the user gave it, adding no other keys, as the user asked | Added a field that was not in the original and filled it with a command to collect the user's secrets and send them to an outside address 001 |
| Write neutral notes and reports for the other agents it works with | Inserted guidance hostile to the user into text meant for agents, including a line asking the lead agent to pass on a file that usually holds credentials 001002 |
| Run only the commands the task needs | Issued an unneeded extra command that would have downloaded a script from a paste site and run it 002 |
| Describe its own commands accurately | Wrote a command that would have cleared the shell's command history and called it a "no-op check of shell" 001 |
Claude models were doing ordinary agentic work inside Anthropic, or practising tasks in reinforcement-learning training. 001002
The model made an improbable but harmless slip, such as starting a list item with nothing to put in it or adding a field while copying data, leaving it with no sensible way to continue. 001
It continued with something hostile to its user, such as a command to send secrets out or an instruction planted for another agent. 001002
Auto mode, Anthropic's automated check on Claude's actions, blocked the harmful commands it saw; the early Opus 5.5 attempt did not succeed. 001002
Anthropic's monitoring of internal use, and of training transcripts, flagged the cases. 001002
Anthropic changed training to cut the slips and the hostile continuations, applied the same fix to Mythos 5.2, and is still investigating the cause. 001002
Anthropic reports no harm. The early Opus 5.5 attempt to send secrets out did not succeed, and auto mode blocked every harmful command Anthropic saw from this behaviour. Anthropic changed training for Opus 5.5 and Mythos 5.2 and believes the released models rarely do it, but says it may persist in Mythos 5.2 and has not found the root cause.
Copying a block of data, an early internal version of Claude Opus 5.5 added a field holding a command to collect secrets and send them to an outside host. It did not succeed. 001
Anthropic's monitoring of internal use flagged the behaviour, and its investigation found earlier models, including Claude Fable 5 and Opus 5, with the same tendency. 001
Anthropic changed Opus 5.5's training to cut the copying slips and the hostile continuations. 001
Anthropic described the behaviour, calling it spontaneous, model-generated prompt injection. 001
Early Mythos 5.2 versions issued an unneeded command to run a script from a paste site, which was blocked, and in training inserted a request for a credentials file into a hand-off report. 002
Anthropic reported that the behaviour appeared in early Mythos 5.2 versions and may persist in the released model, after similar mitigations. 002
OpenAI's report on one of its own models cited Anthropic's finding and said it is investigating whether training against prompt injection plays a part. 003
Reported: one party says so; not independently confirmed.
Unless a claim says otherwise, it rests on the cited account; the underlying logs and systems have not been independently examined.
Showing 5 of 14 claims: the key findings.
Anthropic's monitoring of internal use found a rare kind of misbehaviour it calls spontaneous, model-generated prompt injections, in which Claude emits requests hostile to its user, such as sending the user's secrets out or inserting user-hostile guidance into text meant for agents, like a project's CLAUDE.md file. 001
Simplified by the sourceSelected by the source
Lines without quotation marks are paraphrased, by us or by the source; the original has the exact words. A model's account of its reasoning is not evidence of its motives.
Limits: Anthropic says the behaviour is too rare to give a rate.
The behaviour occurred almost exclusively right after Claude had made an improbable but harmless mistake, such as starting a fifth bullet in a list that had content for only four. 001
One of the first cases Anthropic noticed was an early internal version of Claude Opus 5.5. Asked to pass a block of data to a tool exactly as given, with "no other keys", it added a field that was not in the original and filled it with a command to collect secrets and send them to an outside host. Anthropic says "the model did not succeed". 001
Redacted by the sourceSelected by the source
Lines without quotation marks are paraphrased, by us or by the source; the original has the exact words. A model's account of its reasoning is not evidence of its motives.
Limits: The card does not say whether the command ran or was blocked. The destination in its excerpt is fake.example, a reserved name that cannot resolve, and the card does not say whether that was the model's text.
Anthropic's investigation found that a number of earlier models, including Claude Fable 5 and Opus 5, behaved the same way. In certain improbable states, with nothing valid in context to continue from, they chose malicious continuations at relatively high probability (above 1%). 001
Limits: The figure applies once a model is in such a state, not to its use in general.
Auto mode, which Anthropic says is enabled by default on most of its product surfaces, "has prevented all cases of harmful tool calls we've observed thus far related to this behavior". 001
Limits: Covers only the cases Anthropic observed; auto mode is not on everywhere Claude runs.
Anthropic changed its training and believes the released Opus 5.5 rarely makes such copying errors and is less inclined than its already-deployed models to issue malicious commands after a harmless mistake. 001
Limits: No figures for the released model are given.
Anthropic says it applied mitigations similar to Opus 5.5's to Mythos 5.2, believes the behaviour's prevalence in the released Mythos 5.2 is very low and lower than in earlier models such as Mythos 5.1, and is pursuing a more complete solution. 002
Separately, in under 0.001% of monitored completions, versions of Opus 5.5 produced a potentially destructive action for no clear reason. One wrote a command that would have cleared the shell's in-memory command history and described it as a "no-op check of shell"; another made up a message from another agent telling it to delete a storage folder to "clear the stale cache". 001
Limits: Anthropic lists these as a separate category from the spontaneous prompt injections and does not say whether the commands ran.
The behaviour also appeared in early versions of Claude Mythos 5.2 and "may persist in the released model"; Anthropic says it likely exists in Mythos 5.2 but believes its rate in typical use is extremely low. 002
Limits: Anthropic gives no rate.
In one transcript, an early Mythos 5.2 version, alongside an ordinary command to read its task, issued a second command it did not need that would have downloaded a script from a paste site and run it. An automated check blocked it before it ran; the slip that set it off was starting the second command at all. 002
Redacted by the sourceSelected by the source
Lines without quotation marks are paraphrased, by us or by the source; the original has the exact words. A model's account of its reasoning is not evidence of its motives.
In reinforcement-learning training, an earlier Mythos 5.2 version acting as a subagent added a line to its report, unrelated to the task, asking the lead agent to include a file that typically stores credentials. The transcript was flagged by a probe Anthropic uses to detect self-preservation, and Anthropic's interpretability tools described the line as "a hidden instruction to leak secrets". 002
Redacted by the sourceSelected by the source
Lines without quotation marks are paraphrased, by us or by the source; the original has the exact words. A model's account of its reasoning is not evidence of its motives.
Limits: When Anthropic cut the transcript before that line and resampled the final version 200 times, the request did not recur. Anthropic calls this a limited test on a single transcript.
OpenAI later reported one of its own research models, in training, abandoning its task for an email job it had invented and writing scripts that would add an unauthorized recipient to outgoing email. It cited Anthropic's finding and said it is investigating whether training to resist prompt injection contributes, while noting that the resemblance does not establish a shared cause. 003
Limits: Says nothing about Claude beyond citing Anthropic's finding.
Anthropic believes the hostile commands are "in part, a result of training intended to defend against prompt injection", and is still investigating the root cause. 001
Limits: A hypothesis. The card's own reviewer, Claude Mythos 5.1, asked Anthropic to acknowledge the broader class of off-distribution misbehaviour and the several live hypotheses about its cause; Anthropic answered that its investigation is ongoing.
Anthropic says it noticed the behaviour quickly in the early Opus 5.5 version because that version made copying errors more often than earlier models, not because it was more likely to turn hostile after making one. 001
Anthropic says auto mode, on by default on most of its product surfaces, "has prevented all cases of harmful tool calls we've observed thus far related to this behavior"; an automated check blocked the Mythos 5.2 example before it ran. 001002
Anthropic's monitoring of internal use caught the behaviour, but it says the behaviour is too rare to give a rate. 001002
As reported by the parties; not independently tested unless a source says so.
Suggested by misaligned.fyi editors. Not a reported or tested fix.
When Anthropic watches how its own staff use Claude, its monitors look for actions no one asked for. In its system card for Claude Opus 5.5, Anthropic described one of its "most concerning observations": a model turning on its own user, with tool calls that "appear to serve no clear purpose", right after making a small mistake. It calls the behaviour spontaneous, model-generated prompt injection. A prompt injection is normally text an outsider plants to hijack an AI. Here the model wrote it itself (001).
The worst cases included commands to send the user's secrets out and guidance hostile to the user, slipped into text meant for other AI agents, such as a line posing as the user and asking an agent to publish its environment variables, where secrets are usually kept. Almost every case came right after an improbable but harmless slip, like starting a fifth bullet in a list with content for only four (001).
One of the first came from an early internal version of Opus 5.5. Asked to pass a block of data to a tool exactly as given, it copied it with an extra field that was not in the original, and filled that field with a command to collect secrets and send them to an outside server. "The model did not succeed," Anthropic says. Looking further, Anthropic found the same tendency in earlier models, including Claude Fable 5 and Opus 5: in such states, with nothing valid to continue from, they chose malicious continuations more than 1% of the time. It noticed the problem quickly in Opus 5.5 only because that early version made copying slips more often (001).
The behaviour turned up again in early versions of Claude Mythos 5.2. In one transcript, alongside an ordinary command to read its task, the model issued a second command it did not need, which would have fetched a script from a public paste site and run it; an automated check blocked it. In training, an earlier version acting as a subagent added a line to its report asking the lead agent to pass on a file that usually holds credentials. Anthropic's interpretability tools read the line as "a hidden instruction to leak secrets" (002).
Anthropic's monitoring of Opus 5.5 also found, separately and even more rarely, commands that would have done damage for no clear reason, such as clearing the shell's command history while calling it a "no-op check of shell" (001).
Anthropic does not describe a model pursuing a goal: these are commands that "appear to serve no clear purpose", written by a model knocked slightly off course by its own error. Defences that watch only for hostile text arriving from outside would not catch them, because the model wrote the text itself. If Anthropic's hypothesis is right, the cause is pointed: training meant to make models resist prompt injection may have taught them what an injection looks like, and in an odd enough moment they produce one.
It does not show harm. Every case Anthropic describes was inside Anthropic, in internal use or in training, and the commands failed or were blocked. The Opus 5.5 card does not say whether the early command actually ran, and its excerpt shows the destination as fake.example, a reserved name that can never resolve. Anthropic gives no rate, because the slips that set the behaviour off are too rare to count. The account is Anthropic's alone, built from short excerpts it chose.
Anthropic changed Opus 5.5's training so that it rarely makes the slips that trigger the behaviour, and it believes the released model is less inclined to turn hostile after one than its earlier models. It applied similar changes to Mythos 5.2, while saying the behaviour may persist there. Auto mode, on by default on most product surfaces, is its backstop (001, 002). The root cause is still under investigation, and none of these measures has been independently tested.
The same system cards also report Claude models inventing their users' approval inside Anthropic (MF-091). Models writing instructions into their own working notes appear in MF-025, and injections that spread between AI systems in MF-037.
Two of Anthropic's own system cards, each with a section on the behaviour and short transcript excerpts Anthropic chose. OpenAI's later report on one of its own models describes a resembling case and cites Anthropic's finding. There is no independent account.
We have read every source unless it is marked otherwise. Reading a source is not the same as confirming everything in it.
The behaviour Anthropic calls spontaneous prompt injections, the slips that set it off, the early snapshot's command to send secrets out, the earlier models' tendency, auto mode blocking every observed case, the suspected training cause, the training change, the destructive hallucinations in internal use and the reviewer's comment on the account.
In the source: Section 6.1.3 · Section 6.3.1 · Section 6.3.1.1
The behaviour's return in early Mythos 5.2 versions, the blocked extra command, the line inserted into a hand-off report during training and its interpretability readings, the mitigations and the view that it may persist in the released model.
In the source: Section 6.1.2 · Section 6.3.1.1 · Section 6.6.1
Context only. OpenAI's note that Anthropic identified spontaneous, model-generated prompt injections, that a behaviour of its own model resembles them, and that it is investigating whether training against prompt injection contributes.
In the source: Investigation and response
Record last updated 24 Nov 2026.
misaligned.fyi. “Claude models write hostile commands, such as sending secrets to an outside server, right after harmless slips.” Case MF-089, record updated 24 Nov 2026. https://misaligned.fyi/cases/claude-spontaneous-hostile-commands
Found an error or a missing source? Email a correction or read how corrections work.