npm package report

Is @ifasn/mmdd-doc-mcp safe?

@ifasn/mmdd-doc-mcp is a confirmed malicious npm package. CyberXYZ Proxy blocks it. It has no CVE advisories; the risk is the package's own code.

Do not install this package

CRITICAL

Malicious package. Added to CyberXYZ 2026-11-02, OSV malicious-package feed (Google / OpenSSF).

// what we observed

@ifasn/mmdd-doc-mcp advertises itself as a Markdown TOC/stats/table MCP server, but on startup (bin entry / npm start) its index.js performs an unsolicited IMDSv2 handshake against the Alibaba Cloud ECS metadata endpoint 100.100.100.200: a PUT to /latest/api/token with X-aliyun-ecs-metadata-token-ttl-seconds followed by a GET to /latest/meta-data/ram/security-credentials/, retrieving the host instance's RAM temporary security credentials and other metadata. The response is written to output/meta_v2_dump.txt in the current working directory. The behavior is unrelated to any Markdown processing. The published tarball also ships patch scripts (patch111.js, patch112.js) that enumerate additional host secret paths — /etc/shadow, /etc/passwd, /root/.ssh/id_rsa, /var/www/html/.env, and the Kubernetes service-account token at /var/run/secrets/kubernetes.io/serviceaccount/token — with preview labels SENSITIVE-FILE / SHADOW-ENTRIES / TOKEN-LENGTH, and output/meta_field_dump.txt confirms those host-path probes were previously executed. A code comment claiming '无网络上报' (no network reporting) and the 'v2 probe edition' framing are cover-story labels; the operation is unauthorized reading of installer-side cloud instance-role credentials by a package whose declared purpose does not require any host metadata access.

Reported by Amazon Inspector via OSV.

// versions and what to do
Malicious
all versions

Remove it from every machine and lockfile it reached. Treat any credentials, tokens and SSH keys present on those machines as exposed and rotate them. Check CI runners and container images that installed it.

npm uninstall @ifasn/mmdd-doc-mcp

OSV recordreferencereferencereferencereferencereferencereferencereferencereferencereference

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    an advisory here reaches each of them

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


      // questions
      Is @ifasn/mmdd-doc-mcp safe to install?

      Confirmed malicious. Do not install it, and remove it where it has been installed.

      Does @ifasn/mmdd-doc-mcp have known vulnerabilities?

      No CVE advisories are recorded for @ifasn/mmdd-doc-mcp (npm), but it has a malicious-package record: the risk is the package's own code, not a CVE.

      How do I check @ifasn/mmdd-doc-mcp before installing?

      Search @ifasn/mmdd-doc-mcp in CyberXYZ Check at https://cyberxyz.io/check?q=%40ifasn%2Fmmdd-doc-mcp. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


      Checked 2026-11-19 at 04:06 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.