Blog

EchoLeak: Prompt Injection Attack on Copilot 365

2026-04-08

The EchoLeak attack demonstrates how malicious actors can bypass Copilot 365's filtering mechanisms to inject harmful instructions via email, leading to data exfiltration. This highlights the inherent challenges of relying solely on filtering for AI agent security.

EchoLeak: Prompt Injection Attack on Copilot 365

A significant challenge in deploying AI agents to manage tasks on your computer is their exposure to a vast amount of potentially malicious information. Consequently, such agents require robust filtering mechanisms to ensure security. The EchoLeak attack, demonstrated by researchers, illustrates how these filtering mechanisms in Copilot 365 (the version integrated with Microsoft Office) can be bypassed to inject malicious instructions into Copilot via email.

How the EchoLeak Attack Works:

  • Malicious Email Transmission: An attacker sends an email containing malicious instructions, often hidden or obfuscated, making them invisible to the human eye but parsable by an AI.
  • Copilot Engagement: Copilot 365 is then tasked with reviewing or summarizing emails from the inbox.
  • Instruction Execution and Data Exfiltration: Copilot, following the injected malicious instructions, proceeds to extract sensitive information, such as passwords, and sends it to the attacker.

The Inherent Flaw in Filter-Based Security

This attack serves as a stark reminder of the fundamental problem with security models based primarily on filtering. Filtering mechanisms, by their very nature, can be circumvented. Given sufficient incentive and effort, an attacker will almost certainly find a bypass.

We spent decades combating SQL Injection attacks and a similar amount of time overcoming JavaScript Injection (XSS) vulnerabilities. The critical question now is: How long will it take us to effectively defeat Prompt Injection attacks in the era of advanced AI agents?