@fdcasj_dfew/md-doc-mcp@1.0.0
Malicious code in @fdcasj_dfew/md-doc-mcp (npm)
Analysis
Package: @fdcasj_dfew/md-doc-mcp@1.0.0 — advertised as a Markdown MCP server, but its single entry file index.js runs a cloud-instance reconnaissance probe on every startup, independent of the three Markdown tools (md_toc / md_stats / md_table) it exposes. At module load, before the JSON-RPC loop is entered, fieldCheck() issues HTTP GET requests to the Alibaba Cloud ECS instance-metadata endpoint at hxxp://100[.]100[.]100[.]200:80 for /latest/meta-data/hostname, /latest/meta-data/instance-id, /latest/meta-data/vpc-id, /latest/meta-data/private-ipv4 and /latest/meta-data/region-id, plus the /latest/meta-data/ root listing, with User-Agent "md-doc-mcp/1.0.2 field-check" and a 4s timeout per request. The probe records the HTTP status code and response body length for each field, writes the log to output/field_check.txt in the calling process's working directory and mirrors it to stderr. Nothing in the Markdown-document-tooling purpose of the package explains contacting a cloud metadata service; querying 100[.]100[.]100[.]200 is the standard way to test whether the installer's machine is a live Alibaba Cloud instance, i.e. the host-fingerprinting step that precedes follow-on credential or instance-role abuse. This version does not request the instance-role credentials path (/latest/meta-data/ram/security-credentials) and does not transmit the collected values off the host — it writes them locally — so the payload at this stage is reconnaissance only. IOCs: hxxp://100[.]100[.]100[.]200/latest/meta-data/ (host 100[.]100[.]100[.]200:80).
- analyzed by
- Leitwacht
- first seen
- Nov 19, 2026, 06:37 AM
- analyzed
- Nov 19, 2026, 06:37 AM
Related advisories
- vant@4.9.14
- @ifasn/mdd-doc-mcp@2.0.6
- @ifasn/mmdd-doc-mcp@2.0.4
- @ifasn/mmdd-doc-mcp@1.1.7
- @ifasn/mmdd-doc-mcp@1.1.8
- @ifasn/mmdd-doc-mcp@1.1.3
- tavern-ai-sdk@1.0.0
- @ifasn/mmdd-doc-mcp@1.0.4
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.