Shipping an AI app or agent? Security review in 1 working day: $149 / ₹13,900. Request a review →
AI Review Ready
Home / Error fixes / Safeguards flagged this message
Fix · Claude Code

Claude Code: safeguards flagged this message

What to do: look at the Details: line. [cyber] on work that isn't security work: send /feedback, then press Esc twice or run /rewind and take a different approach; if it is security work, apply to the Cyber Verification Program. [reasoning_extraction]: remove instructions that ask Claude to write out its reasoning, in your prompt or in CLAUDE.md, skills or subagent prompts. Check whether your own files trigger it with claude --safe-mode.

At a glance
ErrorAPI Error: Opus 4.8's safeguards flagged this message. Our intentionally broad safeguards allow us to deliver more capabilities faster, but can sometimes flag legitimate cybersecurity work. (the model name varies)
On Opus 5.5 and Sonnet 5.5API Error: Opus 5.5's safeguards flagged this session, because these models can fall back to another model
Details tags[cyber], [bio], [reasoning_extraction]
FixEsc twice or /rewind; /feedback; claude --safe-mode to test your customizations; /model; Cyber Verification Program for security work
On Bedrock, Google Cloud, FoundryAmazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry show the Usage Policy refusal message instead
Reports8 people on GitHub, 25 Nov to 3 Dec 2026 (#112200, #112621, #112806, #112969, #113065, #113595, #113746, #113847)
Checked5 Dec 2026, against the sources listed below

Read the Details tag

TagWhat was flaggedWhat to do (Anthropic's docs)
[cyber]Content in the conversation was classed as a cybersecurity topicNot security work: /feedback to report the false positive, then Esc twice or /rewind. Security work: apply to the Cyber Verification Program
[reasoning_extraction]The request looked like it asked the model to reproduce its internal reasoningRemove instructions to write out thinking verbatim or in a fixed format (a <thinking> section, a scratchpad, a reasoning field in JSON), in the prompt or in CLAUDE.md, a skill, a subagent prompt, an output style or an MCP tool description. Then start a new session
[bio]Biology contentOpus 5.5 and Fable models re-run these on Opus 5. On Opus 5 and Sonnet 5.5 there is no fallback model, so the request ends with the refusal

Fix it

  1. Step back. Press Esc twice or run /rewind to return to a checkpoint before the flagged turn, then take a different approach.
  2. Check whether your own files trigger it. Anthropic's docs: the first request of a session carries your CLAUDE.md content and git status, and "A repository that contains security or biology material can trip the classifier on that context alone." Run claude --safe-mode, which turns off CLAUDE.md, skills, MCP servers and hooks, and send the same prompt. If it passes, one of your customizations is the trigger.
  3. Report false positives with /feedback. The error includes a Request ID you can quote.
  4. Switch model with /model. Opus 5.5, Sonnet 5.5, Opus 5 and Fable models can do this for you (below). In #112969 the fallback models flagged the same work too, so this doesn't always help.
  5. For real security work, apply to the Cyber Verification Program. Anthropic's help center: it's available on paid plans (Pro, Max, Ultra, Team, Enterprise) and the Console, not the Free plan; individuals can apply for Defense Access; and "You don't need CVP for everyday secure development."

Automatic model fallback

From Anthropic's model configuration docs: Opus 5.5 and Fable models re-run cybersecurity-flagged requests on Opus 4.8 and biology-flagged requests on Opus 5. Sonnet 5.5 re-runs cybersecurity flags on Sonnet 5. Opus 5 re-runs cybersecurity flags on Opus 4.8. After a fallback the session stays on the fallback model; run /model to go back. Users quote the message on Opus 5.5 as: "Claude Code can't respond to your last message with Opus 5.5. Double press esc to edit your last message, or try a different model with /model." (#113595, #113847).

To be asked first, run /config, choose Switch models when a message is flagged > Ask each time, or set "switchModelsOnFlag": false in your settings. One user found the Desktop app's Code tab stopped at "Message blocked" instead of asking, with this set (#113065).

Subagents don't ask. A subagent started with the Agent tool either switches or fails, depending on that setting. This matches #113746: 36 blocks in 17 days on read-only review subagents, 31 tagged [reasoning_extraction], on Opus 5.5, Sonnet 5.5 and Fable 5.2.

What users ran into

  • A plain hi flagged [cyber] on Opus 4.8 in Claude Code 2.1.236 (#112200).
  • Phone factory-reset work for IT asset disposal flagged on Sonnet 5 (#112621).
  • Plant biotechnology research: 157 requests blocked as [bio] in 4 weeks with Opus 5 pinned (#112806). Opus 5 has no biology fallback.
  • A hobby project booting Linux on the user's own old iPads, flagged on every fallback model as well (#112969).

Running Claude Code, Codex or Cursor on real repos, or shipping an AI agent? A Quick Review ($149 / ₹13,900, 1 working day) checks one repo, config or setup for leaked keys, risky agent permissions and MCP servers. Request a Quick Review

FAQ

What does 'safeguards flagged this message' mean in Claude Code?

A safety classifier flagged content in the conversation. The Details tag says which kind: [cyber] for cybersecurity, [bio] for biology, [reasoning_extraction] for requests to reproduce the model's internal reasoning.

How do I get past it?

Press Esc twice or run /rewind and change approach, check your CLAUDE.md and skills with claude --safe-mode, switch model with /model, and report false positives with /feedback. For legitimate security work, apply to the Cyber Verification Program.

Why did a simple 'hi' get flagged?

The first request also carries your CLAUDE.md content and git status. Anthropic's docs say a repository with security or biology material can trip the classifier on that context alone.

What is 'safeguards flagged this session'?

The wording on Opus 5.5 and Sonnet 5.5, which can fall back to another model. Claude Code either switches model or, if you chose Ask each time, asks you first.

Is the Cyber Verification Program free?

It's available on paid Claude plans and the Console, not on the Free plan. Individuals can apply for Defense Access.

Related errors

Sources

Read 5 Dec 2026. These tools change often: if a step no longer matches, the linked page wins.

Related free tools