Intent-Bound Authorization: Closing the Privilege Escalation Gap in MCP Tool Calls

The paper proposes intent-bound authorization at the MCP protocol boundary, using task passports and a local inspector to block unauthorized tool calls from hijacked agents.
The article notes that existing MCP authorization only decides which tools a client can call, without knowing the user's current task, letting prompt-injected agents legitimately abuse authorized tools. The paper proposes intent-bound authorization: a trusted issuer signs a per-task passport, the SemFW proxy rejects out-of-scope calls, a local inspector judges whether in-scope calls deviate from intent, and high-risk calls go to human approval. On a fixed corpus, passports blocked all scope and resource escalation attacks, and the inspector cut in-scope abuse from 100% to at most 4.2% while passing 85.3%-88.2% of benign calls. In AgentDojo multi-step sessions, tracking parameter provenance dropped the Gemma inspector's false positive rate from 32.4% to 6.9%. Tamarin verification also found that standard proof of possession doesn't cover the request body, so an observed proof can authorize a different call. The impact on clean task completion remains untested.

MCP (Model Context Protocol) is becoming the de facto standard for LLM agents to call external tools, but its authorization model has a fundamental blind spot: authorization happens at the moment a token is issued, deciding which tools a client can call, yet knowing nothing about what task the user is actually trying to accomplish. The result: an agent authorized to call a tool, if hijacked by hidden instructions in a tool's returned results, can still "legitimately" abuse that tool. This paper proposes an approach called "intent-bound authorization" — binding each tool call to the user's actual task.
The Structural Flaw in MCP Authorization
Existing MCP authorization answers the question "is this client eligible to call this tool," not "does this call serve the user's current task." The gap between these two questions is exactly where prompt injection attacks live.
The paper points out that an LLM agent can follow instructions hidden in tool return results to abuse a tool it was already authorized to call. Traditional authorization is powerless against this because it never touches the user's task description. Such calls — with correct permissions but wrong intent — slip right past all token-based access controls.
The paper's assessment of the two existing defense approaches is blunt: they are either too strict or too loose, and neither strikes a balance achievable in real-world scenarios.
Prompt injection attacks are the key background for understanding this paper's threat model. In LLM agent scenarios, prompt injection typically refers to an attacker hiding malicious instructions in tool return results, web page content, or documents, inducing the model to execute them as legitimate instructions. Unlike traditional software vulnerabilities, these attacks don't rely on code execution; they exploit the model's tendency to comply with natural language instructions. Since MCP tool calls are themselves legitimate authorized actions, an attacker only needs to poison tool output to make the agent perform unintended operations within its permission scope — meaning token-based authorization alone cannot defend against them.
The Solution: Task Passport + Protocol Boundary Inspection
The paper's design consists of three layers of mechanism, with the core idea being to refine authorization granularity from "client-tool" to "task-tool."
Task passport: A trusted issuer issues a passport for each task, listing the tools and resources that task is allowed to call. Any call outside the passport's scope is directly rejected by SemFW (an MCP proxy). This layer addresses scope escalation and resource escalation.
Local inspector: For calls within the passport's scope, the proxy asks a local model — the inspector — whether the remaining call truly serves the task. It intercepts abuse that is "within permissions but deviates from intent."
Human approval: Calls flagged as high-risk are routed to an authenticated human, forming the last gate.
The key to this layered design is that inspection happens at the protocol boundary, not inside the model. The paper argues that checking calls against the task at the protocol boundary can complement model-level defenses — provided the policy itself is correct.
SemFW is the MCP proxy component proposed in the paper, sitting between the client and the tool server, responsible for enforcing passport scope checks and invoking the local inspector at the protocol boundary. It doesn't modify the model's internal logic; instead, it intercepts and reviews every tool call request, shifting the authorization decision from "is the model convinced" to "does the call match the task passport and intent." This design keeps the defense neutral with respect to model behavior — even if the underlying LLM is hijacked, the proxy can still block unauthorized calls based on the passport and inspector results.
Experimental Data: From 100% to 4.2%
On a fixed corpus, passport checks intercepted all tested scope escalation and resource escalation attacks. The inspector reduced the attack success rate of in-scope abuse from 100% to at most 4.2%, while allowing through 85.3% to 88.2% of benign calls.
This combination of numbers is worth noting: the attack success rate is pushed down to single digits, but the benign call pass rate is not 100%, meaning roughly one in ten legitimate requests is still wrongly blocked — a direct trade-off between security and usability.
The false positive problem was further validated in multi-step sessions on the AgentDojo benchmark. After the proxy began tracking where target parameters originated, the Gemma inspector's false positive rate dropped from 32.4% to 6.9%. This improvement shows that looking at the call alone is insufficient — the provenance context of parameters is crucial for judging intent.
Additional Findings from Tamarin Formal Verification
The paper used a model in the Tamarin protocol verifier to prove the authenticated issuance, restriction, and approval integrity of issued passports. The more valuable finding: standard proof of possession does not cover the request body, so an observed proof can be used to authorize an entirely different call.
This finding reveals an easily overlooked attack surface in existing implementations — even if the signature mechanism itself is correct, insufficient binding scope lets attackers reuse credentials.
Tamarin is a tool for symbolic protocol verification that models protocol participants, messages, and attacker capabilities to automatically search for execution paths that violate security properties. The paper used a Tamarin model to prove the integrity of passport issuance, restriction, and approval, and found that standard proof of possession typically signs only the challenge or session information, not the request body, allowing an observed proof to be replayed to authorize a different call. This finding shows that even with a correct signature mechanism, insufficient binding scope still introduces a credential reuse attack surface.
Unanswered Questions
The paper acknowledges that whether issued passports allow agents to smoothly complete clean tasks remains untested. This means the current evaluation focuses on the security side, and conclusions on the usability side are still incomplete. For an authorization mechanism intended for production deployment, this is a gap that needs to be filled.
From a broader perspective, this work advances the agent security discussion from "can the model be manipulated" to "how does the protocol layer constrain behavior after manipulation." The value of intent-bound authorization is not in preventing the model from being deceived, but in ensuring that even if the model is deceived, the protocol boundary can still block the step where privilege is escalated.
One-line Summary
The paper proposes intent-bound authorization, using task passports and a local inspector at the MCP protocol boundary to block unauthorized tool calls from hijacked agents.
Paragraph Summary
The article points out that existing MCP authorization only determines which tools a client can call, without knowing the user's current task, allowing agents hijacked by prompt injection to legitimately abuse already-authorized tools. The paper proposes "intent-bound authorization," where a trusted issuer issues a passport for each task, the SemFW proxy rejects out-of-scope calls at the protocol boundary, a local inspector judges whether in-scope calls deviate from the task, and high-risk calls are routed to human approval. On a fixed corpus, passports intercepted all scope and resource escalation attacks, and the inspector reduced the in-scope abuse success rate from 100% to at most 4.2%, with a benign call pass rate of 85.3%-88.2%. In AgentDojo multi-step sessions, after tracking parameter provenance, the Gemma inspector's false positive rate dropped from 32.4% to 6.9%. Tamarin verification also found that standard proof of possession does not cover the request body, so an observed proof can authorize a different call. The impact of passports on clean task completion rates has not yet been tested.
Related articles

Tencent WorkBuddy in Practice: Building an AI Automated Testing Workbench with SKILL Capabilities
Based on Bilibili creator Baili Yang's sharing, this article analyzes how Tencent WorkBuddy AI agent desktop workbench can be used for automated testing: the shift from AI-assisted to AI-led, the relationship among large models, agents, and SKILL capabilities, zero-configuration installation and permission control, and practical ideas for building a personal AI automated testing workbench.

Adding Authentication to Remix SaaS Apps: A Practical Guide to WorkOS AuthKit
Based on the official WorkOS AuthKit guide, this article covers the full approach to integrating authentication in Remix or React Router SaaS apps, including session management, protected routes, multi-tenant organizations, enterprise SSO, and SCIM sync, and analyzes its engineering value for SaaS teams.

Claude Code v2.1.335 Update: Remote MCP Connections and Enhanced Terminal Experience
Claude Code v2.1.335 update explained: new claude mcp add --web remote MCP connections, Tab completion, fullscreen file peeking, harness-audit tool, and batch fixes for Windows/macOS and VS Code.