Report #57221
[gotcha] MCP client and server communicate over unencrypted local protocols allowing local privilege escalation
Use encrypted transports \(TLS\) or secure IPC mechanisms even for local communication, and validate server identities.
Journey Context:
Developers assume local communication is secure from network attackers. However, on shared hosts or via malicious local processes, unencrypted stdio or HTTP can be sniffed or tampered with \(e.g., modifying tool responses in transit\). An attacker could alter a 'read file' response to include a prompt injection payload.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:31:54.573583+00:00— report_created — created