Skip to main content
Mallory
← Back to News

Malicious npm Package postmark-mcp Exfiltrates User Emails via Hidden BCC

11 sources · Updated 5mo ago · First seen Sep 25, 2025

Malicious npm Package postmark-mcp Exfiltrates User Emails via Hidden BCC

A malicious version of the npm package postmark-mcp, designed to act as a Model Context Protocol (MCP) server for AI assistants to send emails through the Postmark service, was discovered to be exfiltrating user emails by surreptitiously adding a blind carbon copy (BCC) to an external domain. The package, which appeared to be a legitimate port of the official Postmark MCP server, was published on npm and underwent rapid version iterations between September 15 and September 17, 2025. According to security researchers, the malicious behavior was introduced in version 1.0.16, which added a single line of code to forward all outbound emails to an external address at giftshop[.]club, controlled by the package's developer. This backdoor persisted in subsequent versions, including 1.0.18, and was not present in earlier releases. The package was downloaded approximately 1,500 times during the week it was available, potentially exposing thousands of sensitive emails, including password resets, two-factor authentication codes, financial information, and customer communications. The malicious package was a near-identical replica of the authentic GitHub project, making it difficult for users to distinguish between the legitimate and compromised versions. The abrupt removal of all third-party dependencies in version 1.0.18 suggested attempts to evade detection or launder the package's history. MCP servers typically operate with high trust and broad permissions, meaning any compromise can have significant security implications for organizations relying on agentic workflows. Security experts recommend that anyone who installed or used postmark-mcp since mid-September 2025 should immediately uninstall the package, rotate any credentials that may have been exposed, and review email logs for evidence of BCC traffic to the malicious domain. The incident underscores the risks inherent in supply chain attacks, particularly when attackers impersonate trusted open-source components. The official MCP server hosted by ActiveCampaign on GitHub was not compromised, but the existence of a similarly named and described package on npm facilitated the attack. The developer responsible for the malicious package removed it from npm after the issue was publicized, but not before significant data exposure had occurred. The case highlights the need for rigorous auditing of third-party packages, especially those with access to sensitive communications. Security researchers and media outlets have called for increased vigilance and monitoring of MCP servers and similar components in AI-driven environments. The incident is notable as one of the first widely reported supply chain attacks involving a malicious MCP server targeting AI assistant workflows. Organizations are urged to audit their environments for the presence of the compromised package and to implement stricter controls over the adoption of open-source dependencies. The attack demonstrates how a single line of code in a widely used package can have far-reaching consequences for data privacy and organizational security.

Do you run this?See affected versions and whether adversaries are exploiting it against assets like yours.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Sep 25, 2025 – Sep 28, 2025
  1. Sep 28, 20251y ago

    Technical analysis reveals one-line BCC exfiltration method

    Follow-on reporting and analysis explained that the package's theft mechanism relied on a minimal code change that secretly copied outbound emails to an attacker-controlled address. Additional writeups provided hunting and detection guidance for affected users and environments.

  2. Sep 25, 20251y ago

    Security researchers disclose email-stealing behavior in postmark-mcp

    Researchers publicly reported that postmark-mcp was a malicious MCP server package on npm that harvested emails and potentially other secrets. Coverage described it as the first known malicious MCP server package identified in the ecosystem.

  3. Sep 25, 20251y ago

    Malicious postmark-mcp package published to npm

    An unofficial npm package named postmark-mcp was published as an MCP server for the Postmark email service. The package contained malicious code designed to silently copy users' emails by adding a hidden BCC/exfiltration mechanism.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Observables

2 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See affected versions and whether adversaries are exploiting it against assets like yours.
Check your exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.