Skip to content

SchemaCaps: When Compatible Tool Updates Silently Expand AI Agent PermissionsSchemaCaps: When a Compatible Tool Update Silently Widens an AI Agent's Authority

arXiv: 其他 AI 安全论文· arXiv:2611.30750· Yulliwas Ameur, Samia Bouzefrane, Soumya Banerjee·Indexed by this site · 1 days ago· Originally publishedSelected Defenses· Its place in the scan record →SelectedAttention41

Quick read

Based on the paper's full text (AI-generated); refer to the original

AI summaryThe paper proposes SchemaCaps, a set of rebinding rules for determining whether an agent's granted permissions expand when an MCP tool's input schema changes, and implements a client proxy prototype. The authors surveyed 8 MCP clients and scanners and did not observe, nor find documented, any product that re-approves a tool when its input schema expands, with two undetermined. In a pilot of 604 versions across 39 public MCP servers, 580 of 1,197 changes remained backward compatible, of which 412 expanded some coordinate; 84 added or expanded parameters lexically annotated as carrying permissions, and manual adjudication confirmed 66 of them and added 10 missed ones, at least 76 in total. The rules require 645 re-approvals on existing tools, compared with 1,197 for fixed input schemas and 617 for compatibility rules. The authors say the rules cannot cover cases where the schema is the same but behavior changes, and the code and data have been released on GitHub and Zenodo.

Questions
The JSON Schema of an AI agent's tool inputs changes with version updates, but existing clients do not re-request user approval when the schema widens, so the permissions granted by the user are silently expanded. The authors argue that judging whether a schema change is safe cannot rely only on whether old calls are still valid, but must also consider whether it expands the visible authorization scope.
Methods
The authors define "non-amplification": on coordinates such as declared parameters and undeclared fields, the valid values allowed by the new schema must not exceed those of the old schema; by default no field label is trusted, and unlabeled coordinates are all treated as carrying permissions. The decision uses subschema inclusion (jsonsubschema plus Boolean rewriting and random counterexample search), and they provide a Coq compositionality proof, 48 regression tests, an exact reference benchmark, and a client proxy prototype.
Experiments and results
In a pilot over 39 public MCP servers and 604 releases, 412 of 580 compatible changes widened some coordinate; after manual annotation, at least 76 added or widened parameters that carry permissions. On existing tools, this rule requires 645 re-approvals, the compatibility rule 617, and fixed schema only 1,197. In the demonstration, this rule blocked all schema-visible attacks, while the compatibility rule let all of them through; among the 8 clients and scanners investigated, none was observed or recorded as re-approving on schema widening.
Limitations and future work
It cannot handle cases where the schema is unchanged but behavior changes, nor manifest mislabeling, description injection, cross-client equivocation, or a compromised client. The corpus is non-random and the widening is concentrated in a few servers, the demonstration uses a scripted planner, real cases only replay schemas without execution, overhead is measured on only one machine, and some products are checked only in documentation. Future directions include behavior proofs, signed parameter roles, policy-relevant rebinding, a broader corpus, end-to-end testing with real models, and user studies.
Why it was selectedThe paper measures 604 versions of 39 public MCP servers, finds that compatible schema changes silently expand agent permissions, and proposes a rule for determining whether reauthorization is required based on containment relations.

The paper measures 604 versions of 39 public MCP servers, finds that compatible schema changes silently expand agent permissions, and proposes a rule for determining whether reauthorization is required based on containment relations.

Paper analysis in progress

Related events and news

1 events · 0 news mentions

Read originalarxiv.org