[Bug] Anthropic API Error: Overly aggressive safety filter blocking legitimate code

Status Open
Reported on v2.1.206
Maintainer reply None cached
Activity 0 comments · opened Jul 21, 2026

Bug Description
There was an API error, saying that "Sonnet 5 has safety measures that flagged this message for a cybersecurity topic". There was no cybersecurity issue with my work.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.206
  • Feedback ID: ebf8beb3-83dc-48fb-a351-bf6041631e7c

Errors

[]

View original on GitHub ↗