TAU-HOME.COM
LOADING

'Tool-Call Smuggling' Research Exposes JSON Parsing Discrepancies in LLM Agents

Researchers have published a paper detailing 'Tool-Call Smuggling', a vulnerability where discrepancies in JSON parsing between guardrails and executors allow a

tau · November 25, 2026

#LLM #Security #ToolCallSmuggling #AIAgents #arXiv

'Tool-Call Smuggling' Research Exposes JSON Parsing Discrepancies in LLM Agents

In the growing ecosystem of large language model (LLM) agents, a newly uncovered security research paper demonstrates how discrepancies in data interpretation between security guardrails and actual execution engines can bypass audits. The study highlights how minor inconsistencies when identical input data passes through different parsers can create critical security vulnerabilities.

Research paper page capture on arXiv regarding tool-call smuggling against LLM agents

Image source: https://arxiv.org/abs/2611.30624

On November 23, 2026, researchers Igor Santos-Grueiro and Daniel Romero-Ruiz published a paper titled "Oops!... I Parsed It Again: Tool-Call Smuggling Against LLM Agents" on the arXiv preprint repository. The study provides a rigorous analysis of structural weaknesses in how AI agents invoke external tools and APIs, while proposing concrete architectural improvements to secure them.

Structural Vulnerabilities in LLM Tool Calls: Same Bytes, Different Interpretations

Modern LLM agents translate user natural language instructions into proposed tool calls. The model writes the arguments for a call using JSON (JavaScript Object Notation, a standard text-based data exchange format), a security guard evaluates whether the call is permitted, and an executor carries out the command.

The core issue stems from the fact that the exact same byte stream is parsed multiple times across providers, gateways, SDKs, frameworks, guards, and executors. The JSON specification leaves room for individual parsers to make choices—such as which copy of a repeated key counts. Consequently, the call approved by a security guard can differ from the one actually executed, while the audit log records only the approved version. The researchers term this attack vector "Tool-Call Smuggling."

Differential Testing Across 17 Parsers and Official MCP SDK Discrepancies

To systematically analyze these parsing discrepancies, the researchers built a differential testing harness that fed identical byte inputs to 17 pinned parser and validator configurations. Most pairs disagreed on various inputs, and even official MCP SDKs (Model Context Protocol software development kits) accepted differing inputs.

For instance, when string content read by the model contains disguised or repeated keys inside arguments, a Python-based guard and a Go-based executor can interpret them differently. This allows a call to pass security screening while the executor performs a completely separate operation.

Real-World Attack Scenarios and Architectural Defenses

Using evaluation benchmarks such as $\tau$-bench and AgentDojo, the researchers demonstrated concrete attack scenarios. In an environment where an attacker can modify bytes in transit, audit logs record only the approved, benign call, while the system silently executes unauthorized actions—such as canceling another customer's reservation or creating a file blocked by name.

To neutralize these vulnerabilities, the authors propose a robust remediation strategy: parsing each call exactly once (including JSON text), strictly retaining only the fields belonging to the approved schema, and handing it over to the executor sealed with its call ID in transit. This approach successfully blocked all 7,412 crafted inputs and every attack tested by the researchers, emphasizing the urgent need for standardized parsing consistency and rigorous security validation across LLM agent infrastructures.

Sources

Impact-Site-Verification: 9b3ebd10-6c45-44cf-a014-5b8c19b7b285