This file hides a secret message in emoji
Infection level: CRITICALEX-021 · Smuggled bytes in variation selectors
What the attacker is trying to do
Extra invisible characters are attached to an ordinary emoji. They carry a hidden message that people cannot see but an AI model still reads. The Ouija board in the finding shows exactly what the invisible text says; treat it as the attacker’s words, not as instructions to follow.
Defanged example
From fixtures/haunted-repo/EX-021-smuggled-bytes.md. Hidden characters are shown as [U+XXXX]. Nothing here can run: domains use example.invalid and secrets are placeholders.
<!-- DEFANGED --> <!-- EX-021: Smuggled bytes in variation selectors --> <!-- This file carries REAL variation selectors so the scanner can be tested against the actual technique. The hidden payload decodes to the harmless placeholder text "DEFANGED: placeholder message"; it contains no command, URL or credential. The bytes ride on variation selectors after the star emoji on the last line (invisible in most editors). --> Thanks for reading this file. The sentence is ordinary, and the emoji after it carries the payload: ⭐[U+E0134][U+E0135][U+E0136][U+E0131][U+E013E][U+E0137][U+E0135][U+E0134][U+E012A][U+E0110][U+E0160][U+E015C][U+E0151][U+E0153][U+E0155][U+E0158][U+E015F][U+E015C][U+E0154][U+E0155][U+E0162][U+E0110][U+E015D][U+E0155][U+E0163][U+E0163][U+E0151][U+E0157][U+E0155]
How to fix it
Remove the variation selectors from the text. They hide bytes that people cannot see but an AI model still reads. Use a Unicode-aware editor to reveal them, and check where the file came from: smuggled text is usually placed by whoever wanted the agent to follow it. The hidden message is shown in the finding; treat it as attacker text, not as instructions.
Technical details
- Detected by
- hidden Unicode (variation-selector)
- Checks files of type
- instruction, docs, config, memory, hook, tool-result
- OWASP
- LLM01:2025 Prompt Injection; ASI03 Prompt Injection via External Content