---
title: "MCP Horror Stories: The WhatsApp Data Exfiltration Attack"
description: "A WhatsApp MCP vulnerability disclosed by Invariant Labs lets a malicious MCP server exfiltrate a user's entire WhatsApp message history."
url: "https://swe.quest/articles/mcp-horror-stories-the-whatsapp-data-exfiltration-attack-812475a620859f63"
canonical: "https://www.docker.com/blog/mcp-horror-stories-whatsapp-data-exfiltration-issue/"
source: "Docker"
published: "2025-11-13"
difficulty: "medium"
kind: "Deep dive"
reading_minutes: 16
tags: ["ai-agents","vulnerability-research","llms","security"]
---

# MCP Horror Stories: The WhatsApp Data Exfiltration Attack

A post on [Docker](https://swe.quest/sources/docker.md), published 2025-11-13, 16 min read, Deep dive. Original: [https://www.docker.com/blog/mcp-horror-stories-whatsapp-data-exfiltration-issue/](https://www.docker.com/blog/mcp-horror-stories-whatsapp-data-exfiltration-issue/)

## Summary

A WhatsApp MCP vulnerability disclosed by Invariant Labs lets a malicious MCP server exfiltrate a user's entire WhatsApp message history. It combines a "rug pull" tool-description swap after approval with tool poisoning that tells the agent to redirect send\_message to an attacker's number and embed list\_chats output. The payload hides behind trailing whitespace that client UIs like Cursor truncate, so the confirmation dialog shows only "Hi". A second variant needs no malicious server at all: the attacker sends a WhatsApp message whose text the agent reads via list\_chats and treats as instructions. The poisoned descriptions rely on authority language, technical jargon, threats of crashes or bad UX, and instructions to keep the user uninformed, all made possible by missing isolation between MCP servers, no detection of description changes, and unrestricted network access.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Vulnerability research](https://swe.quest/tags/vulnerability-research.md) (Security)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Security](https://swe.quest/tags/security.md) (Security)

## Prerequisites

- Model Context Protocol basics
- LLM tool calling ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- prompt injection ([easy posts on Application security](https://swe.quest/tags/appsec.md?difficulty=easy))

## Keywords

Model Context Protocol, WhatsApp, whatsapp-mcp, Invariant Labs, tool poisoning, Cursor, Docker

## Related posts

- [MCP Horror Stories: The Security Issues Threatening AI Infrastructure](https://swe.quest/articles/mcp-horror-stories-the-security-issues-threatening-ai-infrastructure-11571cbab816ae96.md): Docker · 2025-07-31 · Medium · 10 min read · AI agents, Security, Supply chain security, Containers, Sandboxing & isolation
  MCP servers expose AI agents to six recurring vulnerability classes: OAuth discovery flaws (e.g. CVE-2025-6514 in mcp-remote), command injection (reported in 43% of analyzed servers), unrestricted network fetches (33%), file path leakage (22%), tool poisoning (5.5%) and plaintext secret exposure.
- [MCP Security: A Developer’s Guide](https://swe.quest/articles/mcp-security-a-developer-s-guide-ee8f7d25fd64b2f2.md): Docker · 2025-09-16 · Easy · 8 min read · AI agents, Security, Supply chain security, Containers
  MCP servers expand what AI agents can do but introduce risks across four categories: misconfigurations and weak defaults, malicious or compromised servers, secret leakage, and prompt injection or tool poisoning.
- [MCP Horror Stories: The Supply Chain Attack](https://swe.quest/articles/mcp-horror-stories-the-supply-chain-attack-4511e601e3b80aa5.md): Docker · 2025-08-07 · Medium · 9 min read · Supply chain security, Vulnerability research, AI agents, Application security, Containers
  CVE-2025-6514 (CVSS 9.6) in mcp-remote, an OAuth proxy downloaded over 437,000 times, let a malicious MCP server achieve remote code execution on developer machines. mcp-remote passed the server-supplied authorization\_endpoint unvalidated to the npm 'open' package.
- [Run, Test, and Evaluate Models and MCP Locally with Docker + Promptfoo](https://swe.quest/articles/run-test-and-evaluate-models-and-mcp-locally-with-docker-promptfoo-ad1578ad40c09850.md): Docker · 2025-09-25 · Medium · 7 min read · Evaluation, AI agents, LLMs, AI safety, Containers
  Promptfoo, Docker Model Runner and Docker MCP Toolkit can be combined to evaluate LLM apps entirely on a dev machine.
- [5 Best Practices for Building, Testing, and Packaging MCP Servers](https://swe.quest/articles/5-best-practices-for-building-testing-and-packaging-mcp-servers-156585fac07369be.md): Docker · 2025-07-03 · Medium · 7 min read · AI agents, Containers, API design, Testing
  MCP servers work best when designed around the agent as the real caller: keep a small "tool budget" by grouping endpoints into use-case tools and prompts instead of one tool per API endpoint, and return error messages that tell the agent what to fix (e.g., an invalid API\_TOKEN configuration) rather than human-facing denials.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
