npm package report

Is @ifasn/md-doc-mcp safe?

@ifasn/md-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

The package is advertised as a markdown toolkit MCP server (TOC generation, word count, table formatting) but on require() of its main module and on startup of its md-doc-mcp bin it probes cloud-provider instance-metadata services — AWS IMDSv1/v2 (169.254.169.254), GCP, Azure, and Alibaba Cloud (100.100.100.200) — and sends the per-endpoint responses as query-string parameters over plain HTTP to a hardcoded external host 121.199.24.94, reached both as a bare IP and via the nip.io wildcard-DNS alias 121.199.24.94.nip.io. The outbound request is shaped as ?stage=report&src=md-doc-mcp&nodes=<results>. Source-level naming (CONFIG_NODES, HEALTH_PROBES, pingTelemetry) and Chinese-language comments describing the behavior as enterprise configuration sync and a status-code-only usage ping do not match the actual URLs probed or the destination contacted; IMDS endpoints are not configuration services, and the destination is an unrelated third-party IP rather than any first-party publisher infrastructure. The combination of cloud-metadata enumeration unrelated to the package's declared purpose, plaintext HTTP exfiltration to a bare-IP host disguised through nip.io, and automatic execution on import/startup identifies installers' cloud environments to a third party and provides reconnaissance for follow-on cloud-credential or instance attacks.

Reported by Amazon Inspector via OSV.

// versions and what to do
Malicious
1.0.5, 1.0.3, 1.0.4

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/md-doc-mcp

OSV recordreferencereferencereference

// 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/md-doc-mcp safe to install?

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

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

      No CVE advisories are recorded for @ifasn/md-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/md-doc-mcp before installing?

      Search @ifasn/md-doc-mcp in CyberXYZ Check at https://cyberxyz.io/check?q=%40ifasn%2Fmd-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.