AI Safety #Microsoft Copilot#AI worm#cybersecurity#malware#self-propagating#Word#context collapse

Self-Propagating AI Worm Found Spreading Through Microsoft Copilot for Word

Security researchers discovered a self-propagating AI worm that spreads between documents via Microsoft Copilot for Word. The malware exploits context collapse to infect new files as they're opened, marking the first real-world self-replicating AI threat.

Wednesday July 29, 2026
Self-Propagating AI Worm Found Spreading Through Microsoft Copilot for Word

TL;DR

Security researchers discovered a self-propagating AI worm that spreads between documents through Microsoft Copilot for Word. The malware exploits “context collapse” — when Copilot processes multiple documents in the same session — to inject malicious instructions that propagate to new files as they’re opened. It’s the first documented case of a self-replicating AI threat in a production enterprise tool.

How It Works

The worm operates by embedding hidden instructions in a Word document that are invisible to human readers but processed by Copilot. When a user opens the infected document with Copilot enabled, the AI assistant reads the hidden instructions and incorporates them into its context. When the user then opens a second document, Copilot carries the malicious context forward, contaminating the new document.

The attack chain works as follows:

  1. Infection: Attacker creates a Word document with hidden malicious prompts
  2. Activation: When opened with Copilot, the hidden instructions are processed
  3. Propagation: As the user opens other documents, Copilot carries the malicious context
  4. Replication: New documents become infected with the same hidden instructions
  5. Spread: The worm continues propagating through any Copilot session that touches infected files

The researchers emphasized that the worm doesn’t exploit a traditional software vulnerability. Instead, it exploits the fundamental architecture of how AI assistants process context across multiple documents.

Why It’s Significant

This is the first documented case of a self-replicating AI threat in a production enterprise tool. Previous AI security research focused on prompt injection and jailbreaking — attacks against the AI itself. The Copilot worm represents a new category: AI as a vector for malware propagation.

The implications are profound:

Microsoft’s Response

Microsoft acknowledged the research and said it is “investigating the reported behavior.” The company noted that Copilot includes safety mechanisms to prevent processing of malicious instructions, but the researchers demonstrated these could be bypassed with careful prompt engineering.

A Microsoft spokesperson stated: “We take security research seriously and are working to address the reported scenario. We recommend customers keep their systems updated and follow security best practices.”

The researchers criticized the response as inadequate, noting that the vulnerability is architectural rather than a bug that can be patched. They called for Microsoft to fundamentally rethink how Copilot handles context across documents.

Industry Impact

The discovery has sent shockwaves through the enterprise AI community. Several organizations have reportedly disabled Copilot’s multi-document features while they assess the risk. Security teams are scrambling to develop detection methods for AI-propagated threats.

The worm also raises questions about the security of other AI assistants that process multiple documents, including Google’s Gemini for Workspace and Notion AI. The researchers noted that the fundamental vulnerability — context collapse across documents — is common to all AI assistants that maintain session state.

For the AI industry, the Copilot worm is a wake-up call. As AI assistants become embedded in productivity tools, they create new attack surfaces that traditional security tools aren’t designed to handle. The race between AI capability and AI security has just entered a new phase.

Back to all news