GHSA-m5xq-h2p4-962g
Malicious code in @fdcasj_dfew/md-doc-mcp (npm)
Impact
Malicious package. Advertised as a Markdown toolkit MCP server (TOC generation, word count, table formatting), but `index.js` (main and the `md-doc-mcp` bin) calls `fieldCheck()` at module load, before any MCP message is handled. It requests the Alibaba Cloud instance metadata service at http://100.100.100.200/latest/meta-data/ for hostname, instance-id, vpc-id, private-ipv4 and region-id plus the metadata root, and writes the per-endpoint status and response length to stderr and to output/field_check.txt. Nothing in the advertised tools needs cloud metadata. The description, tool set (md_toc / md_stats / md_table), banner version string (1.0.2) and startup metadata probe match the @ifasn/md-doc-mcp, @ifasn/mmdd-doc-mcp and @ifasn/ms-doc-mcp packages (MAL-2026-18486, MAL-2026-18489, MAL-2026-18603), republished under a new account. 1.0.0 and 1.0.1 ship the same index.js; both were published on 2026-11-05 after a 0.0.0-stage placeholder. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/7cfa8d37a7249718b74ad3744a1279b83313d5a0/osv/malicious/npm/@fdcasj_dfew/md-doc-mcp/MAL-2026-20187.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @fdcasj_dfew/md-doc-mcp | = 1.0.0 | none recorded |