← Lab /AI/ML

Architectural proxy eliminates unauthorized tool calls, prompting only cuts them modestly

The proposed MCP proxy reduces unauthorized tool invocation rate to 0% across evaluated models

AI/ML arXiv 18 May 2026 Defense Prototype evidence Threat model

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

Why it matters

Operators of LLM agents should enforce tool access at the infrastructure layer rather than rely on prompt instructions, because architectural filtering guarantees zero unauthorized tool use.

Summary

The paper shows that a proxy enforcing attribute-based access control at MCP discovery eliminates unauthorized tool use, achieving 0% Unauthorized Invocation Rate (UIR) across three LLMs and 200 adversarial tasks. By contrast, prompt-based allowlists only reduce UIR to between 4% and 37%, and models still select forbidden tools 48-68% of the time when all tools are visible. The evidence comes from a controlled benchmark with three models (Llama 3.1 8B, Qwen 2.5 7B, Claude Haiku 3.5) and a realistic registry of 507 tools, demonstrating a structural guarantee that prompting cannot provide.

What they found 3

  1. The governed proxy achieves zero unauthorized tool invocations across all models and tasks.

    “Under Governed, the proxy removes unauthorized tools before populating the model context, reducing UIR to exactly 0% across all models and all 200 tasks - a guarantee no prompt can provide.”

  2. Prompted allowlists still leave a substantial attack surface, with UIR ranging from 4.0% to 37.0% depending on the model.

    “Prompted UIR varies widely across models, from 4.0% to 37.0%.”

  3. Role-escalation attacks are especially effective, reaching 96.0% UIR for Claude Haiku 3.5 in the unfiltered condition.

    “Role escalation (C) is the most dangerous attack type, reaching 96.0% for Claude Haiku 3.5 unfiltered - the highest of any category across all models.”

Caveats 5

  • Even with an explicit per-tool allowlist, Qwen 2.5 7B still exhibits 37.0% UIR, showing that prompting cannot reliably block unauthorized tools.
  • Our prompted baseline uses a single system prompt template representing the strongest practical defense - an explicit per-tool allowlist with a direct prohibition.
  • We did not explore chain-ofthought, few-shot exemplars, or iterative refinement; more sophisticated prompt engineering may achieve lower UIR, though our results show the gap to zero is model-dependent and unpredictable.
  • The governed proxy is evaluated in a simulated setting - latency figures reflect local deployment and may differ under network conditions or high concurrency.
  • We evaluate three models; results may not generalize to all LLM architectures.

What’s new here 4

  • Introduces a governed MCP proxy that filters tool registries before they reach the model, providing a structural 0% UIR guarantee.
  • Provides a 200-task adversarial benchmark covering four attack categories and six attribute domains for evaluating tool-access control.
  • Empirically demonstrates that prompt-based per-tool allowlists are unreliable, with UIR varying widely across models.
  • Shows that architectural enforcement adds <2 ms overhead and requires no model modification.

Threat model stated by the source

Adversaryauthorized LLM agent attempting to invoke tools outside its permitted attribute set
Capabilitycan craft adversarial task prompts and exploit prompt-injection or role-escalation techniques
Assumestrusted JWT issuer; uncompromised tool registry; proxy enforces ABAC policies