Fake Postmark Package Copies Every Email

Help Net Security · High sophistication
Last updated November 25, 2026

Elastic Security 9.6 is primarily a product announcement, but it cites a real software supply-chain incident relevant to awareness training. An npm package impersonated a Postmark MCP server and copied every outgoing email to an attacker, showing how developers can be deceived by a package that appears to be a legitimate integration.

How the attack worked

A developer package presented itself as a legitimate Postmark MCP server integration, the kind of tool developers commonly install to connect coding assistants or automation workflows to an email delivery service. Rather than performing only the advertised function, the package copied every outgoing email it handled and sent that copy to an attacker. Because the package mimicked a well known vendor integration, it blended in with the normal flow of developer tooling decisions rather than triggering obvious suspicion.

A related incident involved malicious versions of the Nx build tool, which invoked AI coding tools already installed on a developer machine to search for sensitive files. Both cases show attackers using trusted developer workflows, package installation and build tooling, as the entry point rather than targeting an end user directly.

Why it succeeded

This style of attack succeeds because developers routinely install third party packages and MCP servers to extend coding assistants and automation pipelines, and the review process for these installs is often lighter than for production code changes. A package name and description that closely resemble an official integration can be enough to earn trust. Once installed, the package can operate with whatever permissions it requests, including access to outgoing email, source code, or credentials, without further scrutiny.

What to watch for

  • A package that impersonates a well known vendor integration rather than being published or verified by that vendor
  • A package or MCP server requesting access to outgoing email, credentials, or source code beyond its stated purpose
  • Package names, publishers, repositories, or documentation that do not match official vendor channels
  • Build tools or coding agents exhibiting unexpected behavior, such as searching for sensitive files or attempting to establish persistence

How to build resistance

Organizations should require developers to verify package publishers and official sources before installing MCP servers, plugins, or AI agent integrations, and treat any package requesting broad access to email, code, or credentials as high risk until its permissions and provenance are reviewed. Developers should also be trained never to paste credentials or secrets into AI prompts, relying instead on approved secret management processes. Finally, security teams should monitor for coding agents hijacked to execute attacker commands, malicious MCP servers, and unusual persistence attempts by build tools, since these behaviors reflect the same technique category, T1656, seen in both the Postmark and Nx incidents. Building this awareness into developer onboarding and ongoing training reduces the chance that a convincing but fraudulent package goes unnoticed.

Key findings

  • Elastic cited a real incident involving an npm package that impersonated a Postmark MCP server.
  • The impersonating package copied every outgoing email to an attacker.
  • Elastic also cited malicious versions of the Nx build tool that invoked installed AI coding tools to locate sensitive files.
  • The new detection content includes coverage for coding-agent hijacking, malicious MCP servers, credentials entered into prompts, jailbreaks, and stolen API keys.

Who’s being targeted

  • Commonly targeted roles: Developers, DevOps engineers, Platform engineers, Application security teams, Security operations teams, Engineering leadership.
  • Affected industries: Software development, Technology, Organizations using AI coding agents, Organizations using email-delivery integrations.
  • Attack channels: website.
  • Impersonated: Postmark MCP server.

Red flags to watch for

  • The package impersonates a well-known vendor integration rather than being published or verified by the vendor.
  • A package requests access to outgoing email or sensitive application credentials that exceed its stated purpose.
  • The package name, publisher, repository, or documentation does not match official Postmark channels.
Try Mirage

Mirage safely runs attacks like this one against your own team, so you find out what happens before a real adversary does.

Get a demo

Frequently asked questions

What happened in the fake Postmark package incident?

An npm package impersonating a Postmark MCP server copied every outgoing email to an attacker, exploiting developers who trusted it as a legitimate integration.

How can developers avoid installing malicious MCP servers or packages?

Verify that a package is published by the official vendor, check its documentation and repository against official sources, and treat any request for access to email, credentials, or source code as high risk until reviewed.

Were other similar incidents reported alongside the Postmark case?

Yes, malicious versions of the Nx build tool were also cited, which invoked installed AI coding tools to locate sensitive files on developer machines.

What should organizations do to detect this kind of supply chain abuse?

Monitor for coding agents being hijacked to run attacker commands, malicious MCP servers, credentials pasted into prompts, and unusual persistence attempts by build tools or AI coding assistants.

Read the video transcript

That Postmark MCP server package? It might copy every email. A real npm package posed as a Postmark integration. The pitch: connect your coding assistant to email delivery. Once installed, it copied every outgoing email to someone else. Here's the tell: a familiar vendor name isn't proof. Check the npm publisher, repository, and docs against Postmark's official site, especially when the package wants email access or credentials. Before installing any MCP server, confirm its publisher through the vendor's official site.

MITRE ATT&CK techniques

Categories

Similar attacks

Hotel Wi‑Fi Lures and Entra Vishing Hit Users

Hotel Wi‑Fi Lures and Entra Vishing Hit Users

The article reports real-world social engineering operations, including a hotel Wi‑Fi campaign that pushed fake updates and device-code phishing to steal Microsoft 365 access. It also describes an alleged Microsoft Entra vishing campaign tied to data theft claims at Brinks Home, reinforcing the…

August 7, 2026
AI Browser Tricked into Spamming WhatsApp, Shopping

AI Browser Tricked into Spamming WhatsApp, Shopping

Researchers showed how a malicious web page could trick OpenAI’s Atlas AI-enabled browser into taking actions a user didn’t intend, like spamming WhatsApp contacts or modifying an Amazon account. The attacks used prompt-injection style instructions hidden in a seemingly legitimate “newsletter…

August 6, 2026
ChatGPT Billing Phish and Fake Snap Support Scams

ChatGPT Billing Phish and Fake Snap Support Scams

This roundup describes real-world social engineering, including phishing emails that impersonate ChatGPT billing to steal payment card data and a convicted attacker who posed as Snapchat support to trick people into handing over login codes. The common theme is impersonation of trusted brands to…

July 31, 2026
Google Doc “Fix” Trick Delivers Malware

Google Doc “Fix” Trick Delivers Malware

A real-world social engineering attempt used a legitimate Google Doc to trick a target into manually running commands that installed malware. The attacker posed as a crypto marketing executive and used a fake “decryption failure” message and a “manual update” button as the lure, leading to an…

September 21, 2026
DocuSign-Themed M365 AiTM Phish Uses Redirect Chain

DocuSign-Themed M365 AiTM Phish Uses Redirect Chain

The recap describes a real Microsoft 365 phishing campaign using DocuSign-themed emails that push victims through multiple redirects to a fake sign-in page. The goal is to steal session tokens (so attackers can log in even if a password changes) and also perform “device code” style sign-in abuse.…

September 7, 2026
Planted Text Tricks AI Agents Into Bad Clicks

Planted Text Tricks AI Agents Into Bad Clicks

Researchers demonstrated a new “agent data injection” technique where attackers plant content (like a review or GitHub comment) that an AI agent mistakenly treats as trusted system data. In tests, this caused web-browsing agents to click the wrong buttons (e.g., “Buy Now”) and coding agents to run…

July 16, 2026