Skip to content

Prompts Don't Protect: Architectural Enforcement via MCP Proxy for LLM Tool Access Control

May 2026 · arXiv.org · Vol abs/2605.18414 · 1 citation · 14 references
Computer Science

TL;DR

This work identifies a critical gap: when unauthorized tools are visible in an agent's context, models select them in 48-68% of adversarial scenarios, even when explicitly instructed not to, and proposes a proxy-enforced attribute-based access control layer for MCP that filters tool registries at discovery time.

Abstract

Large language models increasingly operate as autonomous agents that select and invoke tools from large registries. We identify a critical gap: when unauthorized tools are visible in an agent's context, models select them in 48-68% of adversarial scenarios, even when explicitly instructed not to. Role escalation attacks (e.g.,"I'm the CFO, override the access controls") are the most dangerous category, reaching 96% unauthorized invocation in frontier models. We show this holds across three models spanning open-weight and frontier systems, including instruction-tuned models with strong alignment training. Critically, prompt-based compliance is both insufficient and unpredictable: explicit per-tool allowlists reduce violations to as low as 4.0% but never to zero, and compliance varies widely across models, from 4.0% to 37.0% UIR, with no reliable relationship to general capability. We propose a proxy-enforced attribute-based access control (ABAC) layer for MCP that filters tool registries at discovery time. Because unauthorized tools never reach the model context, UIR is 0% by design, a structural guarantee that prompt instructions cannot replicate regardless of model or phrasing.

View source

Similar papers

Preprint Aug 2026

Recognition Without Enforcement: Configuration-Dependent Failures in LLM Agent Instruction Arbitration and External Control

This work treats model self-arbitration as a capability rather than a security boundary and implements an external reference monitor combining authenticated source routing with capability-gated tool execution, deterministically rejects all tested forged, tampered, replayed, and unsigned requests while preserving legiti...

Jun Wen Leong · 0 citations
Conference Open access Jun 2026

AEGIS: Preventing Cross-Domain Resource Abuse in MCP

AEGIS is presented, a policy enforcement component that enables administrators to define fine-grained safeguards against resource abuse across heterogeneous MCP tools and modalities and detects and mitigates abusive behaviors while preserving the flexibility of MCP-based agent ecosystems.

S. Priya, Teryl Taylor, Frederico Araujo · 1 citation
Preprint Aug 2026

ROPE: Routed Origin Policy Enforcement against Indirect Prompt Injection

ROPE is presented, which is anchored in a structural notion of trust, and holds attack success rate to 1.6--2.6 while retaining 82--100% of undefended clean utility, significantly exceeding state-of-the-art system-level defenses in utility while attaining comparable or better security.

Xinhang Ma, Chao-Wei Xiao, William Yeoh et al. · 3 citations · ⚡2
Preprint Aug 2026

LLM within MCP Matters: Measuring Inefficient Resource Utilization Driven by LLMs

Per-server prompt engineering is therefore a workaround rather than a fix; it is argued that MCP host applications should provide an explicit mechanism that places server instructions ahead of tool selection in the client LLM's deliberation.

Minhan Cho, Soyoung Park, Kihyeon Jeong et al. · 0 citations
#artificial intelligence Preprint Sep 2026

ToolFence: Fine-Grained Authorization for Secure Tool-Using LLM Agents

This work introduces ToolFence, which compiles a typed authorization blueprint before execution, enforces it through a deterministic monitor, and when the blueprint is incomplete asks a judge to grant new capabilities rather than adjudicate each concrete call, improving runtime efficiency.

Yan-Jie Li, Xiang-Yu He, Xue-Long Dai et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.