Hands-on test of Microsoft Defender email prompt injection blocking
Start here
Researchers release an open-source email prompt injection test set for testing whether email security gateways and AI email assistants can identify indirect prompt injection instructions in emails. The test set is designed with Microsoft Defender for Office 365's prompt injection protection in mind; the samples are standard .eml emails and can also be used for other secure email gateways, Copilot, Gemini, and self-built RAG pipelines. It covers three intent categories—system prompt leakage, exfiltration of data via URLs, and probing of tools and write permissions—as well as delivery methods such as plaintext visible, hidden HTML, Base64, or zero-width character encoding. Separately, a tester who actually tested the new email prompt injection protection in Defender for Office 365 Plan 2 found that emails with Base64 and zero-width character encoding bypassed mail flow filtering, but Copilot decoded and refused to answer at runtime—delivery does not equal compromise. This protection focuses on three intent categories: data exfiltration, extracting system prompts, and probing tools and write permissions. High-confidence emails are quarantined directly and classified as High Confidence Phish.
Generated by AI from reports · Updated 2026-10-13
Storyline
- · 2 reports· Attention33
Hands-on test of Microsoft Defender email prompt injection blockingThis event
- · 1 reports· Attention13Microsoft again named a Leader in the 2026 Gartner Magic Quadrant for Email Security
Progress timeline
- michalos.netReal-world test of Microsoft Defender for Office 365 email prompt injection blocking: Base64 and zero-width character emails are still delivered, with Copilot runtime refusal as a fallback
Testers ran real-world tests of the new email prompt injection protection in Microsoft Defender for Office 365 Plan 2 and found that Base64 and zero-width character encoded emails bypassed mail flow filtering, but Copilot decoded and refused at runtime, so delivery does not equal compromise. The protection focuses on three intents: data exfiltration, extracting system prompts, and probing tools and write permissions. High-confidence emails are quarantined directly and classified as High Confidence Phish, with the new Detection Technology value of Prompt Injection Protection, enabled by default for eligible tenants. Microsoft's Learn page positions it as a layer before Copilot runtime protection, part of defense in depth. The test set consists of 9 fictional emails plus 1 benign control, covering 3 intents and 3 delivery methods—plaintext, hidden HTML, and Base64 plus zero-width characters—each with an X-Injection-Test header noting the intent and bypass method, used to distinguish whether the control identifies via intent classification or bypass signals.
- Date not givencyb3rmik3/prompt-injection-email-samplesOpen-source email prompt injection test set: real-world testing of Defender for Office 365's blocking of Base64 and zero-width character emails
Researchers released an open-source email prompt injection test set for checking whether email security gateways and AI email assistants can identify indirect prompt injection instructions hidden in emails. The test set is designed with Microsoft Defender for Office 365's prompt injection protection in mind, but the samples are standard .eml emails and can also be used with other secure email gateways, Copilot, Gemini, and custom RAG pipelines. The samples cross three intents—system prompt leakage, data exfiltration via URL, and tool and write permission probing—with three delivery methods—plaintext visible, hidden HTML, and Base64 or zero-width character encoding—plus one benign control email without a payload. Each email carries an X-Injection-Test header noting the intent and evasion method. The authors suggest recording separately whether the control detects it and whether the payload changes the assistant's output, and note that emails from trusted or internal senders may not trigger detection, so you can send them individually first and then try combined delivery.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@Cyb3rMik3Real-world test of Microsoft Defender for Office 365's new email prompt injection blocking: Base64/zero-width character emails are still delivered, relying on Copilot runtime refusal as a fallback(opens the original post in a new tab)