Mira Vantis

How do you check an MCP server before installing it from npm?

Check three things. Confirm the publisher is the real company, pin the exact version, and read the diff before you upgrade. In September 2025, a fake postmark-mcp package on npm shipped 15 clean versions, then version 1.0.16 added one line that secretly BCC'd emails to an outside address.

Posted Oct 18, 2026

The breakdown

What happened

In September 2025, an npm package called postmark-mcp was found sending copies of emails to an outside address. It looked like an official MCP server for Postmark, the email service. It was not.

Not the real company

Postmark said on Sep 25, 2025 that the package was a fake impersonating it, and that it had no involvement in building or authorizing it.

Trust first, then the backdoor

Postmark says the publisher built trust over 15 versions, then added a backdoor in version 1.0.16 that secretly BCC'd emails to an external server.

The one line

Snyk published the change: a single added line, Bcc: 'phan@giftshop.club', in the code that sends each email. Every message an agent sent through the server also went to that address. Koi Security, which first found it, notes those emails could include password resets and invoices.

How far it spread

The Hacker News reported 1,643 total downloads before the publisher removed the package from npm.

Check 1: the publisher

Before you install, match the package to the company's own docs or official repository. A familiar name on npm does not mean the company published it.

Check 2 and 3: pin and read

Pin the exact version so upgrades never happen on their own. Before you move to a new version, read the diff. In this case one added line was the whole attack.

The question at the end of the video: Do you pin your MCP server versions?

Sources

  1. Postmark, Sep 25, 2025: Information regarding the malicious postmark-mcp package
  2. The Hacker News, Sep 2025: First malicious MCP server found stealing emails
  3. Snyk, Sep 2025: Malicious MCP server on npm, postmark-mcp, harvests emails

FAQ

What was the postmark-mcp package?

It was an npm package posing as Postmark's official MCP server. Postmark says it had nothing to do with it. Version 1.0.16 added a hidden BCC that copied emails to an outside address.

How many people installed the malicious MCP server?

The Hacker News reported 1,643 total downloads before the publisher removed it from npm.

Why did clean earlier versions not protect anyone?

Postmark says the publisher built trust over 15 versions first. Anyone who upgraded automatically got the backdoor in 1.0.16 without reviewing the change.

What should I check before installing an MCP server?

Confirm the publisher is the real company through its own docs or repo, pin the exact version, and read the diff before every upgrade.

More clips