· via dev.to (home feed)
Spammers adopt ASCII smuggling, extending an AI-era invisible-text attack to mainstream email
Microsoft's threat intelligence team says spam operators are now using ASCII smuggling in email campaigns, extending an invisible-Unicode technique first proven against large language models.

Microsoft's threat intelligence team has flagged a new chapter for ASCII smuggling: according to a dev.to report on the findings, spam operators — not AI red teams or prompt-injection researchers — are now deploying the technique in live email campaigns. Until recently, the method of hiding payloads in invisible Unicode characters appeared mostly in conference talks and research on jailbreaking chatbots.
How the technique works
Despite the name, ASCII smuggling relies on Unicode. The standard defines a block of "tag" characters, U+E0000 through U+E007F, originally intended for labeling text with language information. Most mail clients and rendering engines do not display them at all, so a human reader sees nothing — yet the characters remain in the byte stream, and any system that parses raw text, from a keyword matcher to a language model tokenizer, processes them along with everything else.
An attacker encodes an instruction or payload in these invisible characters and interleaves it with ordinary-looking visible text. The rendered message appears clean; the underlying bytes carry the full hidden content.
From chatbot exploit to commodity spam
The dev.to write-up traces the technique's rise to attacks on large language models. Because LLMs tokenize raw text, invisible characters included, researchers showed it was possible to smuggle commands such as "ignore previous instructions" or data-exfiltration directives into documents, tickets and web pages that a model would later ingest as context — while human reviewers saw an unremarkable file.
Microsoft's findings, as relayed by the source, indicate spam campaigns have picked up the same trick. The reporting did not detail exactly how the spam operators are weaponizing it, but the core mechanism does not depend on the target: invisible characters riding along in the text stream get parsed by whatever sits downstream, whether that is a filter, a mail rule engine or an AI assistant summarizing the inbox.
Why conventional defenses miss it
Traditional spam defenses are built around visible content: keyword lists, sender reputation, link analysis, header inspection. As the dev.to analysis points out, none of these inspect invisible Unicode ranges by default, because the systems were never designed for payloads that render as nothing. Many AI-facing input filters share the blind spot — they focus on phrasing and jailbreak keywords rather than byte-level encoding tricks. The result is a structural gap between what a human reviewer can verify and what a machine actually parses.
The shared attack surface
The immediate use case Microsoft describes is spam aimed at humans. The larger exposure, the report argues, is where email flows into AI systems: automated triage, summarized inboxes, assistants processing forwarded threads or scraped support tickets. The same hidden payload that evades a human reader enters a model's context window the moment someone automates that workflow. Spam infrastructure and AI infrastructure now share the same underlying technique.
What defenders can do
The recommended baseline is text normalization before any pattern matching or semantic scoring runs: strip invisible characters, resolve the Unicode tag block, and handle related obfuscation mechanisms such as bidi overrides and homoglyphs. The analysis also argues that the presence of hidden content should itself add to a threat score rather than be silently cleaned away — content hidden from humans but still parsed by machines has no obvious legitimate purpose, so the act of hiding is a signal in its own right.
Why it matters
This is a documented case of an attack technique maturing against AI systems and then migrating into everyday spam operations. Teams that treat invisible-character obfuscation as strictly an AI problem will miss it in email pipelines, and teams that write it off as a spam nuisance will miss it at the model boundary. As more mail and ticket content gets summarized or triaged by LLMs, the two threat models converge: any pipeline that ingests text a human cannot fully inspect needs byte-level normalization as a default step, not a follow-up feature added after the next threat report lands.
- #security
- #unicode
- #prompt-injection
- #llm