FlowGuard: From Signals to Evidence for MCP Security Detection
Abstract
The Model Context Protocol (MCP) enables LLM agents to interact with external tools through metadata exchange, tool invocation, and response consumption. Existing MCP security scanners primarily reason about suspicious semantic signals rather than real execution behaviors, which can lead to unreliable risk assessment. For example, credential-like strings may simply be placeholders rather than actual leakage. This gap requires runtime evidence for execution-related risks and careful semantic analysis for risks carried in metadata or returned content. We present FlowGuard, an evidence-grounded MCP security detection system. FlowGuard combines semantic risk triage, recon-guided payload narrowing, schema-valid probe generation, evidence adjudication, and history-guided refinement. It verifies execution-related risks through runtime evidence and detects semantic risks in tool metadata and returned content. We evaluate FlowGuard on an executable benchmark containing 1,880 MCP cases across five vulnerability categories. FlowGuard achieves F1 scores of 0.879 and 0.942 on the execution-related Command Injection and File System Access categories, respectively. Compared with existing dynamic scanners, FlowGuard reduces end-to-end latency by up to 2.23x. In the real-world evaluation, FlowGuard reports 523 findings across 326 servers. These results show that evidence-grounded detection can assess both execution-related and semantic risks in MCP interactions.
Create a lesson
Related papers
Signal-based Model Access Risk Analysis for AI System Operations Security
Shared title terminologycs.CRMaria Mahbub, Steven Young, Amir Sadovnik et al.
Explaining Intrusion Alert Decisions of Deep Learning-based Network Intrusion Detection Systems for Security Analysts
Shared title terminologycs.CRAyush Kumar, Vrizlynn L. L. Thing
Operational Evidence Gaps for LLMs in Fraud Detection and Trust-and-Safety Workflows
Shared title terminologycs.CRKeyur Gabani
A Survey of Security, Privacy, and Ethics of Large Language Models in Telecom
Shared title terminologycs.CRJoy Bose, Srinivas Adyapak
Distance from the Truth: Why Fragmented Merchant Underwriting Misses Risk, and What Source-Attributable Evidence Changes
Shared title terminologycs.CRRussell Lessard, Jeremy Blackburn, Tim Hines et al.
From Models to Services: Systematizing Security Assurance for Model-as-a-Service
Shared title terminologycs.CRJianming Zhou, Yang Luo, Guangpu Chen et al.