Fake postmark-mcp server secretly copies emails sent by AI assistants to an attacker
An npm package called postmark-mcp, posing as an MCP server for the Postmark email service, added a hidden BCC in version 1.0.16 that copied every email sent through it to an address on an attacker-controlled domain. AI assistants using the server to send email therefore leaked each message without users noticing. Postmark said it had nothing to do with the package, which disappeared from npm after Koi Security contacted the publisher.
The publisher had built trust over 15 versions before adding the backdoor, and CSO Online reported about 1,500 weekly downloads. Users were advised to remove the package, rotate any credentials sent by email and audit the MCP servers they run.
What would have stopped it
Install MCP servers only from verified publishers and pin and review versions before updating.
Guardrails
- G1 Least privilege Failed The MCP server held full send access to users' email with the assistant's own privileges.
- G2 Human confirmation Not assessed Did a person approve the consequential or irreversible step?
- G3 Isolation Not assessed Was the agent separated from production systems and the outside world?
- G4 Instruction integrity Failed A poisoned third-party tool was installed and used with no verification of its publisher or updates.
- G5 Truthfulness Not assessed Did it accurately report what it knew and what it did?
- G6 Limits Not assessed Was there a cap on rate, spend, volume or scale?
- G7 Oversight Failed The hidden BCC was invisible to users until an outside scanner flagged version 1.0.16.
- G8 Recovery Failed Copied emails cannot be recalled; deleting the package did not remove installed copies.
Sources
-
“Here's what happened: A malicious actor created a fake package on npm impersonating our name, built trust over 15 versions, then added a backdoor in version 1.0.16 that secretly BCC’d emails to an external server.”
-
“Current analysis suggests the behavior began around 1.0.16 and persisted in later versions.”
-
“Once the version was published, each time the tool sent an email, it also silently forwarded a copy to phan@giftshop.club, a domain tied to the attacker.”
Confidence 89% comes from these sources alone. How we score
History
- 14 Oct 2026Entered in the register with 3 sources