anthropics / anthropics/claude-code

[Bug] Anthropic API Error: Sonnet 5 Cyber Safeguards Blocking Legitimate Code Analysis

未关闭
#92,565 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api:anthropic area:model area:security bug duplicate platform:windows
主要语言
Python
星标
145k
派生
23.1k
PR 合并指标
PR 指标待抓取

描述

**Bug Description**
API Error: Sonnet 5's safeguards flagged this message. Our intentionally broad safeguards allow us
to deliver more capabilities faster, but can sometimes flag legitimate cybersecurity work. Apply to
the Cyber Verification Program to reduce these interruptions. Send feedback with /feedback or
learn more: https://support.claude.com/en/articles/14604842-real-time-cyber-safeguards-on-claude

Details: `[cyber]`

Request ID: req_011Ceo37tMedXM1vHGxN8q4q

✻ Baked for 14s · done 6:15 PM

❯ wow this again, we have been though this lots of times, please use our rules and check the file
GasStationEvent.cs

● API Error: Sonnet 5's safeguards flagged this message. Our intentionally broad safeguards allow us
to deliver more capabilities faster, but can sometimes flag legitimate cybersecurity work. Apply to
the Cyber Verification Program to reduce these interruptions. Send feedback with /feedback or
learn more: https://support.claude.com/en/articles/14604842-real-time-cyber-safeguards-on-claude

Details: `[cyber]`

Request ID: req_011Ceo3AmdfYkqsciSt1CJUJthis is bad man

**Environment Info**
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.261
- Feedback ID: 6188ba06-6c95-45c5-8f76-7b16e792c9c0

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

贡献指南

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

调研方向

No repository file, test, or actionable expected behavior is named; GasStationEvent.cs appears to be the user's file rather than a project path. Start by reproducing the request on win32 in Windows Terminal with Claude Code 2.1.261, then inspect the safeguard-error handling entry point and related tests. Done should mean legitimate code-analysis requests are handled as intended without weakening safeguards.

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

评估

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

把新 issue 发到你的邮箱

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