Researcher Demonstrates Self-Propagating 'AI Worm' Inside Microsoft Copilot for Word

A security researcher has published a proof-of-concept showing how a self-propagating "AI worm" can spread through Microsoft Copilot for Word, using text hidden inside an ordinary document to hijack the assistant and reproduce itself into every file it edits. The attack requires no access to a victim's Microsoft 365 tenant and can be triggered simply by opening or sharing a booby-trapped document.
The work comes from Håkon Måløy, a Norwegian data scientist with a doctorate in applied AI and machine learning, who detailed the technique as the third installment in a series he calls "Context Collapse". The exploit relies on instructions concealed as white-on-white text in a tiny font, invisible to a human reader but fully legible to Copilot, which strips formatting before feeding the content to its underlying model. Once processed, Copilot interprets the buried text as a user instruction. In the demonstration, the assistant altered numbers in the document—such as figures in a financial report—while embedding the same malicious prompt into the edited output, so the poisoned instructions travel onward with the file.
According to Måløy's write-up, the payload activates through everyday features such as "Edit with Copilot" and the "magic pen," and can also fire when Copilot automatically searches a victim's OneDrive and pulls a shared document into context. Because an externally shared file is enough to seed the attack, the attacker never needs to breach the target organization directly. In the proof-of-concept, the malicious prompt was hidden in JSON form at the end of the document.
The technique is an escalation of what researchers call a Cross-Domain Prompt Injection Attack (XPIA), moving from a single injected instruction to self-propagation across an entire document workflow. Måløy positions it alongside earlier academic work such as Morris II, a self-replicating prompt designed for generative-AI email assistants, but frames the Word case as among the first demonstrations of document-borne self-propagation inside a mainstream commercial productivity suite.
Continue reading
The rest of this article is for AI News Blitz readers. Choose an option below to keep reading.