ShadowBench-MCP: Measuring Shadow Invocations in MCP-Style Tool Routing
Abstract
LLM agents increasingly act as routers for tools, APIs, and software-supply-chain workflows, making an execution path - rather than generated text alone - a security-relevant model output. We study shadow invocation: a task-preserving request variant that causes an LLM router to select a riskier execution path, potentially skipping validation, provenance, staging, redaction, or audit controls even though the request does not ask for a malicious action. We introduce ShadowBench-MCP, a benchmark and metric suite that separates task preservation (TPSS), operational pressure (OPSS), and route-geometric drift (RGAS), and combines them in the pre-execution SODS score. In a focused policy-ablation study using a Groq-hosted qwen/qwen3-32b router, 120 routing decisions yield 96 original-versus-variant comparisons across six security-sensitive workflows. Efficiency-first routing produces a 29.2% shadow-invocation rate and 26.7% safety-tool skip rate. Policy-aware routing reduces these to 4.2% and 1.7%, respectively, corresponding to an 85.7% relative reduction in shadow invocations. Pre-execution signals distinguish shadow routes with ROC AUC up to 0.94. These results are early, single-router evidence of a policy-dependent routing-layer security effect, not a claim of universal vulnerability.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI, cs.MA, cs.SY, eess.SY
- Comments
- Presented at the 35th USENIX Security Symposium (USENIX Security 2026)
Related papers
Separating Measurement Failures from Defence Failures in Split Language-Model Privacy
Shared title terminologycs.CRGeorgios Politis, Evangelos Pappas
Where Agent Defenses Fail: A Case Study of Policy Compositions and Measurement Limits
Shared title terminologycs.CRKunwar Singh Sangram, Krishna Mohan Guda Nagavenkata Srinivasa
Per-Attack Blocking Hides Catalog Vulnerability: A Weakest-Link Analysis of Tool Manifests
Shared title terminologycs.CRKarthik Karunanithi
Oops!... I Parsed It Again: Tool-Call Smuggling Against LLM Agents
Shared title terminologycs.CRIgor Santos-Grueiro, Daniel Romero-Ruiz
CyberDualEval: Measuring Dual-Use Cyber Risks in Frontier Language Models
Shared title terminologycs.CRMagnus Saebo, Francesco Piccoli, Maxwell Watson et al.
Bounded Autonomy: A Trust-Anchored Defense Against Resource-Exhaustion Attacks on Tool-Augmented LLM Agents
Shared title terminologycs.CRZiyuan Chen, Yueming Lyu, Songze Li et al.