Malicious MCP server packages on npm (November 2026): the full list and how to check your Cursor or Claude Code setup

Between 2 and 26 November 2026 the GitHub Advisory Database published 23 malware advisories for 20 npm packages that present themselves as MCP servers, the plug-ins that give Cursor, Claude Code, VS Code and other AI agents extra tools. Several of them read cloud credentials or drop a Windows executable the moment they start. If you add MCP servers with `npx -y`, here's the full list, a one-command check, and what to do if you find one.

Severity: high Status: Active Disclosed 2 Nov 2026

Short answer

Search your MCP configs and npx cache for the 20 package names below (commands on this page for macOS, Linux and Windows). If one matches at a flagged version, GitHub's advice is blunt: treat the computer as fully compromised, remove the package, and rotate every secret it could reach from a different computer, because removing the package may not remove what it installed. Most of these packages have tiny audiences and npm has already replaced many with empty 0.0.1-security placeholders, but on 30 Nov 2026 two flagged versions (@fdcasj_dfew/md-doc-mcp 1.0.0–1.0.1 and @massnerder/x402-scraper-mcp 1.0.0) were still downloadable. Going forward: only add MCP servers from the vendor's own docs or your client's marketplace, pin versions instead of running npx -y against whatever is latest, and remember that Dependabot can't see an MCP server that only lives in mcp.json.

What happened (confirmed by GitHub's advisories)

MCP (Model Context Protocol) servers are small programs your AI client starts for you. A local MCP server runs on your machine with your user's rights, so it can read your files, your .env secrets and your logged-in CLIs. The MCP project's own security guidance lists “an attacker distributes a malicious payload inside the server itself” as one of the attacks local servers enable.

We queried GitHub's public advisory API for npm malware advisories published between 1 and 30 November 2026. It returned 2,489 advisories in total; 23 of them cover 20 packages with mcp in the name that present themselves as MCP servers or MCP tooling. Every one lists no patched version.

  • Cloud credential theft: five @ifasn/*-doc-mcp packages and a republished copy, @fdcasj_dfew/md-doc-mcp, advertise a Markdown toolkit (table of contents, word count, tables). According to the advisories (sourced from Amazon Inspector via OpenSSF), they probe cloud instance-metadata services as soon as they load, including the Alibaba Cloud RAM and AWS/GCP/Azure endpoints that return temporary role credentials. Some send the results over plain HTTP to 121.199.24.94; one also ships scripts that look for /etc/shadow, /root/.ssh/id_rsa and /var/www/html/.env.
  • Install-time code execution: @rfewqa-fes/mnm-doc-mcp 1.0.0 pulls its only dependency as a tarball from http://121.199.24.94, so whoever controls that address runs code on every machine that installs it. The MCP code itself is an inert stub.
  • Windows dropper: @guicai777/mcp-doctor 1.0.1 decodes a hidden Windows executable to %LOCALAPPDATA%\mcp-doctor\mcp-bridge.exe and runs it in the background, with a remote on/off switch at fix-mcp-bridge.com. Its README also tells users to run mshta https://fix-mcp-bridge.com/init, which downloads and runs remote script code.
  • The other advisories carry GitHub's standard malware text without technical detail: “Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer.”

The full list

Dates are when the advisory was published to the GitHub Advisory Database. The npm column is what the public registry returned when we checked on 30 Nov 2026, 08:45 UTC (09:45 CET). “Holding package” means npm replaced the package with an empty 0.0.1-security placeholder.

npm packages posing as MCP servers flagged as malware by GitHub, November 2026
PackageFlagged versionsAdvisoryWhat the advisory saysnpm on 30 Nov
@ifasn/md-doc-mcp 1.0.3, 1.0.4, 1.0.5 2 Nov (GHSA-rvw8-22w3-342v) Probes AWS, GCP, Azure and Alibaba metadata on load; sends results to 121.199.24.94 Removed
@ifasn/mmd-doc-mcp 1.0.0, 1.0.2 2 Nov (GHSA-f826-46h5-5rcq) Same metadata probe and report to 121.199.24.94 Removed
@ifasn/mdd-doc-mcp 1.0.7, 1.0.8, 2.0.6 2 Nov (GHSA-4q9j-4rv8-jp32) Reads the Alibaba Cloud RAM role credentials endpoint, path hidden in base64 Removed
@ifasn/mmdd-doc-mcp 18 versions (1.0.1 to 2.1.1), then all versions 2 Nov (GHSA-4h5p-w547-9qmv), 17 Nov (GHSA-vm4g-cpqx-24px) Alibaba RAM credentials; bundled scripts look for /etc/shadow, SSH keys, .env and Kubernetes secrets Holding package
@ifasn/ms-doc-mcp 2.0.9, 2.1.1, then all versions 4 Nov (GHSA-556m-xfwj-7wff), 17 Nov (GHSA-3f74-wcv7-jw8f) Alibaba RAM/IAM credentials endpoints, output written to stdout Holding package
@bestcoolman/dev-mcp All 9 Nov (GHSA-vgx2-8w7x-xr8v) Standard malware notice Holding package
@massnerder/x402-scraper-mcp 1.0.0 9 Nov (GHSA-whr8-5pp9-f7v2) Talks to a domain associated with malicious activity (OpenSSF Package Analysis) 1.0.0 still listed; 2.0.1 not covered
@lemili9804/mcp-weather-server 1.0.3, 1.0.6 10 Nov (GHSA-qwfq-cw9x-55x4) Standard malware notice Flagged versions removed; others listed
mcp-contract-tester All 10 Nov (GHSA-34p7-qcxm-gc39) Standard malware notice Holding package
@go-gost/mcp-darwin-x64 0.1.0 12 Nov (GHSA-gfpg-48q7-c68h) Standard malware notice 0.1.0 removed; 0.1.1 listed
@rfewqa-fes/mnm-doc-mcp 1.0.0 12 Nov (GHSA-3qjp-mvhh-w85g) Installs a dependency from http://121.199.24.94 (code runs at install) Removed
karma365-mcp 2.1.0 13 Nov (GHSA-72xc-q3v8-7grp) Standard malware notice 2.1.0 removed; latest is 2.0.1
@shadowdu/memos-mcp All 16 Nov (GHSA-37hh-cmfp-pf7g) Standard malware notice Holding package
@shadowdqj/image-mcp All 16 Nov (GHSA-56mh-v6h4-jx2f) Standard malware notice Holding package
mem0-mcp-server All 16 Nov (GHSA-9hvg-j8mj-55xr) Standard malware notice Holding package
vamp-mcp 0.2.3, 0.2.4, 0.2.5 17 Nov (GHSA-q37r-5xxr-6v4x) Standard malware notice Flagged versions removed; latest is 0.2.0
@fdcasj_dfew/md-doc-mcp 1.0.0, 1.0.1 19 Nov (GHSA-m5xq-h2p4-962g) Alibaba metadata probe on load; republish of the @ifasn toolkit under a new account Still listed
@guicai777/mcp-doctor 1.0.1, then all versions 20 Nov (GHSA-vxx3-mjmc-wgj8, GHSA-h82f-cjm4-g22r) Windows dropper (mcp-bridge.exe) with remote kill switch; README pushes an mshta command Holding package
@apexfdn/copilot-mcp All 24 Nov (GHSA-8q2p-w9w5-552h) Standard malware notice Holding package
tzero-mcp 12.3.0 26 Nov (GHSA-pm3r-rxg9-cj5j) Standard malware notice 12.3.0 removed; 12.3.3 listed

Where only some versions are flagged, other versions of the same package are still on npm. The advisories don't say those versions are safe; they only cover the versions listed. If you depend on one of these packages at all, check who publishes it before you keep using it.

The list is a snapshot. New malware advisories appear daily, so search the GitHub Advisory Database (filter: type Malware, ecosystem npm, keyword mcp) before you add an unfamiliar server.

Check your machine in one command

MCP servers you add with npx -y <package> are installed into a folder inside npm's cache (~/.npm/_npx/ on macOS and Linux, %LocalAppData%\npm-cache\_npx\ on Windows), not into your project, so npm audit and Dependabot in your repo won't see them. Search your MCP config files and that cache instead. Cursor reads ~/.cursor/mcp.json (all projects) and .cursor/mcp.json (one project); Claude Code stores local and user servers in ~/.claude.json and project servers in .mcp.json. Run this in a terminal from your project folder:

macOS / Linux
grep -rIsoE '@ifasn/|@rfewqa-fes/|@fdcasj_dfew/|@guicai777/|@bestcoolman/dev-mcp|@massnerder/x402-scraper-mcp|@lemili9804/mcp-weather-server|mcp-contract-tester|@go-gost/mcp-darwin-x64|karma365-mcp|@shadowdu/memos-mcp|@shadowdqj/image-mcp|mem0-mcp-server|vamp-mcp|@apexfdn/copilot-mcp|tzero-mcp' \
  ~/.cursor/mcp.json .cursor/mcp.json ~/.claude.json .mcp.json ~/.npm/_npx/*/package.json package.json package-lock.json

Any line it prints is a match (file name, then the matching package name or scope); open that file to see the exact package and version; no output means none of the names were found. Missing files are skipped silently. On Windows, in PowerShell: Select-String -Pattern '@ifasn/|@rfewqa-fes/|@fdcasj_dfew/|@guicai777/|@bestcoolman/dev-mcp|@massnerder/x402-scraper-mcp|@lemili9804/mcp-weather-server|mcp-contract-tester|@go-gost/mcp-darwin-x64|karma365-mcp|@shadowdu/memos-mcp|@shadowdqj/image-mcp|mem0-mcp-server|vamp-mcp|@apexfdn/copilot-mcp|tzero-mcp' -Path "$env:USERPROFILE\.cursor\mcp.json","$env:USERPROFILE\.claude.json","$env:LOCALAPPDATA\npm-cache\_npx\*\package.json",.mcp.json,package-lock.json -ErrorAction SilentlyContinue. Also check whether %LOCALAPPDATA%\mcp-doctor\mcp-bridge.exe exists: Test-Path "$env:LOCALAPPDATA\mcp-doctor\mcp-bridge.exe" should print False.

Using another client (Windsurf, VS Code, Claude Desktop)? Add that client's MCP config file to the command. A match on a name is the start, not the verdict: compare the exact package name and version with the table, because only flagged versions are covered.

If you find one

  1. Stop the server: disable or remove it in your client (Cursor: Customize → MCP servers; Claude Code: claude mcp remove <name>) and close the client.
  2. Remove the cached copy: delete the matching folder under ~/.npm/_npx/ (Windows: %LocalAppData%\npm-cache\_npx\), or clear the cache with npm cache clean --force, the step Cursor's docs give for refreshing npm-based servers.
  3. Treat the machine as compromised, as GitHub's advisories say. Removing the package doesn't guarantee that anything it installed is gone. If it was @guicai777/mcp-doctor on Windows, or you can't rule out that the payload ran, rebuild the machine or have it checked.
  4. From a different, trusted device, rotate everything that machine could reach (list below). If you run on a cloud VM, also rotate the role or instance credentials: the metadata-probing packages target exactly those.
  5. Check usage and billing on your AI, hosting and cloud accounts for activity you don't recognise.

What to rotate

Create the new credential first, update it where your app runs, then revoke the old one, so the live app doesn't break.

  • AI provider keys (Anthropic, OpenAI, OpenRouter, Google) in .env files, shell profiles or the env block of your mcp.json. MCP configs often hold keys in plain text.
  • Tokens you handed to other MCP servers (GitHub, Supabase, Stripe, Notion, Linear): a compromised machine can read them from the same config file.
  • GitHub tokens and SSH keys; hosting and database CLI logins (Vercel, Netlify, Cloudflare, Railway, Supabase, Firebase).
  • Cloud credentials (AWS, Google Cloud, Azure, Alibaba Cloud) and any instance role attached to a server where the package ran.
  • App secrets: Stripe secret and webhook signing keys, database passwords, the Supabase service_role key, JWT secrets. Redeploy afterwards so production uses the new values.

What isn't known (unverified)

  • How many people installed these packages. GitHub's advisories don't give download numbers, and we haven't found an official count.
  • What the packages with only the standard notice actually did. GitHub publishes no technical detail for them.
  • Whether the packages are run by one group. The advisories link the @ifasn and @fdcasj_dfew packages (same code, same 121.199.24.94 host) and @rfewqa-fes/mnm-doc-mcp uses the same IP, but nothing official ties the rest together.
  • Whether any name was chosen to look like a legitimate project. Some names resemble real products; no advisory says they impersonate anyone, so we don't claim it.
  • Whether versions not listed in an advisory (for example tzero-mcp 12.3.3 or @massnerder/x402-scraper-mcp 2.0.1) are clean. They aren't covered either way.

Add MCP servers more safely

  • Get the install command from the vendor's own docs or your client's marketplace (Cursor Marketplace, the Anthropic Directory for Claude Code), not from a search result, a README in a random repo or a chat message.
  • Prefer a vendor's remote (HTTP) MCP server with OAuth over a local npx package when one exists: a remote server doesn't run code on your laptop.
  • Pin versions: npx -y [email protected] instead of npx -y some-mcp. npm's docs say --yes suppresses the install prompt, so an unpinned npx -y silently runs whatever version is latest each time the cache refreshes.
  • Give each MCP server the narrowest token it needs, and keep secrets out of mcp.json files you commit. Cursor's docs recommend least-privilege keys and isolated environments for servers that touch sensitive data.
  • Before connecting an unfamiliar server, check the npm page: publisher, repository link, age, and versions. Then search the GitHub Advisory Database for its name.
  • Turn on Dependabot malware alerts for your repositories (Settings → Code security → Dependabot). They cover npm packages in your manifests, not servers that only live in mcp.json, so do both.

Common questions

Which MCP servers on npm are malicious?

In November 2026 GitHub flagged 20 npm packages posing as MCP servers as malware, including the @ifasn/*-doc-mcp Markdown toolkits, @fdcasj_dfew/md-doc-mcp, @guicai777/mcp-doctor, mem0-mcp-server, mcp-contract-tester, @apexfdn/copilot-mcp and specific versions of tzero-mcp, vamp-mcp and karma365-mcp. The full list with flagged versions is in the table on this page.

How do I check if I installed a malicious MCP server in Cursor?

Search ~/.cursor/mcp.json, your project's .cursor/mcp.json and the npx cache (~/.npm/_npx/*/package.json) for the package names on this page. The grep command above does it in one go on macOS and Linux; there's a PowerShell version for Windows.

Does npm audit or Dependabot catch malicious MCP servers?

Only if the package is in your project's package.json or lockfile. Dependabot malware alerts check dependencies in your repository; an MCP server started with npx -y from mcp.json usually isn't there, so search your config and npx cache yourself.

I found one. Is removing it enough?

No. GitHub's advisories say any computer that installed or ran the package should be considered fully compromised and that removal may not remove everything it installed. Remove it, rotate your secrets from a different device, and consider rebuilding the machine.

Are the official MCP servers from GitHub, Supabase, Stripe or Vercel affected?

No official vendor MCP server appears in these advisories. Install them from the vendor's own documentation so you get the real package name.

Is it safe to use `npx -y` for MCP servers?

It runs whatever version of the package is current without asking. Pin an exact version ([email protected]), install only from the vendor's docs or your client's marketplace, and prefer a vendor's remote MCP server when one exists.

Related on VibeLiftoff