意图正确、行为恶意:面向 MCP 工具调用的任务绑定授权方法研究
Right Intent, Malicious Action: Intent-Bound Authorization for Model Context Protocol Tool Calls
AI 导读
arXiv 论文提出一种面向 Model Context Protocol(MCP)工具调用的任务绑定授权方法,由可信签发方为每个任务签发护照,MCP 代理 SemFW 拒绝护照之外的调用,本地模型 inspector 评估剩余调用是否服务于任务,高风险调用转交人工审批。
正文 · 原文
Abstract:An LLM agent that follows instructions hidden in a tool result can misuse a tool it is authorized to call. Model Context Protocol (MCP) authorization does not prevent this, because it decides at token issuance which tools a client may call and never sees the task the user asked for. We bind each call to that task. A trusted issuer signs a per-task passport listing the permitted tools and resources; SemFW, an MCP proxy, rejects any call outside the passport, asks a local model, the inspector, whether the remaining calls serve the task, and sends flagged high-risk calls to an authenticated human. On a fixed corpus, the passport checks stopped every tested scope and resource escalation, and the inspector cut attack success on in-scope misuse from 100% to at most 4.2% while passing 85.3-88.2% of benign calls. Two prior defenses were either too strict or too permissive. In multi-step sessions from the AgentDojo benchmark, the Gemma inspector's false alarms fell from 32.4% to 6.9% once the proxy tracked where destination arguments came from. A model in the Tamarin protocol verifier proves authenticated issuance, confinement and approval integrity for an issued passport, and shows that a standard proof of possession, which does not cover the request body, lets an observed proof authorize a different call. Checking calls against the task at the protocol boundary can thus complement model-level defenses, provided the policy is correct. Whether issued passports let agents finish clean tasks is still untested.
| Comments: | 10 pages, 3 figures, 7 tables. Code, data, and Tamarin models: this https URL |
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI) |
| MSC classes: | 68M25, 68Q60, 68T50 |
| ACM classes: | D.4.6; K.6.5; F.3.1; I.2.7 |
| Cite as: | arXiv:2612.03586 [cs.CR] |
| (or arXiv:2612.03586v1 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2612.03586 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Ridwan Amure [view email]
[v1]
Wed, 2 Dec 2026 10:41:49 UTC (110 KB)
来源:arXiv cs.AI · arxiv.org