News · DiggingBeagle record

A counterfeit MCP diagnostic package shipped an obfuscated Windows executable

OSV identifies @guicai777/mcp-doctor 1.0.1 as malicious and documents an obfuscated Windows executable with remote activation logic. The record does not establish how many people installed it or the complete capabilities of the dropped program.

Published
Nov 23, 2026

The report

An npm package presented as an MCP diagnostic utility contained a concealed Windows program, with JavaScript that decoded a large obfuscated payload and attempted to launch it. The malicious-package record, published November 20, 2026, identifies the package as @guicai777/mcp-doctor version 1.0.1. This is a software supply-chain problem in the agent tool ecosystem, not proof that an MCP model exploited a host at inference time.

The OSV record, based on Amazon Inspector analysis, describes an approximately 866 KB encoded bridge.bin component. The package's script decoded a Windows PE executable into a local user directory and launched it separately. The surrounding README also referenced a remote mshta step. Those are concrete software behaviors, but the public analysis does not demonstrate every function subsequently performed by the opaque executable.

Installation is the execution boundary

A package manager does not distinguish a helpful agent maintenance tool from arbitrary native host code merely because its name sounds diagnostic. When the dependency is installed or imported under the user's permissions, its JavaScript and native components may reach files and processes outside the intended conversational task. In this case, the path into host execution was package code itself, so an instruction such as never disclose credentials to the model would not address the initial risk.

The package identity should also be kept exact. The advisory concerns the scoped npm namespace and the enumerated malicious version, not every similarly named diagnostic package or the Model Context Protocol standard. Treating it as a flaw in all MCP servers would replace a verifiable artifact finding with an unsupported ecosystem claim.

What investigators still need

A machine-level review would need the installed package version and hashes, process creation records, execution or outbound-connection evidence, and analysis of the native payload. Without those records, claims about successful credential theft, a particular command-and-control campaign or victim count remain speculative. The Case record documents the dropper mechanics while preserving that limit.

Research behind this