Tool-call smuggling splits LLM agent guards from executors
Original title: Oops!... I Parsed It Again: Tool-Call Smuggling Against LLM Agents
Parsing each call once and sealing approved fields stops all 7,412 crafted inputs and every attack built.
The paper introduces tool-call smuggling, where the same JSON bytes are parsed differently by a guard and an executor, so the guard approves one call and the executor runs another. Six disagreement patterns are tested with a harness over 17 pinned parser and validator configurations. On tasks from τ-bench and AgentDojo, an in-transit rewrite can cancel a reservation or create a file the guard blocks by name while the audit log records only the approved call.
Unconfirmed: The attacks are constructed by the authors and are not reported from production incidents.
- Most parser pairs disagree on some inputs, including two official MCP SDKs.
- Ten tested models write no repeated or disguised key into the call itself.
- Models can copy a repeated key verbatim into JSON text inside an argument.
- A malicious server can add one schema field that the guard does not see.
- A Python guard and a Go executor can read that copied JSON differently.
From the original article
1 min read at arxiv.orgLLM agents act through tool calls: the model writes the arguments of a call as JSON, a guard decides whether the call may run, and an executor runs it. The same bytes are parsed several times, by the provider, gateways, SDKs, frameworks, the guard, and the executor. JSON leaves some choices to each parser, such as which copy of a repeated key counts.
By Igor Santos-Grueiro · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.