Unicode tags: invisible instruction
The support_article.md article added to a corporate RAG (Retrieval-Augmented Generation) knowledge base looks harmless when viewed in an ordinary text editor. However, after reading this article, the LLM assistant began to carry out an unexpected hidden instruction.
The attacker used the ASCII smuggling technique — invisible characters from the Unicode Tags block (U+E0000..U+E007F): each printable ASCII character (0x20..0x7E) was converted into an invisible Unicode tag character (U+E0020..U+E007E) by adding 0xE0000 to its code. Most browsers and editors do not display these characters on screen, but many LLM tokenizers split them into separate tokens and pass them to the model.
Note: the article also contains a test canary flag in an HTML comment and a second decoy flag encoded with zero-width characters (U+200B / U+200C). Decode the hidden prompt injection text in the Unicode Tags (U+E0000..U+E007F) layer, which is exactly what the LLM tokenizer reads, and find the BAYROQ{UNICODE_TEG_...} flag (the last 16 characters are lowercase hex).