← Blog

A Hidden Word Prompt Can Copy Itself Through Copilot Output

Håkon Måløy demonstrated a hidden instruction that Copilot could ingest from a Word document, follow while producing an answer, and reproduce in a newly generated file. The proof of concept makes document provenance and deterministic authorization central to any workflow that lets retrieved content influence consequential actions.

ByParminder Singh· Founder & CEO, DeepInspect Inc.
Problem-Awareprompt-injectionllm-securityai-securitypolicy-enforcementaudit
A Hidden Word Prompt Can Copy Itself Through Copilot Output

Håkon Måløy's coordinated-disclosure proof of concept placed hidden instructions inside a Word document. Microsoft Copilot could ingest the document through an attachment or Work IQ retrieval, alter the requested output, and reproduce the instruction in a newly created file. TechRadar Pro reported the demonstration on August 1, 2026. This was a proof of concept, with no reported campaign or CVE. Its security value comes from the mechanism: untrusted document content entered the same context that influenced output and downstream document creation.

Retrieval collapsed content and instruction

A retrieval system brings document text into the model context so the model can answer a user's request. Hidden text still becomes tokens. Once those tokens share a context with user instructions and system guidance, the model has to infer which text carries authority. The proof of concept exploited that ambiguity and then copied its instruction into a fresh document, giving the payload another place to travel. A clean-looking page can therefore carry a control instruction invisible to the person reviewing it. The visual I keep coming back to is a normal Word page with an empty white margin while the consequential instruction sits out of sight. Model filtering can catch patterns, but authorization for a high-impact action needs an external decision point.

Propagation changes the provenance requirement

An ordinary injection affects one model turn. A copied instruction can survive into the next artifact and reach another user or retrieval session. Security teams need provenance that records which source documents contributed context, what output artifact was created, and which policy authorized the action. Without those links, the generated document looks like a new trusted object even though it carries instruction material derived from an untrusted source. Microsoft's July 14 guidance describes prompt-injection protections in Defender for Office 365. That filtering layer is valuable. My opinion is that filtering alone carries too much responsibility when the model can edit a file or share it onward.

Consequential actions need a separate decision

Reading a document and changing an enterprise artifact have different risk. The workflow should attach the authenticated user's identity, source trust, requested action, destination, and data classification to the tool call. A deterministic policy can permit summarization while requiring confirmation or blocking publication, external sharing, or modification of a controlled file. This check belongs outside model reasoning and before the HTTP tool call executes. DeepInspect can cover such a call only when it traverses the HTTP AI request boundary. Local Word rendering, hidden-text discovery inside the desktop process, and file-system operations that bypass that boundary require Microsoft and endpoint controls. Clear boundaries make the architecture credible.

Audit records make propagation traceable

When a generated document later appears in another user's context, investigators need to reconstruct its lineage. The record should connect the original source, retrieval event, generated artifact, authenticated principal, tool call, policy version, and decision time. Application logs commonly capture a document ID and success status, while model telemetry captures tokens without enterprise authorization context. Correlating those partial views after an incident consumes hours and may still miss the handoff. A per-decision record at the action boundary gives the SOC a direct chain. The production prompt-injection guide covers the broader control pattern, and the indirect prompt-injection article explains how retrieved content becomes an instruction channel.

DeepInspect

DeepInspect sits inline on HTTP traffic between authenticated users or agents and LLMs. Where a Copilot-style workflow sends model or tool requests through that boundary, DeepInspect can evaluate identity, data classification, source context, destination, and organizational policy before the call proceeds. A denied external share or file action produces a tamper-evident record rather than relying on the model to explain its own judgment.

The product does not inspect local Word rendering or control file operations that remain entirely inside a desktop process. Its role covers the HTTP request and action path placed behind the gateway. That scoped control separates untrusted content from enterprise authority and preserves the evidence needed to trace a propagated instruction. Book a demo today.

Frequently asked questions

Was this Microsoft Copilot issue exploited in the wild?

The public reporting described a coordinated-disclosure proof of concept. It did not establish an active malware campaign, confirmed customer compromise, or assigned CVE. Security teams should track Microsoft's guidance and product updates while treating the demonstration as evidence of a repeatable design risk in retrieval and document-generation workflows.

Why can hidden document text influence a model?

Retrieval converts document content into model context. Visual presentation to a human and token presentation to the model are different views of the same file. Text hidden through formatting can still reach the model, where it may compete with the user's request. Source labelling, injection detection, restricted tool permissions, and external authorization each address a separate part of that chain.

Which actions deserve deterministic policy checks?

Prioritize actions that change controlled records, send data outside the organization, publish content, alter permissions, or create artifacts that other automated systems will ingest. The policy should use authenticated identity, source trust, destination, and data classification. Low-risk summarization can follow a different rule from external sharing, even when both begin with the same Word attachment.