Vulnerability  ·  2026-11-25

Tool-Call Smuggling: guard/executor parser divergence lets attackers run calls the audit log never records

VulnerabilityHigh impactGlobal
Submitted 2026-11-23, this paper introduces tool-call smuggling: the model writes a tool call as JSON, a guard decides whether it may run, and an executor runs it — but the same bytes are parsed multiple times (provider, gateway, SDK, framework, guard, executor). JSON leaves parser-specific choices (e.g. which copy of a repeated key wins), so a guard and executor that disagree approve one call and execute another. A differential harness tested 17 pinned parser/validator configs; most pairs disagreed on some inputs, and even two official MCP SDKs accept different inputs. On tau-bench and AgentDojo the attacker cancelled another customer's reservation and created a file the guard blocks by name while the audit log named only the approved call.
This is a novel agent-execution attack class that breaks the central safety assumption of agent guardrails: that the audited call is the executed call. Because it targets the parse-divergence between approval and execution, it defeats allow-lists, provenance/audit trails, and MCP tool guards, and it is reachable via a malicious tool/server supplying a slightly-modified schema. It is the kind of subtle, hard-to-detect bypass that defenders must account for in agent pipelines.
An attacker who can rewrite the tool-call bytes in transit (a malicious MCP server, a man-in-the-middle, or an injected argument) crafts JSON that the guard parses as one (approved) call while the executor parses it as a different call; the audit log records only the approved one, so the dangerous call is unlogged and unblocked.
LLM agent tool-calling stacks; MCP SDKs and agent gateways (demonstrated on tau-bench and AgentDojo)
No single-patch fix — parse each call exactly once (including JSON text inside arguments), keep only the approved-schema fields, hand that single representation to the executor, and bind it to its call ID in transit. This stopped all 7,412 crafted test inputs and every attack the researchers built. Preprint: https://arxiv.org/abs/2611.30624
arXiv 2611.30624
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →