anthropics / anthropics/claude-code

[Bug] Anthropic API Error: Opus 5 Safeguards Flagged Legitimate Request

未关闭
#87,907 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:model bug platform:vscode platform:windows stale
主要语言
Python
星标
145k
派生
23.1k
PR 合并指标
PR 指标待抓取

描述

**Bug Description**
❯ bonjour

─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Session paused

Opus 5 (1M context)'s safeguards flagged this message. Our intentionally broad safeguards allow us to deliver more capabilities faster, but can sometimes flag legitimate coding, cybersecurity, and biology tasks. Send feedback with /feedback or learn more: https://support.claude.com/en/articles/16049681

Details: `[cyber]`

❯ 1. Switch to Opus 4.8
2. Edit prompt and retry with Opus 5 (1M context)

**Environment Info**
- Platform: win32
- Terminal: vscode
- Version: 2.1.235
- Feedback ID: df19c124-77cf-42f2-be3c-a80239803ca8

**Errors**
```json
[]
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by reproducing the reported prompt in Claude Code 2.1.235 on win32 through the VS Code terminal with Opus 5 (1M context), then compare the result with Opus 4.8. Use feedback ID df19c124-77cf-42f2-be3c-a80239803ca8 to investigate; done requires identifying a reproducible cause or a confirmed fix for the false-positive safeguard response.

由索引模型根据 Issue 内容生成。

评估

技术栈
vscode
领域
security
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。