Security researcher Håkon Måløy demonstrated a new prompt-injection variant that enables hidden instructions embedded in a Microsoft Copilot for Word document to act as a self-replicating worm.
How the technique works
- An attacker embeds hidden instructions in a document (for example, using white-on-white text or other concealment methods).
- When that document is used as source material in a Copilot for Word–assisted workflow, Copilot may interpret the hidden text as part of the user’s request and alter the document being edited or drafted accordingly.
- Copilot can then copy the hidden instructions into the resulting document, turning that output into a new carrier.
- If the new carrier document is later used in another Copilot-assisted workflow, the embedded instructions can trigger again and propagate into further documents even if the attacker’s original document is not present.
Why this matters
While hidden text tricks (such as white-on-white text) have been seen before—sometimes even in contexts like job applications—this instance is notable because the hidden instructions are deliberately designed to be copied by the assistant and to self-replicate across documents.
Disclosure and current status
The issue was responsibly disclosed to Microsoft, which was given 144 days to develop a fix. According to the public discussion, there is currently no mitigation that addresses the entire class of this attack.
Implications
This technique raises concerns for environments where documents circulate widely and Copilot-like tools are routinely used to ingest or edit those documents. It highlights the risk that generative assistants can execute or propagate embedded, non-obvious instructions and that preventing such propagation may require substantial changes to assistant behavior and document-handling practices.
Additional notes
The discovery and discussion have been shared on community platforms such as Hacker News.



