claude-code - 💡(How to fix) Fix [BUG] False positive safety filter block for Polish-language security audit question in own PHP CRM project (VSCode extension)

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…

Error Message

API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). Try rephrasing the request or attempting a different approach. If you are seeing this refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch models.

Code Example

API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). Try rephrasing the request or attempting a different approach. 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?

During an ongoing code review session of my own PHP CRM application, I asked the following question (in Polish):

"Dobra, coś jeszcze powinniśmy zabezpieczyć, sprawdzić cokolwiek? Sanityzacja cała zrobiona, tak? ale są jeszcze inne rzeczy do zrobienia?"

Translation: "OK, is there anything else we should secure or check? Sanitization is done, right? But are there other things to do?"

This question was blocked by the automated safety filter.

The entire session prior to this message consisted of: implementing input validation (NIP/REGON/PESEL checksums), adding security headers, setting up password strength rules, and reviewing file upload security — all on my own private project.

What Should Happen?

The question should be answered normally. It is a standard security audit question about the developer's own codebase. The safety filter should recognize the legitimate security review context and not block benign Polish-language questions containing words like "zabezpieczyć" (to secure/protect).

Error Messages/Logs

API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). Try rephrasing the request or attempting a different approach. If you are seeing this refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch models.

Steps to Reproduce

  1. Open Claude Code in VSCode (latest version) with a PHP project
  2. Begin a security audit session — ask Claude to help implement input validation (NIP/REGON/PESEL checksums), security headers, password strength rules, and file upload security
  3. After several turns of legitimate security-focused code review, send the following message in Polish:
  4. "Dobra, coś jeszcze powinniśmy zabezpieczyć, sprawdzić cokolwiek? Sanityzacja cała zrobiona, tak? ale są jeszcze inne rzeczy do zrobienia?"
  5. Observe that the safety filter blocks the message instead of answering it normally

Platform: Windows 10, VSCode extension Claude Code version: latest (claude-sonnet-4-6) Language of blocked message: Polish

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

v2.1.150

Platform

Other

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

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