ToolRosetta: Surface-Form Invariance of Tool-Call Guards
On the map: LLM agents and tool use → Software engineering coding agents also fits: Agent threats, guardrails and governance
Abstract (arXiv)
Step-level guards for tool-using agents are evaluated on tidy JSON tool calls, but deployed coding agents act through execute_bash and execute_code tools whose payloads are strings. We introduce ToolRosetta, which re-renders every candidate action in the AgentDojo and AgentHarm splits of TS-Bench as a Python call, as a shell command, and without the agent's rationale. The renderings are produced by code and verified by round-trip parsing, so the user request, the history, the label and the action's effect stay fixed while only the surface form changes. Across eleven guards with two placebo controls, frontier and strong open-weight guards are stable: no frontier error rate moves by more than 3.4 points. Four of five specialized agent guards are not: under the shell form their false-positive rates rise by 21 to 47 points on AgentDojo, and TS-Guard's by 38 points on its own home benchmark, blocking between a third and nine in ten benign actions; the fifth, StepGuard, does not move. A small open guard drifts five points more permissive. Removing the agent's rationale moves most guards whose input carries it, in guard-specific directions. A request-blind control on one guard shows that the rationale is where intent is read from. A parser that restores the canonical call in front of the guard removes the effect for these renderings, by construction. Benchmark accuracy on JSON calls does not predict a guard's operating point behind a code-acting agent.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 17 of its 20 references that are in the map. Submitted 16 Oct 2026.
Builds on
17 of 20 references.
Closest ancestors · 2
Same direction, newest first
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
- 2024Executable Code Actions Elicit Better LLM Agents1 Feb
Other references · 15
- 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agentscited by 513
- 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agentscited by 407
- 2024Agent-SafetyBench: Evaluating the Safety of LLM Agentscited by 346
- 2025LlamaFirewall: An open source guardrail system for building secure AI agentscited by 146
- 2026ToolSafe: Enhancing Tool Invocation Safety of LLM-based agents via Proactive Step-level Guardrail and Feedbackcited by 88
- 2026Towards a Science of AI Agent Reliabilitycited by 88
- 2026AgentLAB: Benchmarking LLM Agents against Long-Horizon Attackscited by 50
- 2026ATBench: A Diverse and Realistic Agent Trajectory Benchmark for Safety Evaluation and Diagnosiscited by 47
- 2025Building a Foundational Guardrail for General Agentic Systems via Synthetic Datacited by 42
- 2026Unsafer in Many Turns: Benchmarking and Defending Multi-Turn Safety Risks in Tool-Using Agentscited by 35
- 2026TraceSafe: A Systematic Assessment of LLM Guardrails on Multi-Step Tool-Calling Trajectoriescited by 20
- 2026AgentDoG 1.5: A Lightweight and Scalable Alignment Framework for AI Agent Safety and Securitycited by 11
3 more
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026The Bitter Lesson of Tool Calling
- 2026AIRGuard: Guarding Agent Actions with Runtime Authority Control
- 2026Oops!... I Parsed It Again: Tool-Call Smuggling Against LLM Agents
- 2026LEANGUARD: Lean-Verified Guardrails for Tool-Using Agents
- 2026When Tool Outputs Become Commands: Separating Action Induction from Runtime Authorization in Tool-Augmented LLM Agents
- 2026Least-Privilege Auditing of Agent Tool Calls with Intent Graphs and Reasoning-Guided Escalation
- 2026guardscope: Measuring Which Actions Runtime Controls Check in LLM Agent Systems
- 2026ActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agents