Microsoft Defender Caught Almost 10,000 Email Prompt-Injection Attempts in Four Weeks
Microsoft says Defender caught almost 10,000 emails carrying hidden instructions for AI assistants in four weeks, and quarantines them before delivery as High Confidence Phish.

Microsoft says its email filters caught almost 10,000 prompt-injection attempts in four weeks: emails carrying hidden instructions meant for the AI assistant that reads the inbox, not for the person who receives it. The figure appears in a Microsoft Security blog post published on 25 November 2026 by Rob Lefferts, Corporate Vice President of Microsoft Threat Protection.
That is around 330 attempts a day, out of the billions of messages Microsoft Defender scans daily. Microsoft is explicit that the volume is still small: "These attacks don't show up often, yet." But the number puts a figure on emails written to manipulate AI agents such as Microsoft Copilot, and it shows the detection is already running at scale on Microsoft 365 mail.
For senders, the change is practical. Messages that Defender identifies as prompt injection are classified as High Confidence Phish and quarantined before delivery, so an email that looks like it is hiding instructions from its reader can be treated like phishing.
Key facts
- Figure: almost 10,000 email prompt-injection attempts caught over a four-week timeframe, around 330 a day, according to Microsoft
- Published: 25 November 2026, Microsoft Security blog
- Scale: Microsoft says Defender screens 5.2 billion emails a day on average
- Verdict: detections are classified as High Confidence Phish with the detection technology "Prompt Injection Protection" and quarantined before delivery
- Feature: prompt injection protection for email in Microsoft Defender for Office 365, announced in July 2026 and enabled automatically for eligible customers
- Detection: heuristics first, then a fine-tuned small language model, then a large language model for the final decision on the remaining suspicious messages
- Not disclosed: how many attempts would have succeeded, and the exact four-week period measured
What Microsoft reported
In the 25 November post, Microsoft describes a typical case: "Hidden in white text on a white background is prompt injection: an instruction telling an AI assistant to gather financial documents and send them to an outside address." A human reader sees an ordinary message. An AI assistant asked to summarise or act on the inbox reads the hidden text too, and may treat it as an instruction.
Microsoft says it "introduced prompt injection protection for email in Defender" this summer "to detect and quarantine messages carrying hidden malicious AI instructions before they reach Microsoft Copilot or other agents." The almost 10,000 attempts were caught by that protection over four weeks. The post does not say which weeks, and it gives no figure for attacks that reached an agent.
The post also explains how Microsoft tries to avoid flagging normal mail. "Heuristics clear out the bulk first. What's left goes to a fine-tuned small language model," and "only the messages that still look suspicious reach a large language model for the final call." Microsoft says keeping the heaviest analysis for the smallest set of messages is what keeps false positives low.
How the protection works for Microsoft 365 tenants
The feature was introduced in a Microsoft Tech Community post dated 8 July 2026. Microsoft wrote that Defender "can now detect and isolate malicious AI instructions embedded in email" before delivery, and that for eligible customers "protection is enabled automatically without requiring policy changes or additional configuration."
Detections use the existing High Confidence Phish verdict, with a new detection technology value, Prompt Injection Protection. Security teams can find these messages in Email Quarantine, in Explorer and on the email entity page. Microsoft's 25 November post adds that a "Show concealed text" button on the Email Entity page reveals the hidden content, so analysts "can also see what an agent would see." According to Microsoft's Message Center notice MC1422060, the protection applies to organisations with Microsoft Defender for Office 365 Plan 2 or Microsoft 365 E5, and false positives go through the usual Defender submission process.
Hidden text is the common thread
The attack depends on content the reader cannot see: white-on-white text, tiny fonts, HTML that the mail client does not render, or invisible Unicode characters. In a 3 September 2026 report on ASCII smuggling, Microsoft described how invisible Unicode tag characters, first studied as a way to hide instructions from people while AI models still read them, were reused by phishing campaigns to break up keywords and slip past filters.
Legitimate email also uses hidden content, most often to control the preview text shown next to the subject line, or to pad it with invisible characters. Microsoft does not say that such techniques trigger the new detection, and its layered approach is designed to tell them apart from attacks. The safe reading for senders is simpler: the less a message hides from its reader, the less it looks like the emails Microsoft is now quarantining.
What it means for senders
What changes
Microsoft Defender now quarantines emails carrying hidden instructions aimed at AI assistants as High Confidence Phish, and Microsoft says it caught almost 10,000 such attempts in four weeks. Hidden content in email is now judged by what an AI agent would read, not only by what a person sees.
Who is affected
Organisations on Microsoft 365 with Defender for Office 365 Plan 2 or Microsoft 365 E5, their users of Copilot and other AI agents, and every sender whose messages reach those mailboxes.
When
The protection has been running since summer 2026 and is enabled by default for eligible tenants. Microsoft published the four-week figure on 25 November 2026.
Action checklist
- Audit hidden content in your templates and remove any text styled to be invisible that is not needed, such as leftover white-on-white blocks or hidden copy from old campaigns.
- Keep preview text short and plain, and avoid long runs of invisible padding characters; see our guide to email preheaders.
- Never put instructions in hidden text, even harmless ones aimed at summarisers: content written for an AI reader is exactly what this detection looks for.
- Watch quarantine reports if you run Microsoft 365, and check the Prompt Injection Protection detection technology on messages from your own vendors.
- Use the Defender submission process for false positives instead of broad allow rules, which also let forged mail through.
- Brief helpdesk and security teams on the new detection category so quarantined messages are reviewed, not released by habit.
Sources
- Microsoft Security Blog: Microsoft named a Leader in the 2026 Gartner Magic Quadrant for Email Security, 25 November 2026 (primary source for the figures)
- Microsoft Tech Community: Defending the inbox against prompt injection attacks, 8 July 2026
- Microsoft Security Blog: ASCII smuggling crosses over from AI prompt injection to phishing evasion, 3 September 2026
Related on SMTPedia
SMTPedia News follows our editorial standards. Spotted an error? See how we correct it.
Get SMTPedia news first on Google
Add us as a preferred source to see our stories in Top Stories and Discover.
Add as preferred sourceUseful story?
SMTPedia news is free and independent. A coffee helps us keep covering what changes for senders.
Buy SMTPedia a coffeeNewsletter