← Lab /Security & privacy

VIPER-MCP finds 106 zero-day taint-style bugs in MCP servers

VIPER-MCP discovered and dynamically confirmed 106 previously unknown vulnerabilities in real-world MCP server code

Security & privacy arXiv 20 May 2026 Measurement Prototype evidence

Published as “VIPER-MCP: Detecting and Exploiting Taint-Style Vulnerabilities in Model Context Protocol Servers”

Why it matters

The framework enables automated, large-scale discovery and confirmation of exploitable taint-style bugs in MCP servers, giving defenders concrete patches and highlighting a widespread attack surface in agent-mediated tool integration.

Summary

VIPER-MCP discovered 106 previously unknown taint-style vulnerabilities across 39,884 open-source MCP servers and confirmed all of them with end-to-end exploit traces, achieving a 4.6% false-positive rate and a 7.7% false-negative rate, which outperforms two existing MCP security baselines. The paper reports large-scale scanning, detailed ablations, and a mean runtime of about 15 minutes per server.

Caveats 4

  • The false positives of VIPER-MCP arise from benign-by-design dangerous tools: MCP servers intentionally built for administrative operations such as shell execution or direct file manipulation.
  • The remaining false negatives occur because the MCP servers contain taint-style vulnerability classes that VIPER-MCP does not yet model, such as SQL injection and Code Injection.
  • The false positives of VIPER-MCP arise from benign-bydesign dangerous tools: MCP servers intentionally built for administrative operations such as shell execution or direct file manipulation.
  • While the majority of servers are analyzed efficiently, a small fraction exhibits substantially longer runtimes.

What’s new here 4

  • Anchors static CodeQL taint alerts to concrete MCP tool handlers, enabling precise dynamic targeting.
  • Introduces a feedback-driven prompt evolution loop with dual mutators that iteratively refines natural-language prompts to reach the vulnerable sink.
  • Combines static taint guidance with a surrogate LLM agent to automatically produce proof-of-concept prompts that trigger the vulnerability end-to-end.
  • Applies the full pipeline at scale to tens of thousands of real-world MCP repositories.