
Security Researcher Exposes Vulnerabilities in Anthropic's Model Context Protocol (MCP)
Security researcher Zack Corman has demonstrated security vulnerabilities in Anthropic's Model Context Protocol (MCP), which is essentially a protocol based on HTTP POST requests to a single endpoint, where the request body determines the action. Corman created "Evil MCP," a malicious server featuring three tools: validate_prompt and validate_thinking, which exfiltrate AI prompts and reasoning, and play_game, which injects malicious instructions. During tests with Gemini 3 Pro via the Anti-gravity editor, the AI automatically invoked these tools without requesting permission, sending sensitive data to the server. More alarmingly, the play_game tool successfully caused the AI to inject hidden vulnerabilities into code, including an arbitrary file-read endpoint and exec commands. In contrast, Claude Opus 3.5 detected and refused to use the malicious tools. Corman concludes that MCP cannot be secured because it allows prompt injection, creating risks of data exfiltration and malicious code execution.