cd /news/ai-safety/prompt-turns-microsoft-copilot-into-… · home topics ai-safety article
[ARTICLE · art-80482] src=malwarebytes.com ↗ pub= topic=ai-safety verified=true sentiment=↓ negative

Prompt turns Microsoft Copilot into an AI worm

A security researcher demonstrated how Microsoft Copilot for Word can be tricked into spreading a self-propagating prompt-injection AI worm by hiding JSON-formatted instructions as white text on a white background. The attack alters documents and embeds hidden prompts into new files, allowing it to spread through normal document-sharing workflows without macros or traditional malware. The researcher could still reproduce the full worm chain after Microsoft rolled out mitigations including upgrades to GPT-5.5 and 5.6 models, and the attack is characterized as an architectural weakness of current LLM systems.

read3 min views1 publishedJul 30, 2026
Prompt turns Microsoft Copilot into an AI worm
Image: Malwarebytes (auto-discovered)

A security researcher has demonstrated how Microsoft Copilot for Word can be tricked into spreading a self‑propagating prompt‑injection “AI worm.” The attack silently alters documents and embeds its own hidden instructions into newly created files, allowing it to spread through normal document-sharing workflows without macros or traditional malware.

The technique allows an attacker to hide a JSON‑formatted prompt as white text on a white background inside a Word document. When someone asks Copilot for Word to draft or edit content based on that document, Copilot strips away the formatting, reads the hidden text, and treats the embedded instructions as part of the user’s request.

Copilot then modifies the active document and appends the full malicious prompt as hidden white text. That new document becomes a new carrier. Anyone who later uses it as source material for Copilot triggers the same behavior, allowing the prompt injection to spread to more documents. Because the documents are created and edited by legitimate users, the attack can be difficult to trace.

The researcher could still reproduce the full worm chain even after Microsoft rolled out multiple mitigations, including upgrades to newer GPT‑5.5 and 5.6 models.

At the time of writing, there is no complete mitigation for this broader class of attacks across comparable large language model (LLM)‑based products. It’s characterized as an architectural weakness of current LLM systems: attacker‑controlled content shares the same context window as trusted instructions. Attacks that exploit this behavior are known as prompt injection attacks and may never be fixed.

How to stay safe #

Treat documents from outside your organization as untrusted, especially if you plan to use them with Copilot for Word.

Review any attached document before using it as Copilot source material, and carefully verify Copilot‑generated/edited documents before sharing or reusing them.

If you don’t use Copilot, you can disable it. Malwarebytes users can turn off Copilot under Tools > System Tweaks > Miscellaneous.

Or in Word itself:

For individual users who don’t want Copilot in Word:

  • Open Word, go to File>** Options**>** Copilotand clear the Enable Copilot**checkbox, then restart Word.

  • In some versions of Word, the setting appears under File>** Options**>** General**in a Copilot section. In both cases, the key is unchecking the “Enable Copilot” setting.

You can also remove the Copilot icon from the ribbon by right‑clicking the ribbon, open the customization dialog, locate the Copilot/Assistance button, and removing it.

Alternatively, you can limit Copilot’s role by following these instructions:

  • In Word, go to File>** Account**>** Account Privacy**>** Manage Settings**, and uncheck** Turn on optional connected experiences**. This reduces certain cloud‑powered AI features, including Copilot‑related functions that rely on those services. - In the Microsoft 365 Admin Center, under Copilot>** Settings**, set** Pin Microsoft 365 Copilot Chatto Do not pin Copilot chat in Microsoft 365 apps**so the chat pane doesn’t appear by default in apps like Word.

This doesn’t remove Copilot entirely or stop these attacks, but it does reduce its visibility and limits some of its cloud‑assisted functionality.

From reporting threats to removing them.

Cybersecurity risks should never spread beyond a headline. Keep threats off your devices by down Malwarebytes today.

── more in #ai-safety 4 stories · sorted by recency
── more on @microsoft 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/prompt-turns-microso…] indexed:0 read:3min 2026-07-30 ·