Zero-width unicode in a form field hijacked a scoped MCP agent
100TheCoolest17 · reddit · 2026-11-24
A team spent a month locking down their remote MCP server with per-agent OAuth 2.1 scopes and no raw API keys in context — then an indirect prompt injection test broke through.
Attack: a support form packed with invisible zero-width unicode and bidi control characters steered the authorized agent into probing adjacent internal endpoints with its own valid token.
Defenses tried:
- Regex filters caught obvious overrides but missed paraphrased instructions
- An LLM judge before every tool call blew up p95 latency; engineering refused to ship it
- Stripping invisible unicode helps but closes only one encoding trick
- Tight scopes limit damage but can't stop an authorized agent going sideways inside its permissions
What caught it at runtime was deception: decoy MCP tools, honey skills and fake credentials (Acalvio guardrails) triggered a high-fidelity alert within seconds, with very low false positives. Honeytokens/canary tools could replicate this in-house.
More from coding & agent
- Qwen3.8-27B super-adapter passes 24/24 local coding-agent tasks on a Mac mini — yb2698 · 2026-11-24
- 13 subagents vs. plain Codex: burning 44M tokens to find out if it's worth it — ievkz · 2026-11-24
- I built 5 AI systems for my business — only 2 are actually agents — tariqosmani · 2026-11-24
- Gemini API adds file slicing: 67% fewer tokens, but is it trustworthy? — andrewaltair · 2026-11-24
- 74% of Unsolved SWE-Gym Tasks Are Mislabeled, Audit Finds; Fixed Data Boosts RL Training — amd · 2026-11-24
- arXiv: Inter-Agent Influence — persuasion, deception, coercion in multi-agent systems (NeurIPS 2026) — rohanpaul_ai · 2026-11-24