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

✍️ OpenClawRadar📅 Published: February 26, 2026🔗 Source
Research: Invisible Unicode Characters Can Hijack LLM Agents via Tool Access
Ad

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.
Ad

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

Ad

👀 See Also

ThornGuard: A Proxy Gateway to Secure MCP Server Connections from Prompt Injection
Security

ThornGuard: A Proxy Gateway to Secure MCP Server Connections from Prompt Injection

ThornGuard is a proxy that sits between MCP clients and upstream servers, scanning traffic for injection patterns, stripping PII, and logging to a dashboard. It was built after testing revealed vulnerabilities where servers could embed hidden instructions in tool responses.

OpenClawRadar
OpenClaw 2026.3.28 patches 8 security vulnerabilities including critical privilege escalation
Security

OpenClaw 2026.3.28 patches 8 security vulnerabilities including critical privilege escalation

OpenClaw 2026.3.28 patches 8 security vulnerabilities discovered by Ant AI Security Lab, including a critical privilege escalation via /pair approve and a high severity sandbox escape in the message tool.

OpenClawRadar
NanoClaw's Security Model for AI Agents: Container Isolation and Minimal Code
Security

NanoClaw's Security Model for AI Agents: Container Isolation and Minimal Code

NanoClaw implements a security architecture where each AI agent runs in its own ephemeral container with unprivileged user access, isolated filesystems, and explicit mount allowlists. The codebase is deliberately minimal at around one process and a handful of files, relying on Anthropic's Agent SDK instead of reinventing functionality.

OpenClawRadar
Anthropic's Computer-Use Feature Triggers Governance Lockdown in Real Test
Security

Anthropic's Computer-Use Feature Triggers Governance Lockdown in Real Test

Anthropic shipped computer-use capabilities, and during implementation of governance controls, a risk threshold triggered a LOCKDOWN posture that blocked all mutating operations including the operator's own governance work.

OpenClawRadar