选项,而非点击:基于同意的MCP授权的晶格细化
Options, Not Clicks: Lattice Refinement for Consent-Driven MCP Authorization
AI总结:
本文提出Conleash,一种客户端中间件,通过风险晶格自动允许安全调用,提升MCP授权的安全性与用户信任。
摘要:
随着模型上下文协议的普及,通过有意义用户同意来保障工具调用成为关键挑战,现有方法如广义始终允许切换或模糊的LLM决策未能考虑危险的调用参数,常导致同意疲劳。本文提出Conleash,一种客户端中间件,通过风险晶格自动允许在已知边界内的安全调用,同时提升风险,结合用户定义的不变量策略引擎和细化循环,将用户决策转化为可重用规则。在984个真实世界轨迹上评估,Conleash实现了98.2%的准确性,捕获了99.4%的升级情况,仅增加了8.2ms的策略验证开销;此外,在用户研究中,参与者显著更喜欢Conleash的权限范围,认为其更具信任度并减少了提示需求。
英文摘要:
As Model Context Protocol adoption grows, securing tool invocations via meaningful user consent has become a critical challenge, as existing methods, broad always allow toggles or opaque LLM-based decisions, fail to account for dangerous call arguments and often lead to consent fatigue. In this work, we present Conleash, a client-side middleware that enforces boundary-scoped authorization by utilizing a risk lattice to auto-permit safe calls within known boundaries while escalating risks, a policy engine for user-defined invariants, and a refinement loop that converts user decisions into reusable rules. Evaluated on 984 real-world traces, Conleash achieved 98.2% accuracy, caught 99.4% of escalations, and added only 8.2 ms of overhead for policy verification; furthermore, in a user study where N=16, participants significantly preferred Conleash scoped permissions over traditional methods, citing higher trust and reduced prompting.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。