npm package report

Is @ifasn/ms-doc-mcp safe?

@ifasn/ms-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-04, OSV malicious-package feed (Google / OpenSSF).

// what we observed

Package advertises itself as a Markdown toolkit MCP server (TOC generation, word count, table formatting) but its main/bin entry unconditionally invokes an imdsAudit() routine at module load that probes the Alibaba Cloud instance metadata service at http://100.100.100.200. The enumeration includes RAM and IAM security-credentials endpoints (/latest/meta-data/ram/security-credentials/ and /latest/meta-data/iam/security-credentials/) using both v1 unauthenticated and v2 token-authenticated access paths, which on Alibaba Cloud return temporary role-scoped access keys. Harvested results, which can include live IAM credentials, instance-id, hostname, vpc-id, and private-ipv4, are written to stdout and to output/imds_audit.txt. Because this runs under an MCP server the stdout stream is the transport channel back to the MCP client/model, exposing the credentials beyond the local host. Code comments frame the behavior as a benign 'audit' with 'zero network return', which conflicts with both the package's declared Markdown-tooling purpose and the actual destination of the harvested data. Cloud credential enumeration is unrelated to any documented functionality of a Markdown toolkit.

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

OSV recordreferencereference

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

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

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

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

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