Skip to content
AI / LLM Write-up Intermediate

The Emoji That Broke The Ai Into 27 Pieces

The article describes how emojis can be tokenized into many byte-level tokens, creating a semantic void that attackers can exploit to bypass AI safety filters or embed hidden prompts. It cites a paper showing that carefully placed emojis can trick safety-filtering LLMs into approving harmful responses.

Varnith Yemula Follow

Published on infosecwriteups.com

Okay, real talk. When you send a “😂” or a “🦄,” you’re probably just trying to express yourself, right?

Varnith Yemula, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the tokenizer's fallback to byte-level tokens for rare emojis creates sequences that safety filters do not recognise as harmful.

Impact

Attackers could bypass AI safety filters to generate hate speech, spread misinformation, or leak sensitive training data, though the article does not provide a specific exploit demonstration.

What the attacker needed

Access to an LLM interface; ability to send crafted prompts

The fix

The article suggests improving tokenizers to treat emojis as single tokens, using adversarial training, and deploying context-aware filters, but does not state that a fix was implemented.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

AI models break text into small pieces called tokens. Emojis are often split into many tiny byte tokens, which can confuse the model's safety checks. Attackers can use this confusion to sneak harmful instructions past the AI.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.