GitHub Tightens npm Protections After Malicious MCP Package Exposed Email Data
Supply Chain Risk · 2 sources · Updated 4mo ago · First seen Jan 1, 2026

GitHub announced a broader plan to harden the npm supply chain as a malicious package on the registry highlighted how attackers can abuse trust in emerging AI tooling. The package, postmark-mcp, impersonated or reposted a legitimate Model Context Protocol (MCP) server for the Postmark email service and later introduced a subtle payload rather than overt malware, underscoring the risk of seemingly benign packages in public repositories.
According to reporting on the incident, the malicious MCP package silently added a BCC recipient to emails sent through an AI agent, potentially leaking password resets, security alerts, receipts, and other sensitive messages to an attacker-controlled address. The case was described as a software supply-chain attack adapted to the MCP ecosystem, and recommendations focused on using official MCP servers from trusted sources, enforcing least privilege and authentication, reviewing code, and strengthening package verification as npm security controls evolve.


