mlsanityData to 14 Oct 2026

VIPER-MCP: Detecting and Exploiting Taint-Style Vulnerabilities in Model Context Protocol Servers

arXiv 2605.21392 ↗First posted 20 May 2026cs.CRcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Model Context Protocol (MCP) has emerged as a standard interface for connecting LLM agents to external tools. Because MCP servers expose privileged operations such as shell execution, network access, and file-system manipulation to agent-driven invocation, implementation flaws in tool handlers can create a direct path from natural-language input to security-sensitive sinks, potentially granting attackers remote code execution or full system compromise. Existing approaches either produce unconfirmed static alerts without dynamic validation, or rely on fixed template libraries that lack code-level guidance and fail to trigger vulnerabilities requiring specific parameter shapes or multi-step taint paths. In this paper, we present VIPER-MCP, the first end-to-end automated vulnerability auditing framework for MCP servers that not only detects taint-style vulnerabilities but also dynamically confirms their exploitability by producing concrete proof-of-concept prompts. VIPER-MCP introduces two novel techniques: (1) an anchor-query pass in a two-pass static analysis strategy that augments standard taint alerts with function-level structural context, resolving file-level static artifacts to specific MCP tool handlers and producing vulnerability-anchored call chains; and (2) a feedback-driven prompt evolution mechanism that employs dual-mutator scheduling that independently corrects tool-selection drift and deepens parameter penetration, together with fitness-scored seed selection to iteratively refine natural-language prompts toward vulnerable sinks. In a large-scale scan of 39,884 real-world open-source MCP server repositories, VIPER-MCP discovered 106 0-day vulnerabilities, all of which were confirmed through end-to-end exploit traces, with 67 CVE IDs assigned to date.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 22 of its 77 references that are in the map. First posted on arXiv 20 May 2026.

Builds on

22 of 77 references.

Closest ancestors · 7

Same direction, newest first

  1. 2026ChainFuzzer: Greybox Fuzzing for Workflow-Level Multi-Tool Vulnerabilities in LLM Agents13 Mar
  2. 2026MCP-in-SoS: Risk assessment framework for open-source MCP servers10 Mar
  3. 2026Don't believe everything you read: Understanding and Measuring MCP Behavior under Misleading Tool Descriptions3 Feb
  4. 2025A Measurement Study of Model Context Protocol Ecosystem29 Sep
  5. 2025Beyond the Protocol: Unveiling Attack Vectors in the Model Context Protocol (MCP) Ecosystem31 May
  6. 2025Prompt Injection Attack to Tool Selection in LLM Agents28 Apr
  7. 2025MCP Safety Audit: LLMs with the Model Context Protocol Allow Major Security Exploits2 Apr

Other references · 15

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2025Qwen3 Technical Reportcited by 8,820
  4. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  5. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
  6. 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,121
  7. 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directionscited by 265
  8. 2025Safety Tax: Safety Alignment Makes Your Large Reasoning Models Less Reasonablecited by 122
  9. 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 103
  10. 2023PentestGPT: An LLM-empowered Automatic Penetration Testing Toolcited by 97
  11. 2025Model Context Protocol (MCP) at First Glance: Studying the Security and Maintainability of MCP Serverscited by 65
  12. 2025LLM-Driven Adaptive Source-Sink Identification and False Positive Mitigation for Static Analysiscited by 8
3 more
  1. 2025QLPro: Automated Code Vulnerability Discovery via LLM and Static Code Analysis Integrationcited by 6
  2. 2025Artemis: Toward Accurate Detection of Server-Side Request Forgeries through LLM-Assisted Inter-Procedural Path-Sensitive Taint Analysiscited by 5
  3. 2026Auditing MCP Servers for Over-Privileged Tool Capabilitiescited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Mitigating Taint-Style Vulnerabilities in MCP Servers via Security-Aware Tool Descriptions
  2. 2026Unsafe by Flow: Uncovering Bidirectional Data-Flow Risks in MCP Ecosystem
  3. 2026Breaking the Protocol: Security Analysis of the Model Context Protocol Specification and Prompt Injection Vulnerabilities in Tool-Integrated LLM Agents
  4. 2025MCPGuard : Automatically Detecting Vulnerabilities in MCP Servers
  5. 2026MCP-SandboxScan: WASM-based Secure Execution and Runtime Analysis for MCP Tools
  6. 2025MCP Security Bench (MSB): Benchmarking Attacks Against Model Context Protocol in LLM Agents
  7. 2025MCPXKIT: The Unified Toolkit for Analyzing Model Context Protocol Security
  8. 2026FlowGuard: From Signals to Evidence for MCP Security Detection