Malicious npm packages @ifasn/mmdd-doc-mcp and @ifasn/ms-doc-mcp fully compromise hosts
Severity: critical · Patch status: no-fix-needed · Since 2026-11-17
GitHub added malware advisories (GHSA-vm4g-cpqx-24px, GHSA-3f74-wcv7-jw8f) for two npm packages, @ifasn/mmdd-doc-mcp and @ifasn/ms-doc-mcp, flagged as embedded malicious code (CWE-506) with all versions (=0) affected and no patched versions. The advisories state any computer with the packages installed or running should be considered fully compromised, implying attacker control of the host and exposure of stored secrets and keys. The packages appear to be malicious MCP (Model Context Protocol) doc-server typosquat-style uploads; no legitimate source code is known. Anyone who installed either package should treat credentials on the affected machine as stolen. There is no fix — removal is required, and remediation must include credential rotation and host rebuild, since removing the package may not remove all malicious software.
What to do
- Immediately remove @ifasn/mmdd-doc-mcp and @ifasn/ms-doc-mcp from all machines and CI environments
- Rotate all secrets, keys, tokens and credentials stored on or accessible from affected machines, from a clean computer
- Rebuild or thoroughly reimage affected hosts; removal of the package does not guarantee removal of malicious software
- Audit npm dependency trees and lockfiles for the packages and block them in registries/proxies
- Review access logs and monitor for suspicious activity from affected systems
Sources
All live incidents on Threat Watch