# GHSA-M5XQ-H2P4-962G: Malicious code in @fdcasj\_dfew/md-doc-mcp (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-19
- Modified: 2026-11-19

## Affected versions

- @fdcasj\_dfew/md-doc-mcp (npm): 1.0.0
- @fdcasj\_dfew/md-doc-mcp (npm): 1.0.1

## Description

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))

## References

- https://github.com/ossf/malicious-packages/blob/7cfa8d37a7249718b74ad3744a1279b83313d5a0/osv/malicious/npm/@fdcasj_dfew/md-doc-mcp/MAL-2026-20187.json
- https://github.com/advisories/GHSA-m5xq-h2p4-962g

Page: https://cve.now/GHSA-M5XQ-H2P4-962G

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
