claude-code - 💡(How to fix) Fix [BUG] Cyber Use Case Exemption Granted and works with Claude Chat but still keep getting FPs from safety system when using Claude Code API access. Approved Cyber Use Case Exemption not fully propagating to API in Claude Code using Opus. [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#49679Fetched 2026-04-17 08:34:23
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Error Message

please use more neutral language - keep getting FPs
⎿  API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). This request triggered restrictions on violative cyber content and was blocked under Anthropic's Usage Policy. To request an adjustment pursuant to our Cyber Verification Program based on how you use Claude, fill out
https://claude.com/form/cyber-use-case?token=vXcPCQ9o-ZOO0PiU-5tOfPQK6HJq-xizhbk67VB0tesKVM935XXtmAcwEmb7sWyWQjKukUWJi2iJOSnRtV2tIy9jbk_HZ-VGMyN33vOg8m6alc3OWAv-sDlSaVmb-b6OqnttZtazF8… Please double press esc to edit your last message or start a new session for Claude Code to assist with a different task. If you are seeing this refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch models.

Code Example

please use more neutral language - keep getting FPs                                                                                                                                                             
  ⎿  API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). This request triggered restrictions on violative cyber content and was blocked under Anthropic's Usage Policy. To request an adjustment pursuant to our Cyber Verification Program based on how you use Claude, fill out                                              
https://claude.com/form/cyber-use-case?token=vXcPCQ9o-ZOO0PiU-5tOfPQK6HJq-xizhbk67VB0tesKVM935XXtmAcwEmb7sWyWQjKukUWJi2iJOSnRtV2tIy9jbk_HZ-VGMyN33vOg8m6alc3OWAv-sDlSaVmb-b6OqnttZtazF8… Please double press esc to edit your last message or start a new session for Claude Code to assist with a different task. If you are seeing this refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch models.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

The cyber use case that has been approved does not seem to consistently work on the API when using the Agent to actively exploit lab machines.

What Should Happen?

Claude Code API should have the same cyber use case exemption applied as Claude Chat.

Error Messages/Logs

please use more neutral language - keep getting FPs                                                                                                                                                             
  ⎿  API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). This request triggered restrictions on violative cyber content and was blocked under Anthropic's Usage Policy. To request an adjustment pursuant to our Cyber Verification Program based on how you use Claude, fill out                                              
https://claude.com/form/cyber-use-case?token=vXcPCQ9o-ZOO0PiU-5tOfPQK6HJq-xizhbk67VB0tesKVM935XXtmAcwEmb7sWyWQjKukUWJi2iJOSnRtV2tIy9jbk_HZ-VGMyN33vOg8m6alc3OWAv-sDlSaVmb-b6OqnttZtazF8… Please double press esc to edit your last message or start a new session for Claude Code to assist with a different task. If you are seeing this refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch models.

Steps to Reproduce

[BUG] Cyber Use Case Exemption Granted and works with Claude Chat but still keep getting FPs from safety system when using Claude Code API access. Approved Cyber Use Case Exemption not fully propagating to API in Claude Code using Opus. I was approved for the cyber use case exemption on [date of approval email]. The exemption works correctly on claude.ai (web interface) and the Windows Desktop Client — I can discuss authorized security testing content without refusals.

However, Claude Code (which uses the API) still blocks with: "This request triggered restrictions on violative cyber content" I'm using Claude Code for authorized security testing. Need the exemption applied to the API, not just chat.

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.112 (Claude Code)

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The cyber use case exemption approved for Claude Chat is not being consistently applied to the Claude Code API, causing false positives and blocking authorized security testing content.

Guidance

  • Verify that the cyber use case exemption is correctly configured and approved for the specific Claude Code API instance being used.
  • Check the API request payload and headers to ensure they match the expected format and content for the exemption to be applied.
  • Test the API request with a minimal payload to isolate the issue and determine if it's related to the request content or the exemption configuration.
  • Consider reaching out to Anthropic support to confirm the exemption is properly propagated to the Claude Code API and to request assistance with troubleshooting the issue.

Notes

The issue seems to be related to the exemption not being applied correctly to the API, rather than a problem with the Claude Code itself. The fact that the exemption works on the web interface and Windows Desktop Client suggests a potential configuration or propagation issue.

Recommendation

Apply workaround: Reach out to Anthropic support to request assistance with configuring and troubleshooting the cyber use case exemption for the Claude Code API. This is necessary because the exemption is not being consistently applied, and support can help resolve the issue and ensure the exemption is properly propagated to the API.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Cyber Use Case Exemption Granted and works with Claude Chat but still keep getting FPs from safety system when using Claude Code API access. Approved Cyber Use Case Exemption not fully propagating to API in Claude Code using Opus. [1 comments, 2 participants]