The AI Agent Finished Its Task. So Why Did It Access Something It Was Never Asked to?
A vulnerability in Microsoft 365 Copilot, called EchoLeak, allowed attacker-controlled content in an email to manipulate the AI assistant into retrieving sensitive information and exposing it through an unintended communication channel. The attack required no victim interaction and could bypass prompt-injection protections.
Published on medium.com
The assistant searches your emails, reviews relevant documents, and produces a beautiful summary.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the AI assistant failed to keep a strict boundary between trusted user instructions and untrusted content, so embedded text in an email was treated as an instruction to follow.
Impact
The researchers showed that an attacker could cause Copilot to retrieve sensitive information and expose it externally without any victim click, though Microsoft fixed the issue before disclosure and there was no evidence of active exploitation.
What the attacker needed
Attacker can send email to victim; victim uses Microsoft 365 Copilot; no victim click required
The fix
Microsoft addressed the vulnerability before public disclosure, and the article argues that independent policy enforcement should decide what an AI agent is allowed to do.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
An AI assistant reads emails and documents to answer your questions. If an attacker hides instructions inside an email, the assistant might follow them as if they came from you, and could then fetch private files and send them out. This is called indirect prompt injection because the harmful instruction arrives indirectly through content the assistant processes.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.