Notice
incidentAGT-INC-2026-0006
Invariant Labs: whatsapp-mcp agent steered to leak WhatsApp chats via tool-description rug pull or injected message
A behavioral incident: no malicious file, but an agent did something it should not have.
What happened
- Agent
- MCP client with whatsapp-mcp
- Date
- 2025-04
- Trigger
- prompt injection
- Impact
- data leak
- Root cause
- Per Invariant Labs, a malicious MCP server changes its tool description after approval to alter how the agent uses whatsapp-mcp's send_message (never needing to be called), or a crafted WhatsApp message read via list_chats hijacks the agent. Data leaves via the trusted WhatsApp channel; the approval dialog hides part of the message.
What would have stopped it
- pinning tool descriptions by hash
- showing full tool descriptions in the UI
- cross-server data-flow controls
Sources
- invariantlabs.ai https://invariantlabs.ai/blog/whatsapp-mcp-exploited
Wrong or outdated? Open an issue or PR against corpus/entries/AGT-INC-2026-0006.json.