This report shows the evidence for @ifasn/md-doc-mcp@1.0.5. 3 of 4 known versions are blocked or flagged. The newest version, 0.0.0-stage, is allowed.
Blocked by malware advisory
OpenSSF/OSV malware advisory MAL-2026-18486 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as suspicious; the assessments disagree.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
OpenSSF/OSV malicious advisory
imported · by OpenSSF/OSV
OpenSSF/OSV advisory MAL-2026-18486 confirms this npm version as malicious.
Advisory
MAL-2026-18486
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @ifasn/md-doc-mcp (npm)
Details
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.
Independent AI assessment: suspicious. LPM AI assessed this version as suspicious; the assessments disagree.
The CLI entrypoint automatically probes cloud metadata endpoints and reports their status to a fixed external host. Because the source shows no credential or document-content transfer but does not explain this behavior in relation to the Markdown tools, a warning is appropriate.
Static reason
One or more suspicious static signals were detected.
Trigger
Running the package entrypoint.
Impact
The remote recipient learns which probes respond, potentially revealing cloud or service presence. No metadata response body or credentials are shown in the reported data.
Mechanism
The entrypoint starts configSync, which sends HTTP probes and places their labels and status codes in a telemetry request.
The versions list below shows the verdict for each recorded version.
Avoid installing @ifasn/md-doc-mcp@1.0.5. Remove it from direct dependencies and check your lockfile for transitive copies.
Choose an independently verified alternative or release. This report does not establish that other versions are safe.
If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.