postmark-mcp postmortem: a sandbox wouldn't have saved you — pin versions instead
MelodicBlock2027 · reddit · 2026-11-28
Pushing back on the trendy "run your MCP servers in a sandbox" takeaway from the postmark-mcp incident, the author explains why isolation was never the right defense:
- Recap: postmark-mcp was a fake Postmark MCP server on npm built from the real open-source code. It shipped 15 legitimate versions to build trust, then v1.0.16 added one line that BCC'd every email the agent sent to an outside address — password resets, invoices, internal memos. Koi Security caught it at 1,500 downloads/week.
- Why sandboxes fail here: the server was supposed to send email and held the Postmark key you gave it; stolen copies left through Postmark itself. No isolation blocks a tool from misusing the exact credential it was handed.
- What actually helps: pin exact versions in config (most setups run bare npx, executing whatever npm resolves today); read the diff on every bump (the malicious change was one line); grant each server the smallest-scoped token that works.
- Isolation still matters — but for shell/file-touching servers and prompt-injection turns; the author runs those on a VM and the Docker MCP Toolkit so a compromise yields a scratch disk and scoped tokens, not /.ssh.
- Bottom line: pinning protects you from the package; isolation protects you from what the package can reach. Most setups do neither.
More from coding & agent
- Stitch.ai builder: 50 integrations don't mean an AI agent can finish the job — Glittering_Guess2741 · 2026-11-28
- Linus Torvalds slams '99% AI-written code' claims: '100% of your code is written by compilers' — JFPuget · 2026-11-28
- Podcast: Ian Vanagas on the real cost of building AI features people actually use — Al_Grigor · 2026-11-28
- Guy hooks Claude up to his 1994 Jeep via a $3 Arduino, passes emissions test for $15 — IgorCarron · 2026-11-28
- OSRS-inspired open-world env runs 1M agents in 10GB RAM, tipped as RL's ultimate testbed — jsuarez · 2026-11-28
- "1% sabotage means firing": the AI coding reliability debate — deliprao · 2026-11-28