Research: Invisible Unicode Characters Can Hijack LLM Agents via Tool Access

Research Overview
Researchers tested whether large language models (LLMs) follow instructions hidden in invisible Unicode characters embedded in normal-looking text. The study evaluated two encoding schemes (zero-width binary and Unicode Tags) across five models: GPT-5.2, GPT-4o-mini, Claude Opus 4, Sonnet 4, and Haiku 4.5. They analyzed 8,308 graded outputs to assess vulnerability to this steganographic attack.
Key Findings
- Tool access is the primary amplifier: Without tools, compliance with hidden instructions stayed below 17%. With tools and decoding hints, compliance reached 98-100%. Models write Python scripts to decode the hidden characters when given tool access.
- Encoding vulnerability is provider-specific: OpenAI models decode zero-width binary but not Unicode Tags. Anthropic models prefer Tags. Attackers must tailor encoding to the target model.
- Hint gradient is consistent: Unhinted compliance << codepoint hints < full decoding instructions. The combination of tool access + decoding instructions is the critical enabler.
- Statistical significance: All 10 pairwise model comparisons are statistically significant (Fisher's exact test, Bonferroni-corrected, p < 0.05). Cohen's h effect sizes reached up to 1.37.
Research Details
The researchers note it would be interesting to see how local models compare, as they only tested API models. They invite others to run this evaluation against Llama, Qwen, Mistral, and other local models using their open-source framework.
The evaluation framework, code, and data are available on GitHub, and a full writeup with charts is published on Moltwire. This research highlights a security vulnerability where LLM agents can be manipulated through hidden text that appears normal to human users but contains encoded instructions that models can decode and execute when given appropriate tools.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Caelguard: Open-Source Security Scanner for OpenClaw Instances
Caelguard is an open-source security scanner built for OpenClaw that runs 22 checks across your instance, including Docker isolation, tool permission scoping, and skill supply chain verification. It provides a score out of 140 with a letter grade and specific remediation steps.

Claude Code Security Plugin: Pushing AppSec into the Developer Workflow
Anthropic shipped a security-guidance plugin for Claude Code that identifies and fixes vulnerabilities during coding. Available to all users via the plugin marketplace, not just Enterprise. Discusses whether this becomes a lightweight assistant, serious AppSec layer, or bridge to Claude Security.

OpenClaw Security Hardening: Multi-Layered Protection Against Autonomous Agent Risks
A developer modified OpenClaw's codebase to add a multi-layered security stack including a hard-deny regex guard, recursive de-obfuscator, AppArmor profile, and audit integration to prevent destructive commands and data exfiltration by autonomous agents.
