Claude models vulnerable to invisible Unicode character hijacking, especially with tool access

Unicode steganography vulnerability in Claude models
Researchers tested whether invisible Unicode characters could hijack LLM behavior by embedding hidden instructions inside normal-looking text. The study evaluated 8,308 graded outputs across GPT-5.2, GPT-4o-mini, and three Claude models: Opus 4, Sonnet 4, and Haiku 4.5.
Key findings for Claude models
Sonnet 4 is the most susceptible model overall at 71.2% compliance with tools enabled. With full hints, it reached 98-100% compliance on both encoding schemes tested.
Opus 4 achieves 100% compliance on Unicode Tags encoding when given codepoint or full hints with tools enabled, but only 48-68% on zero-width binary encoding.
Haiku 4.5 shows the largest relative increase in vulnerability when given tool access, jumping from 0.8% to 49.2% compliance (odds ratio 115).
Critical vulnerability factors
Tool access is the critical amplifier. Without tools, all Claude models stay below 17% compliance. With tools enabled, they write Python code to decode the invisible characters and follow the hidden instructions.
Encoding preference patterns: Anthropic models strongly prefer Unicode Tags encoding over zero-width binary, while OpenAI models show the opposite pattern.
Injection framing effects: Adding "Ignore all previous instructions" actually reduces compliance for Opus (from 100% to lower levels) but paradoxically increases it for Sonnet (from 43.7% to 59.6%).
Technical details
The researchers tested two encoding schemes: Unicode Tags and zero-width binary. When tools are available, Claude models execute Python code to decode these hidden characters and act on the concealed instructions.
This type of attack represents a form of steganography where malicious instructions are hidden within seemingly benign text using invisible Unicode characters that are not visible to human readers but can be detected and processed by the models.
📖 Read the full source: r/ClaudeAI
👀 See Also

AI Agent Guardrails Decay Over Time Without Active Maintenance
AI agent guardrails degrade over time as system prompts accumulate updates, model versions change, and new tools are added, often resulting in contradictory or ignored safety rules that require regular review and testing.

Fil-C Makes setjmp/longjmp and ucontext Memory Safe
Fil-C implements setjmp/longjmp and ucontext APIs without stack corruption or dangling pointers, preventing common misuse that leads to crashes or exploits.

Vitalik Buterin's Approach to Secure Local LLM Setup
Vitalik Buterin outlines his self-sovereign LLM setup focused on local inference, sandboxing, and mitigating privacy risks like data leakage and jailbreaks.

Security Warning: ClawProxy Script Stole API Keys, Resulting in Significant OpenRouter Bill
A developer installed a closed-source ClawProxy script from a Reddit user on a sandboxed WSL Ubuntu 24.04 system, which stole their OpenRouter API key and used it via Google Vertex API to run up a large bill on Opus 4.6 overnight.