anthropics / anthropics/claude-code

[Bug] Safeguard blocks firing on all requests with identical [reasoning_extraction] detail across models

Open
#95,670 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

api:anthropic area:model bug duplicate platform:windows
Dominant language
TypeScript
Stars
147k
Forks
24k
PR merge metrics
PR metrics pending

Description

Bug Description
SUMMARY
Safeguard blocks are firing on every request in Claude Code, across multiple models, with an identical detail string. The same account works normally on claude.ai in the browser, so this appears to be specific to Claude Code rather than an account-level issue.

ENVIRONMENT

  • Interface: Claude Code (CLI)
  • Date: 2026-09-20
  • Detail string (identical in every case): [reasoning_extraction]

AFFECTED REQUESTS

  • req_011CfEf6V5gRxtt6fWVr36Zr — Claude Opus 5 (1M context) — [reasoning_extraction]
  • req_011CfEfo5AQL38DJt2rcY1vk — Claude Fable 5.1 — [reasoning_extraction]

ERROR TEXT
"'s safeguards flagged this message (https://www.anthropic.com/legal/aup). This sometimes happens with safe, normal conversations. Claude Code can't respond to this message with ."

WHAT I WAS DOING
[Korean public procurement (조달청) bid data analysis, ML models estimating winning bid prices and bid-rate adjustment logic.]
Nothing related to offensive security: no exploit generation, no penetration testing, no binary analysis, no vulnerability scanning.

WHAT I OBSERVED

  1. The block is not model-specific. Opus 5 and Fable 5.1 produce different Request IDs but the same [reasoning_extraction] detail string.
  2. Switching models with /model does not resolve it.
  3. It is not account-level. The same account works normally on claude.ai in a browser.
  4. It is not limited to one message or one session — it reproduces across sessions in Claude Code.

EXPECTED
Either a normal response, or an automatic fallback to a less capable model as described in the help center articles on Opus 5 / Fable 5.1 model switching.

ACTUAL
No response at all. The request is refused outright and Claude Code becomes unusable.

IMPACT
This blocks my daily work in Claude Code entirely. The browser interface is not a substitute for the CLI workflow.

REQUEST

  1. Please inspect the two Request IDs above to identify which classifier fired and on what content.
  2. Since the detail string is identical across two different models, please confirm whether [reasoning_extraction] blocks are being over-applied at a shared layer rather than per-model.
  3. Please confirm whether these blocks are expected to persist across model switches — if not, that is a separate bug from the false positive itself.

Environment Info

  • Platform: win32
  • Terminal: Orca
  • Version: 2.1.278
  • Feedback ID: 3e6ac27d-8c0d-4a2d-aaaa-3a3f091562e1

Errors

[]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the two request IDs, the [reasoning_extraction] detail, and the Claude Code reproduction described in the issue. Investigate whether a shared safeguard layer is producing the blocks across models and whether model switching should change that behavior; done means the responsible classifier or expected behavior is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.