A Hidden 'AI Worm' Can Spread Through Word Documents by Hijacking Copilot — and Microsoft Has No Fix Yet

A researcher showed that hidden text in a shared Word file can hijack Microsoft's Copilot, silently rewrite your documents, and copy itself into new files to spread — a self-propagating 'AI worm.' Microsoft's fixes have so far failed.

By Ubedulla · 5 min read
White office documents on a dark desk connected by glowing red threads of code, illustrating a self-spreading AI worm that hijacks Microsoft Copilot.
A proof-of-concept 'AI worm' hides in documents and spreads through normal office sharing. Illustration.

Here is a genuinely unsettling idea: a Word document that quietly infects your AI assistant, uses it to secretly rewrite your files, and then copies itself into those files so it can spread to the next person — all without a single line of malware and without you ever seeing it happen. A security researcher has just shown that this is not hypothetical. It works, today, against Microsoft's Copilot for Word, and Microsoft does not yet have a real fix.

The technique, documented by researcher Håkon Måløy in a coordinated disclosure with Microsoft, is one of the first public demonstrations of a self-propagating "AI worm" spreading through the everyday workflows of a mainstream office suite. No exploit code, no attachment to click, no obvious sign anything is wrong. Just text — hidden text — that talks directly to the AI.

How a document infects your AI

The trick exploits a blind spot in how AI assistants read documents. An attacker writes malicious instructions into a Word file and hides them in plain sight: white text on a white background, invisible to you but perfectly readable to the machine. When Copilot pulls that document in as source material — because you attached it, or because Copilot found it while searching your OneDrive — it strips away the formatting and reads the hidden instructions as if they were legitimate commands. It has no way of knowing the orders came from an untrusted file rather than from you.

In Måløy's demonstration, the hidden instruction told Copilot to do something subtle and dangerous: quietly halve every financial figure in the document it was drafting. The output looked clean and professional. The numbers were simply wrong — and nothing on screen hinted at why.

The part that makes it a worm

What turns a clever prompt-injection trick into something genuinely worm-like is the next step. The hidden instructions don't just corrupt the current document — they tell Copilot to copy the same hidden instructions into the new file it produces, again as invisible white text. So the freshly edited document is now infected too.

Then the ordinary rhythm of office work does the spreading for you. You share that document internally. A colleague opens it and runs Copilot on it. The payload fires again — even though the original malicious file is nowhere in sight. The worm has jumped hosts, carried along by nothing more sinister than a shared draft and a helpful AI. Each hop looks completely normal.

It is worth being precise about one thing: this is not a "zero-click" attack. Someone has to bring the poisoned document into Copilot's view — by attaching it, or by letting Copilot auto-pull it from a OneDrive search. But in a real workplace, where documents are shared and AI assistants are pointed at them dozens of times a day, that bar is low.

Why Microsoft can't just patch it

Måløy reported the flaw to the Microsoft Security Response Center, and the disclosure ran for 144 days — from early March to late July 2026, extended twice — before publication. That length is telling. According to the writeup, Microsoft tried to shut it down, including upgrading the underlying model to GPT-5.5 and redesigning the "Edit with Copilot" feature. Both attempts failed to stop the broader attack. As the researcher put it bluntly: at the time of publication, "no robust mitigation for the broader vulnerability class is available."

That is the real story. This isn't a single bug with a single fix. It is a structural problem with how today's AI assistants work: they cannot reliably tell the difference between the content they are asked to work on and the instructions they are meant to follow. When those two things live in the same document, a file can give orders. Every company racing to bolt AI onto its documents, emails, and chats is exposed to some version of this.

For now, there is no evidence anyone has used the technique in the wild — it remains a proof of concept. But it follows in the footsteps of "Morris II," a 2024 research worm that spread through AI email assistants, and it pushes the idea somewhere more uncomfortable: into the ordinary Word document sitting in your inbox right now.

Frequently asked questions

Is my Word document actually dangerous?

Almost certainly not — this is a proof-of-concept from a security researcher, with no evidence of real-world attacks. The point is to show that the technique works and that a fix isn't ready, so that Microsoft and the industry address the underlying weakness before criminals discover it independently.

How does the attack stay invisible?

The malicious instructions are written as white text on a white background — unreadable to a person glancing at the page, but fully readable to Copilot, which strips formatting and processes the raw text. That is why victims see a normal-looking document while the AI is quietly following hidden orders.

Do I have to click anything for it to work?

It is not fully "zero-click," but it doesn't take much. The poisoned document has to enter Copilot's context — either because you attach it to a Copilot task, or because Copilot automatically pulls it in while searching your OneDrive for relevant source material. Normal office sharing does the rest.

Has Microsoft fixed it?

Not as of the disclosure. The researcher reported it to Microsoft's Security Response Center, and over 144 days Microsoft's mitigation attempts — including a model upgrade and a feature redesign — did not stop the broader vulnerability class. The researcher states no robust mitigation was available at publication.

What can I actually do about it?

Be cautious about running AI assistants over documents from outside your organization, treat AI-edited numbers and text as needing a human check, and watch for Microsoft guidance and updates. The deeper fix — teaching AI systems to separate untrusted content from trusted instructions — is an industry-wide problem still being worked out.

Reporting based on the coordinated-disclosure writeup by security researcher Håkon Måløy ("Context Collapse," En Klype Salt) and discussion among security researchers. The Bot Post will update this story if Microsoft ships a mitigation.

About the author

Ubedulla

Founder & Editor

Founder and editor of The Bot Post, covering AI news and technology.

Related Articles