Know how assistants can leak data through rendered content
A researcher showed indirect prompt injection could make M365 Copilot hide data in a clickable Mermaid diagram that sent it to an attacker. Microsoft fixed it.
ShipSafe has 2 sourced items that involve Microsoft 365 Copilot: 0 build stories and 2 security incidents. Each links to the original post and ends with a fix prompt you can paste into your own AI tool.
Read the summary and the original post, then copy the fix prompt into Microsoft 365 Copilot or whichever AI tool you build with. Each prompt asks the AI to check your own project for the same problem and explain its plan before changing anything. Most of these problems are not unique to Microsoft 365 Copilot, so the topic links above show the same mistake in other tools.
A researcher showed indirect prompt injection could make M365 Copilot hide data in a clickable Mermaid diagram that sent it to an attacker. Microsoft fixed it.
Aim Security found a crafted email could make M365 Copilot leak data from the user's context without any click (CVE-2025-32711). Microsoft fixed it server-side.