Remove @ifasn/md-doc-mcp and @ifasn/mmdd-doc-mcp and rotate cloud credentials

Fake Markdown MCP servers on npm grabbed cloud credentials on startup · Security incident · Web · github · Nov 2, 2026

What happened

GitHub published malware advisories on 2 Nov, sourced from Amazon Inspector, for two npm packages posing as Markdown toolkit MCP servers. @ifasn/md-doc-mcp probes the AWS, GCP, Azure and Alibaba Cloud metadata services when it loads and sends the responses over plain HTTP to a hardcoded IP. @ifasn/mmdd-doc-mcp pulls Alibaba Cloud instance-role credentials on startup and ships scripts that look for /etc/shadow, SSH keys, .env files and Kubernetes service-account tokens. No version is safe.

How to prevent it

Only install MCP servers from publishers you can verify, and never run a new one on a machine that holds cloud credentials.

Fix prompt for your own AI tool

Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.

Help me check my projects and MCP configs for the malicious npm packages @ifasn/md-doc-mcp and @ifasn/mmdd-doc-mcp (GitHub advisories GHSA-rvw8-22w3-342v and GHSA-4h5p-w547-9qmv): 1) Search my package.json and lock files, global npm installs and my Claude, Cursor and VS Code MCP config files for either name. 2) If found, give me the exact commands to remove them. 3) If one ever ran on a cloud server, list which instance-role credentials, SSH keys, .env files and Kubernetes tokens I should rotate. 4) Suggest a rule for vetting new MCP servers before I install them. Don't change anything until I approve.

Why this keeps happening: dependencies, plugins & mcp servers

AI tools suggest packages, editor extensions and MCP servers by name, and attackers publish look-alike or hijacked versions that steal keys or run code on install.

A quick checklist before you ship

More on this: every dependencies, plugins & mcp servers story and our related guide.

Tools involved

MCP stories, npm stories

Related stories

Source: original post on Web ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.

The Honest Build. Real stories, not hype.

Every week: real stories of what building with AI actually took, the one lesson worth keeping, and the security slip-ups to avoid. Free, unsubscribe anytime. Weekly, every Friday.