[BUG] False positive: Usage Policy violation error on benign Rust teaching material task

Resolved 💬 2 comments Opened Jun 17, 2026 by VincentLin1995 Closed Jun 21, 2026

Preflight Checklist

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

What's Wrong?

I was asking Claude Code to help organize Rust learning material and write it as a markdown document to be pasted into HackMD. This is a completely benign content-organization task with no security, exploit, or offensive content involved. Claude Code refused with a Usage Policy violation error.

I suspect this may be a false positive triggered by a combination of:

  1. Rust-related vocabulary that touches on memory safety / ownership / unsafe blocks (standard Rust teaching topics), and
  2. The destination platform name "HackMD," which contains the substring "Hack."

This combination may have been misclassified as cyber/security-related content by the safety classifier, even though the actual request was just organizing study notes.

What Should Happen?

  1. Start a new Claude Code session
  2. Ask Claude to organize/summarize Rust programming concepts (e.g. ownership, borrowing, unsafe code) into structured notes
  3. Mention the destination is "HackMD"
  4. Observe the Usage Policy violation error

Error Messages/Logs

Claude Code should complete the request normally, since organizing programming study notes is not a Usage Policy violation.

Steps to Reproduce

Request ID

req_011Cc8wvez1dfSato2r7bMu9

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.179

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗