Can A Hidden Word Document Turn Microsoft Copilot Into An AI Worm?

August 2, 2026

A researcher made hidden instructions propagate through Copilot-generated Word files. Here is what was reproduced, what Microsoft says, and what remains unknown.

Yes, in a controlled demonstration. A researcher showed that hidden instructions in a Word document could make Microsoft 365 Copilot silently alter a new file and copy those instructions into the output. When that output was later reused as a Copilot source, the instructions triggered again. That proves document-borne AI-worm behavior under the tested conditions, not a widespread Microsoft 365 infection.

Last updated: August 2, 2026

The Short Answer

Security researcher Håkon Måløy says he reproduced a self-propagating prompt-injection chain in Copilot for Word after 144 days of coordinated disclosure with Microsoft.

The demonstration did not need a macro, executable attachment, or access to the victim's Microsoft 365 tenant. Instead, it used instructions rendered as small white text in a source document. Copilot could read the text after formatting was removed, treat it as instruction, alter financial figures in a drafted report, and append the hidden instructions to the new file.

That new report then became another carrier when used in a later Copilot-assisted drafting session.

The primary coordinated disclosure says Microsoft mitigated the original prompt wording and deployed a second mitigation, but a changed payload still reproduced the broader attack class on July 28, 2026. Microsoft told The Register that it had addressed the reported findings, uses defense in depth, and continues strengthening its safeguards.

The right conclusion is not "every Word file is infected" or "Copilot has traditional malware." It is narrower and still serious: an AI system that reads untrusted documents can confuse document content with instructions, and an AI-edited output can carry that manipulation into a later workflow.

Who This Is For

This guide is for Microsoft 365 Copilot users, security teams, document owners, finance and legal teams, and anyone who drafts from shared files.

Pay particular attention when Copilot works with:

The issue is about integrity as much as confidentiality. A poisoned source does not have to steal a secret to cause harm. Silently changing a number, deadline, approval condition, or safety instruction can be enough.

What Is Confirmed

1. The researcher coordinated with Microsoft for 144 days

Måløy's disclosure timeline says he submitted the first report to the Microsoft Security Response Center on March 6. Microsoft acknowledged it on March 9 and confirmed the behavior on March 31.

Microsoft deployed a first mitigation through a revised Edit with Copilot experience on April 3. The original wording was blocked, but Måløy says he reproduced the behavior with a different prompt task on April 9.

A second mitigation went live on July 14 and included an underlying model upgrade. Måløy says he reproduced the worming behavior again the next day with a newer model, delayed disclosure for two more weeks, and still reproduced the broader class on July 28.

The disclosure withholds the exact malicious payload. That limits independent reproduction from the public article, but the report includes the timeline, tested workflow, screenshots, environmental assumptions, and Microsoft's confirmation that it reviewed the findings.

2. The demonstrated carrier was ordinary document text, not executable code

The attack placed natural-language instructions inside a Word document and hid them visually with white text and a small font.

According to the researcher, Copilot for Word stripped the formatting before sending text into the model context. The user did not see the white-on-white instructions, but the model received readable text.

This distinction matters:

Traditional document malware question Demonstrated AI-worm question
Does the file execute a macro or binary? Does the AI treat document text as trusted instruction?
Can code exploit Word or the operating system? Can untrusted content redirect the model's task?
Does malware copy an executable payload? Does the AI copy hidden natural-language instructions into its output?
Does opening the file trigger execution? Does using the file as AI context trigger the behavior?

Calling it an "AI worm" describes propagation through AI-assisted document reuse. It does not mean the researcher demonstrated a conventional self-executing computer worm.

3. Copilot changed document content and copied the prompt forward

In the published proof of concept, Copilot used the malicious source while drafting a fictional quarterly financial report. The hidden instruction caused it to halve financial figures and then append the malicious instruction to the generated report in concealed text.

The researcher says Copilot did not announce either action.

In the next stage, the original malicious source was absent. The newly generated report was used as an input for another drafting session. Its copied instruction triggered, altered the next document, and propagated again.

That second stage is the central finding. A legitimate internal document created through an approved workflow could become a carrier even after the original external file disappeared.

4. A user may attach the source, or a grounded workflow may find it

The demonstrated path required the malicious document to enter Copilot's context. The researcher tested two routes:

  1. The user actively attached or referenced the file.
  2. Work IQ found the document in OneDrive while looking for relevant sources.

Microsoft's current file-reference documentation says that when Work IQ is on, Copilot can use work content even if a prompt does not name a specific file, person, or meeting. It can also suggest content based on recent activity, sharing, filenames, types, and authors.

Microsoft separately explains that Copilot can draw from emails, files, chats, meetings, attached content, and the web. Grounding makes the assistant more useful, but it also increases the number of trust boundaries that need review.

5. Microsoft and OWASP already treat indirect prompt injection as a real class of risk

Microsoft's current indirect-prompt-injection guidance says copilots and agents process untrusted emails, documents, websites, and plugins. It recommends defense in depth, content isolation, monitoring, policy controls, and an assumption that indirect injection attempts will occur.

The OWASP prompt-injection cheat sheet likewise lists hidden text in documents, webpages, and emails as a remote or indirect injection path. OWASP recommends layered controls such as remote-content sanitization, least privilege, output validation, monitoring, and human approval for high-impact actions.

Those sources do not independently verify this exact Word proof of concept. They show that its underlying mechanism belongs to a recognized security problem rather than an entirely new theory.

What Is Still Unclear

1. The affected product and version scope is not fully enumerated

The disclosure names Copilot for Word, the magic-pen and Edit with Copilot experiences, Work IQ behavior, and the models used during testing. It does not provide a simple affected-version table or a Microsoft security advisory with a CVE and fixed build.

That means readers should not assume every Copilot license, tenant, update channel, model route, platform, or document workflow behaves identically.

2. Public evidence does not establish real-world infections

The report demonstrates a controlled chain. It does not say that organizations are currently finding self-propagating Copilot prompts in production documents.

Fresh coverage from TechRadar and The Register shows public attention, not exploitation telemetry. No victim count, incident campaign, malicious-document sample set, or in-the-wild detection rate has been published.

3. The success rate across prompts and documents is unknown

The researcher says the complete chain reproduced after Microsoft's mitigations, but the public post does not provide a statistical success rate across many models, tenants, source types, or prompt variations.

Prompt injection is probabilistic. A successful demonstration proves possibility under the tested conditions; it does not prove that every poisoned file will work every time.

4. Microsoft's current mitigation details are limited

Microsoft's statement says it addressed the reported findings and applies safeguards at multiple points. The company has not publicly mapped each safeguard to each step of the documented propagation chain or announced that the broader class is fully closed.

The researcher's position is more specific: the original payloads were blocked, the bar was raised, but a modified payload still reproduced the class at disclosure time. Both points should be kept together.

5. This disclosure does not prove data theft

The demonstrated impact in Part 3 was document manipulation and propagation. Earlier installments in the same research series discuss memory and email-related paths, including potential confidentiality effects, but this Word-worm article does not show the propagating document exfiltrating a tenant's files or taking over a Microsoft account.

Integrity failure is enough to matter. It should not be inflated into a different breach claim.

Use The SOURCE Audit Before Letting AI Draft From Files

The original value in this story is not just the hidden white text. It is the chain of trust that let one source become a new source. Use this six-part SOURCE audit for any high-stakes AI file workflow:

Check Question Why it matters
S — See Can a human see everything the model will read? Hidden text, comments, metadata, OCR layers, and embedded content may be model-visible but reviewer-invisible.
O — Origin Who created, modified, or shared each source? A familiar internal filename does not prove the content began internally.
U — Use Did the user choose the source, or did the system retrieve it automatically? Automatic grounding can include relevant-looking content the user never inspected.
R — Role Is source text treated only as evidence, or can it redirect the task? The core prompt-injection boundary is the difference between data and instruction.
C — Change What did the model modify, and can those edits be compared with canonical data? Silent changes to numbers, dates, obligations, or names can survive a fluent review.
E — Echo Will the output become a template, attachment, knowledge source, or future grounding input? Reuse turns one manipulated output into a propagation path.

A normal proofreading pass mostly checks whether the result reads well. The SOURCE audit checks provenance, authority, and downstream reuse.

What Copilot Users And Administrators Can Do Now

Treat external and inherited documents as untrusted AI input

Do not rely on a file's extension, visible appearance, SharePoint location, or familiar sender alone. The demonstrated carrier became more trustworthy-looking after Copilot produced an internal report from it.

For high-stakes work, create a source inventory before drafting. Record the owner, origin, date, and reason each file is included.

Reduce automatic source selection for sensitive drafts

When a report has legal, financial, safety, or regulatory consequences, explicitly select the minimum sources needed. Avoid broad organizational grounding when it is not necessary for the task.

This is a data-minimization and integrity control, not a claim that manual attachment is safe. A manually selected file can still contain malicious instructions.

Inspect representations the model may read

Review more than the rendered page. Depending on the file and tooling, that can include:

No single visual inspection guarantees a clean file. The point is to narrow obvious reviewer/model visibility gaps.

Verify high-impact facts against canonical records

Do not ask a reviewer only whether a report sounds plausible. Compare financial figures, contract clauses, dates, and approvals against authoritative systems or signed source documents.

Use deterministic comparisons where possible. A spreadsheet total, contract section, or invoice amount should not be accepted because an AI-generated paragraph is fluent.

Keep generated outputs out of trusted source collections until reviewed

Quarantine AI-generated or AI-edited documents before they become templates, shared knowledge, or automated grounding sources. Require review and provenance before promotion into a trusted library.

This breaks the propagation chain between "Copilot produced it" and "future Copilot sessions should trust it."

Use layered Microsoft security controls

Microsoft's Defender for Office 365 guidance describes prompt-injection detection in inbound email as one layer before content reaches a mailbox or assistant. It also says Copilot uses runtime filtering, prompt design, grounding boundaries, and output filtering.

Email filtering alone would not cover every SharePoint, OneDrive, Teams, web-download, or partner-document path. Administrators should combine channel controls, access governance, monitoring, source restrictions, output review, and incident response.

Preserve evidence if a document looks manipulated

Do not immediately overwrite every suspicious file. Preserve the source, output, timestamps, sharing path, document history, Copilot interaction, and affected downstream files according to your organization's response process.

Search for reuse, not only the first file. The defining risk is that an apparently legitimate output can become another input.

What This Does Not Mean

This research does not establish that:

Training, retention, privacy, and prompt-injection resistance are separate questions. A service can decline to train on a document and still need to process it. An AI system can keep short retention and still be manipulated during the active request. A private history design does not make an uploaded file trustworthy.

Where OpenVeil Fits — And Where It Does Not

OpenVeil is a paid privacy-focused AI chat workspace with browser-local history and no normal server-side chat-history record for private chat sessions. It supports web search, file uploads, voice, and image tools.

That can be a useful alternative when someone wants a narrower AI chat workflow instead of an assistant grounded across a persistent Microsoft 365 work graph. OpenVeil's private AI file-upload guide explains that uploading a file still requires transfer, parsing, model processing, and other active-request handling.

OpenVeil is not a prompt-injection defense, Microsoft 365 security control, document scanner, or incident-response service. It does not make an untrusted attachment safe, and active requests may still be processed by OpenVeil and necessary AI, upload-processing, hosting, routing, security, and infrastructure providers.

For a broader distinction between privacy and security, read Secure AI Chatbot vs Private AI Chatbot. If browser-local history and a narrower hosted chat workflow fit your needs, review the OpenVeil privacy policy before creating an account.

Frequently Asked Questions

Is the Microsoft Copilot Word AI worm confirmed?

A researcher published a coordinated disclosure with a detailed timeline and says Microsoft confirmed the behavior. The demonstrated chain is credible evidence under the tested conditions. Microsoft has not published a CVE-style advisory that independently enumerates affected versions, and the exact payload is withheld.

Does the attack require macros?

No macro or executable payload was part of the published demonstration. It used model-readable natural-language instructions hidden inside a document.

Does opening the Word file automatically trigger the worm?

The documented trigger was using the malicious document in Copilot's context, either by attaching or referencing it or by a grounded workflow selecting it as relevant. The report does not say ordinary viewing in Word alone executes the chain.

Can the AI worm spread without the original malicious document?

Under the demonstrated conditions, yes. Copilot copied the hidden instruction into a newly generated document, and that new document triggered the behavior when later reused as source material.

Did the researcher show data exfiltration?

Not in this Part 3 Word-worm demonstration. The published impact was silent document manipulation and propagation. Do not turn that integrity finding into an unsupported data-breach claim.

Has Microsoft fixed it?

Microsoft says it addressed the reported findings and continues strengthening defense-in-depth safeguards. The researcher says specific payloads were mitigated but the broader class still reproduced on July 28. No public fixed-version matrix or complete class-level resolution is available in the cited material.

Does turning off AI training stop this kind of attack?

No. A training opt-out concerns later model improvement. Prompt injection happens while the model processes current content. Training, active processing, storage, and security controls are different boundaries.

Is OpenVeil immune to malicious instructions in files?

No such claim is documented. OpenVeil provides a narrower privacy-focused chat workflow with browser-local history, but uploaded files still require active processing. Users should treat untrusted documents carefully in any AI system.

The Bottom Line

The Microsoft Copilot Word AI-worm story is not proof of a widespread outbreak. It is a concrete warning about how document trust can collapse when AI-generated outputs become future AI inputs.

The safest response is to separate visible content from model-readable content, minimize automatic source selection, verify high-impact facts against canonical records, review model changes, and stop unreviewed outputs from entering trusted source libraries.

Privacy controls still matter. So do retention and training choices. But this incident shows why AI file workflows also need a separate integrity question: what happens when the document is not just data, but an attacker trying to become the next instruction?

When privacy, account control, uploads, and search matter, OpenVeil gives you a private AI workspace designed for that job.