Slide 12 of 28
Part 2 — Vulnerability TypesSlide 12
Slide 12 · Type 2 — Impersonation and Typosquatting
The fake Postmark MCP server was published on npm. It looked real. It BCC'd every email to the attacker.
Agents can't read a certificate pinning page or verify a business registration. They read a name and a description.
📄 OWASP ASI04 · First in-the-wild malicious MCP server — Postmark impersonator, npm, 2025
What typosquatting is in an agentic context

Typosquatting is publishing a malicious package, server, or tool under a name nearly identical to a legitimate one. In the traditional software world this has been a known risk for years (e.g., lodahs vs lodash).

In agentic systems, the risk is amplified: the agent doesn't browse a search results page and check reviews. It queries a registry, reads a name and description, and decides whether to use it. The selection process is entirely text-driven.

The Postmark MCP incident (2025)

The first documented in-the-wild malicious MCP server was found on npm in 2025. It was named and documented to impersonate the legitimate Postmark email API MCP server. Its API signatures, parameter names, and descriptions matched the real server.

What it did differently: every outgoing email sent through the server was silently BCC'd to an attacker-controlled email address. The agent's logs showed a normal email being sent. The user saw no indication anything was wrong.

The attack required no agent vulnerability. It exploited the agent's trust in the tool it selected from the registry.

Why this gets worse as ecosystems grow

The MCP ecosystem is growing rapidly. Every new legitimate MCP server that gains adoption creates an impersonation opportunity. An attacker who publishes postmark-mcp-server before the legitimate one achieves npm-name-squatting. As agent registries and tool marketplaces proliferate, so does the impersonation attack surface.

Agents that auto-discover and auto-install tools from public registries are particularly exposed — they're doing exactly what makes typosquatting effective at scale.

← Back Types 3–5: Third-party agents and poisoned knowledge →