PaperarXiv:2611.30750 · cs.AI · Nov 23, 2026
SchemaCaps: When a Compatible Tool Update Silently Widens an AI Agent's Authority
Yulliwas Ameur, Samia Bouzefrane, Soumya Banerjee
The paper addresses a real, under-handled gap in MCP tool approval with a concrete rule and pilot data on real servers. Several things keep it from being a strong result: the reviewed rule missed 27 amplifying changes, the authority labels come from the authors, the re-approval counts do not reconcile with the widening counts as stated, and coverage excludes behaviour and description changes.
Novelty
3 out of 5Rigor
2 out of 5Reproducibility
2 out of 5Relevance to harnesses
4 out of 5
TL;DR
Proposes a rule that asks the user to re-approve an MCP tool when its input schema widens, decided by subschema inclusion. On 604 releases of 39 public MCP servers, the rule asks 645 re-approvals, against 617 for compatibility and 1,197 for pinning the input schema. The headline rests on author annotation and on a rule whose reviewed version missed 27 amplifying changes. It also cannot see changes in behaviour or descriptions.
Adversarial review by Harness Hub · Nov 26, 2026 · abstract only · Suggest a correction
Original abstract (authors’ text, select to expand)
The tools users approve for their AI agents keep changing their JSON input schemas. Of 8 surveyed MCP clients and scanners, none is observed or documented to re-approve a tool whose input schema widens (two not determinable). We define non-amplification over the coordinates visible in the schema (declared arguments and undeclared fields, on effective values) and a re-binding rule decided by subschema inclusion, trusting no field labels by default and conservative up to its checker and tested case analysis. Evidence: a Coq proof of composition; 48 regression tests; an exact-reference benchmark, where the reviewed version of the rule silently re-bound 27 amplifying changes, now fixed; and a pilot on 604 releases of 39 public MCP servers. There, 412 of 580 compatible schema changes widen some coordinate, yet compatibility re-binds them silently. The authors' adjudicated double annotation finds at least 76 that add or widen an authority-bearing argument (66 of the 84 a name-based labeller flags, plus 10 it misses). On existing tools, the rule asks 645 re-approvals, against 1,197 for pinning the input schema (2,004 with descriptions) and 617 for compatibility. Behaviour change behind an identical schema remains out of reach.
Authors’ note
Author's accepted version (without the publisher's layout). Accepted at ICAART 2027; final version published by SCITEPRESS. Artefact: https://doi.org/10.5281/zenodo.24233014
Filed underevaluationmcpagents
Summary
Tools that users approve for their agents keep changing their JSON input schemas. The authors survey 8 MCP clients and scanners. None is observed or documented to re-approve a tool whose input schema widens; two could not be determined. They define 'non-amplification' over the coordinates visible in a schema: declared arguments and undeclared fields, evaluated on effective values. A re-binding rule, decided by subschema inclusion, determines when an earlier approval carries over to a new schema. By default the rule trusts no field labels. It is claimed conservative only 'up to its checker and tested case analysis'. The evidence offered is: - a Coq proof of composition - 48 regression tests - an exact-reference benchmark, on which the reviewed version of the rule silently re-bound 27 amplifying changes (since fixed) - a pilot on 604 releases of 39 public MCP servers In the pilot, 412 of 580 compatible schema changes widen some coordinate. The authors' adjudicated double annotation finds at least 76 that add or widen an authority-bearing argument. Those are 66 of the 84 that a name-based labeller flags, plus 10 it misses. Re-approvals asked on existing tools: - proposed rule: 645 - pinning the input schema: 1,197 - pinning the schema with descriptions: 2,004 - compatibility: 617 The abstract states that behaviour change behind an identical schema remains out of reach. Only the abstract was available for this review.
Key findings
- Of 8 surveyed MCP clients and scanners, none is observed or documented to re-approve a tool whose input schema widens; two are not determinable (abstract).
- In the pilot on 604 releases of 39 public MCP servers, 412 of 580 compatible schema changes widen some coordinate, yet compatibility re-binds them silently (abstract).
- Adjudicated double annotation by the authors finds at least 76 changes that add or widen an authority-bearing argument: 66 of the 84 a name-based labeller flags, plus 10 it misses (abstract).
- On existing tools the rule asks 645 re-approvals, against 1,197 for pinning the input schema, 2,004 for pinning with descriptions, and 617 for compatibility (abstract).
- On the exact-reference benchmark, the reviewed version of the rule silently re-bound 27 amplifying changes; the authors state this is now fixed (abstract).
- Formal evidence is a Coq proof of composition plus 48 regression tests. Conservativeness is claimed only up to the checker and tested case analysis (abstract).
The paper at a glance
- User approves a tool with an input schema
- Server releases an update with a new input schema
- Compare declared arguments and undeclared fields on effective values
- Decide subschema inclusion, trusting no field labels by default
- Re-bind the approval silently or ask the user to re-approve
Why it matters
This is directly relevant to anyone building a harness, client or gateway that lets users approve MCP or other external tools. Approval is usually bound either to a tool name or to an exact schema. Exact pinning re-asks too often (1,197 or 2,004 re-approvals in the pilot). Compatibility-style checks pass widenings silently: by the abstract's count, 412 of 580 compatible changes widen something. The paper proposes a mechanical middle rule, subschema inclusion over effective values, that does not trust field names. Its reported prompt count is close to compatibility. The limits matter just as much. The rule sees only the input schema. A server that changes behaviour behind an identical schema, or that changes tool descriptions, is not covered by what the abstract describes. Treat this as one layer of tool governance, not a defence against a malicious server.
Issues (8)
- High severityWhere in paper: Abstract (pilot results and re-approval comparison)
The abstract does not reconcile its own counts. Compatibility is said to re-bind 412 widening changes silently, yet the proposed rule asks only 645 re-approvals against 617 for compatibility, a difference of 28. The two policies presumably prompt on different sets: the rule may skip narrowing changes that compatibility flags, and the counting unit may differ (changes vs releases vs tools). Without the overlap, the headline that the rule costs about the same as compatibility while catching widenings cannot be checked. Nor can a reader tell how many of the at least 76 authority-bearing widenings each policy actually catches.
- High severityWhere in paper: Abstract (exact-reference benchmark sentence; conservativeness qualifier)
The exact-reference benchmark exposed that the reviewed version of the rule silently re-bound 27 amplifying changes. Those are exactly the failures the rule exists to prevent. The fix was made afterwards. If the fixed rule is validated on the same benchmark, that is no longer held-out evidence. The abstract's qualifier, 'conservative up to its checker and tested case analysis', concedes that soundness rests on testing rather than proof.
- High severityWhere in paper: Abstract (coordinate definition; final sentence; pinning counts)
Scope is narrower than the title suggests. Behaviour change behind an identical schema is stated to be out of reach. The defined coordinates (declared arguments, undeclared fields) do not mention descriptions. The gap between 1,197 and 2,004 for pinning implies descriptions change often, and the rule as described would not react to that. 'Silently widens an agent's authority' covers only schema-visible authority.
- Medium severityWhere in paper: Abstract (pilot annotation)
The 412-of-580 figure counts any widened coordinate, not authority-relevant widening. The authority-bearing count is 'at least 76' and comes from the authors' own adjudicated annotation. No agreement statistic is given in the abstract and no external annotators are mentioned. The name-based labeller comparison (66 of 84 flagged, 10 missed) is also measured against this author-made reference.
- Medium severityWhere in paper: Abstract (re-approval comparison)
Re-approval counts measure prompts, not user burden or security outcome. There is no false-positive rate for the 645 prompts and no evidence on approval fatigue. Whether 645 vs 617 is a good trade cannot be judged from the abstract.
- Medium severityWhere in paper: Abstract (survey sentence)
The survey motivating the gap is small (8 clients and scanners) and partly indeterminate (two not determinable). It relies on 'observed or documented' behaviour, which can go stale quickly. The surveyed tools are not named in the abstract.
- Low severityWhere in paper: Abstract (evidence list)
The Coq proof is described as a proof of composition. The abstract does not claim the inclusion checker itself is mechanically verified, so the formal component covers less than 'Coq proof' may suggest.
- Low severityWhere in paper: Abstract (pilot description)
No selection criteria are stated for the 39 public servers in the abstract. Results may not transfer to private or enterprise servers with different release patterns.
Questions for the authors
- How do 645 re-approvals for the rule and 617 for compatibility reconcile with 412 widening changes that compatibility re-binds silently? What is the overlap between the two prompt sets, and what is the counting unit?
- How many of the at least 76 authority-bearing widenings does each policy (rule, compatibility, pinning) catch?
- Was the fixed rule evaluated on a benchmark disjoint from the one that exposed the 27 silent re-bindings?
- What was inter-annotator agreement before adjudication, and were any annotators outside the author team?
- Does the rule react to description-only changes, and if not, how often did those occur in the pilot?
- What does the checker do when inclusion cannot be decided (e.g. $ref, oneOf/anyOf, additionalProperties defaults): re-ask or re-bind?
- Which 8 clients and scanners were surveyed, which two were not determinable, and how were the 39 servers chosen?
Related in the directory
Open-source projects
Open source · Anthropic (community)
Open source · snyk
Open source · modelcontextprotocol
Related papers
arXiv:2610.37459 · cs.AI · Oct 27, 2026
Clinical research over electronic health records depends on derived variables whose definitions sit outside the schema, in item codes, time windows, missingness rules, and output-grain choices that change cohorts and downstream conclusions. We introduce M4Bench, 28 clinical derivation tasks across 15 task families on MIMIC-IV and eICU, to test whether AI coding agents can reproduce such derivations and how clinician-reviewed agent skills change their results. Its controls decompose the value of skills into specification completeness, delivery format, and schema familiarity. In a Docker-isolated Codex campaign (GPT 5.4 Mini and GPT 5.5), skills raise reward by 0.136 over the no-skill baseline, with 26 of 28 tasks improving. Specification completeness accounts for most of this gain: on an eight-task control subset, an operational spec alone raises reward by 0.162, and skills add only 0.024 on top, indistinguishable from zero. On a ten-task subset, decoy skills score like no skill and raw reference SQL nearly matches targeted skills, arguing against generic context or the skill format as the explanation. Schema obfuscation and restructuring preserve 86% and 70% of the skill gain (GPT 5.4 Mini, 26 MIMIC-IV tasks), a descriptive robustness check rather than a bound on memorization. A descriptive Claude Code replication on all 28 tasks (Opus 4.7 and Sonnet 4.6, 560 runs) is directionally consistent (+0.120, 21 of 28 tasks improving). These gains are partial agreement with the reference, not completed tasks: only 25 of 280 with-skill and 13 of 280 no-skill Codex runs pass every strict check, and skills barely change which rows agents return (key F1 +0.003). Skills are released as a versioned, clinician-reviewable markdown delivery format, with a family-level reference-validity audit. M4Bench releases tasks, skills, evaluation code, and sanitized per-run evidence as an open-source benchmark.
Hannes Ill, Rafi Al Attrach +6
arXiv:2611.21577 · cs.CR · Nov 16, 2026
Large language model (LLM) applications increasingly act as agents that select and invoke external tools. The Model Context Protocol (MCP) standardizes this interaction by allowing clients to compose tools advertised by multiple servers. However, tool metadata used for discovery and selection is not, by itself, necessarily bound to a verified provider identity. This paper studies this gap as tool-provider misbinding: a failure in which a request intended for a legitimate provider is instead resolved to an attacker-controlled tool. The attacker does not compromise the host, LLM, legitimate server, or network channel; it only operates another MCP server that advertises tools with chosen metadata. We formulate tool provider misbinding as an attacker-controlled tool-selection optimization problem and evaluate it in a controlled MCP environment across five LLM-based clients. The results show that interactions drive misbinding. The strongest failures occur when exact-name collision, task-aligned description, and compatible schema reinforce one another, but authority-enhanced descriptions with compatible schema can also cause wrong-provider execution or unresolved provider ambiguity without name collision. Different models expose the same provider-binding weakness differently, including attacker-controlled provider selection, clarification requests, and unstable or inconsistent provider resolution.
Zeynab Anbiaee, Sajjad Dadkhah +1
arXiv:2610.29143 · cs.SE · Oct 21, 2026
Context: Reviewing a pull request requires verification evidence that addresses the proposed change. Coding agent benchmarks and studies of pull request outcomes do not directly assess this relationship. Objective: We test whether the V-Model's build and verify pairs can measure verification evidence in pull requests and support comparisons between agent-authored and human-authored changes. Method: VeeReview classifies four build and verify pairs using repository signals and a language-model judge. Three pairs use model judgements constrained by deterministic signals, and a rule over the diff and repository tree decides Module Design-Unit Test. We evaluated VeeReview against a 25-pull request reference set labelled by two raters and applied it to 1,454 matched pairs of agent and human pull requests from 741 repositories. Results: VeeReview assigned lower build-only rates to agent-authored pull requests on all four pairs, contrary to the preregistered hypothesis (mixed-effects odds ratios 0.52 to 0.86). Architecture-Integration was not significant. Standardization for linked issues, shipped tests and size reduced matched-rate differences by 34% to 60%, and the rule-decided pair's standardized interval included zero. The instrument did not meet its preregistered calibration criterion: agreement with adjudicated labels was 4% to 60% against a required 80%, and inter-rater agreement was weak (kappa = 0.154). Conclusions: The rule-decided pair shows that a process measure judged by a language model partly reflects how a pull request is presented rather than the verification work behind it. We report the cohort differences as observations made with this instrument, and we argue that such measures need a mechanically decided component and a validated human reference before they can support comparisons of verification practice.
Gabriel Dautovi, Jie JW Wu
arXiv:2611.31929 · cs.SE · Nov 24, 2026
In LLM-based smart contract auditing, detection quality depends on both model capability and workflow design. While coding agents can revise workflows from execution feedback, unconstrained rewrites rarely yield stable gains. Cross-function vulnerabilities require multi-step state tracking and boundary reasoning that coarse pipelines miss. End-to-end outcomes hide which step lost a clue, so direct rewrites regress existing hits or discard valid edits under coarse aggregate scoring. Repeatedly iterating on a small project set also adds case-specific heuristics that bloat prompts and hurt generalization. We present Shuttle, a constrained workflow-evolution system, and LucidScan, the auditing framework it evolves. Shuttle centers on provenance-graph attribution: it expands each run into an instance-level dependency graph, locates the node where a clue was lost via forward search, and traces existing hits backward into a protected set. After evaluating a merged batch, Shuttle drops dragging edits via a node-level provenance ledger, falling back to cache-reusing local re-runs only when early-round edits overlap on the same node. For localized bottlenecks, Shuttle generates edits under task decomposition, progressive refinement, and generality blind review. On 10 training projects, Shuttle evolves LucidScan from $G_0$ (28.7% per-project average C/H/M recall) to $G_8$ (82.1%). On 13 held-out validation projects under the same model, average recall rises from 28.6% ($G_0$) to 70.3% ($G_8$), above Pashov and Codex Security. In an anonymized live public audit contest with 896 researchers (Nov. 2026), the evolved scanner tied for #1 in High-severity recall (6/8, 75.0%), ranked #2 in scored H/M clusters (34/72, 47.2%) with 92.9% validity (78/84), and finished #3 overall.
Yue Xue, Yi Rong +6
arXiv:2611.34875 · cs.SE · Nov 25, 2026
Agent patches are larger than developers', which is widely read as over-editing. But patch size does not say whether the extra edits are needed, what they are, or where they come from. We introduce Delta Residue Attribution (DRA), which replays agent trajectories, traces every block (unit) of the final patch to the step that wrote it, reverts each unit, and reruns the task tests to decide whether the unit is needed. We apply DRA to 7,660 resolved GitHub Copilot CLI trajectories from 18 frontier models on SWE-bench Verified (6,728) and DeepSWE (932), and grade developer patches using the same method. Agent patches do change more lines than developers'; on SWE-bench Verified the majority of extra edits add tests (61%) and documentation (13%) while on DeepSWE, most extra edits are code (58%). On both benchmarks, agents' code is on average at least as necessary as developers' (mean $NP_{code}$ 0.887 vs. 0.864 on SWE-bench Verified, where 11 of 18 models leave less unneeded code than developers, and 0.797 vs. 0.785 on DeepSWE). On average, 11% of an agent patch's code units on SWE-bench Verified are still unneeded, and 89% of those change behavior. Debug steps write almost none of the unneeded code. Code necessity differs substantially by model; it is unrelated to resolve rate on SWE-bench Verified and negatively correlated with it on DeepSWE (Spearman -0.59, p = 0.01). On SWE-bench Verified, pruning with DRA using only the tests the agent can see (its own tests and the repository's) removes the majority of unneeded code but also some needed code (67% recall, 46% precision), and 89% of pruned patches still resolve the task; asking the agent to audit its own diff is more precise but less effective (36% recall, 66% precision). We recommend that benchmarks report code necessity next to resolve rate and that over-editing be addressed through model training and harness-level pruning.
Aakash Goel, Benjamin Steenhoek +1
arXiv:2610.33343 · cs.SE · Oct 23, 2026
The role of coding agents is expanding beyond writing new code toward maintaining existing systems as AI teammates. Yet recent studies show that agent refactorings favor superficial, consistency-oriented edits over structural transformations needed to resolve Technical Debt (TD). We investigate if explicit static-analysis feedback closes this gap. Through the CodeScene MCP server, we give an open-source agent (gptme) access to code smell reports and CodeHealth (CH) scores (1--10, higher is better), and compare guided against unguided refactorings in a paired experiment covering $24{,}620$ single-file competitive programming solutions in C++, Java, and Python. We find that guidance shifts the agent from performing cosmetic edits toward structural operations, raising the rate of effective refactorings by $21$--$26$ percentage points. The benefit depends on initial code quality, with language-dependent break-even points at CH $4.9$--$7.1$, below where the structural transformations pushed by guidance increasingly risk regression, indicating where the agent needs more support to refactor. Guided runs also shift the failure profile toward logical test failures, introduce new coupling smells, and consume $\sim$$3$--$5\times$ more tokens over $\sim$$2\times$ as many interaction turns. Our results indicate that AI teammates can benefit from similar static-analysis feedback that human developers already use, enabling structural transformations toward more effective TD remediation, at a higher token cost and more interaction turns.
Nadim Hagatulah, Markus Borg +1