# Harnesses alter shell calls and the wrong action runs silently

> A preprint reports that in 47,828 production shell calls, Claude Code's Bash tool changed 12.0% of calls carrying code, escape sequences or long text, and that...

Section: Evidence record · Preprint  
Canonical: https://agentexperience.tech/evidence/ev-0024/

A preprint reports that in 47,828 production shell calls, Claude Code's Bash tool changed 12.0% of calls carrying code, escape sequences or long text, and that for 80.7% of calls whose backslashes were changed the wrong action ran with no reported error.

- **Evidence type**: [Preprint](https://agentexperience.tech/evidence/#class-preprint): posted publicly, not yet peer reviewedevidence class
- **Kind of finding**: Measurementfinding type
- **Checked against**: The abstract, 8 Oct 2026 verification
- **Topics**: [false-success](https://agentexperience.tech/evidence/#pattern-false-success), [evaluation](https://agentexperience.tech/evidence/#pattern-evaluation), [measurement](https://agentexperience.tech/evidence/#pattern-measurement) pattern tags
- **Source**: [Do Tool Calls Execute as Intended? Measuring and Repairing Intent-Execution Correspondence in LLM Agents](https://arxiv.org/abs/2610.04375), arXiv:2610.04375Yang et al. · 3 Oct 2026
- **Authors' stake**: The authors' repair, IntAct, is deployed in a commercial product.conflicts of interest

[Read the source](https://arxiv.org/abs/2610.04375) [Cite this record](https://agentexperience.tech/evidence/ev-0024/#cite)

## What the source measured

- **What was measuredmetric**: Calls changed in transit by the harness
- **With the changetreatment**: Claude Code's Bash tool: 12.0% of calls carrying code, escape sequences or long text
- **Which way it moveddirection**: Not applicable
- **How bigsize**: 12.0%; all 10 measured harnesses change some call
- **How many casessample**: 47,828 shell calls in production sessions; 10 harnesses

- **What was measuredmetric**: Calls with changed backslashes where the wrong action ran with no error
- **Which way it moveddirection**: Not applicable
- **How bigsize**: 80.7%
- **How many casessample**: As above

- **What was measuredmetric**: Failures blamed on the model by trajectory-based judgement
- **Which way it moveddirection**: Not applicable
- **How bigsize**: 95.1% blamed on the LLM, although the path caused more than half
- **How many casessample**: Production failures

- **What was measuredmetric**: Token cost per passed task caused by the path
- **Without the changebaseline**: Unaltered path
- **With the changetreatment**: Altering path
- **Which way it moveddirection**: Up
- **How bigsize**: 2.4 times (up to 12.3 times)
- **How many casessample**: IEC-Bench

## Who and what was tested

- **Note on models:** Not a model comparison; the abstract does not name the models in the production sessions.
- **Harness:** Claude Code (production sessions); 10 harnesses measured, four in IEC-Bench.

## Does anyone have a stake?

The authors' repair, IntAct, is deployed in a commercial product.

## Source

[Do Tool Calls Execute as Intended? Measuring and Repairing Intent-Execution Correspondence in LLM Agents](https://arxiv.org/abs/2610.04375). Boyang Yang, Zhenhao Li, Ziyao Yang, Kanghui Jia, Xin Yin, Mingmou Liu, Haoye Tian. arXiv, 3 October 2026, arXiv:2610.04375.

Every number in this record was checked against the live arXiv abstract page on 2026-10-08. The full text was not re-checked.

## Limits of this finding

- Preprint, not peer reviewed.
- Harness versions are not stated in the abstract.

## What this means if you build tools

When a tool call fails, log what the tool actually received, not only what the model sent. A command that arrives altered can run the wrong action with no error.

## Related checks

- [The agent can check what happened](https://agentexperience.tech/insights/agent-readiness-rubric/#recover-03): After a timeout or crash, the agent can find out what actually happened. Rubric check · core

## Cite this record

Cite the original source for any number, and keep the evidence type and the models tested next to the figure. To point at this record, cite it as: AX evidence register, “Harnesses alter shell calls and the wrong action runs silently”, `https://agentexperience.tech/evidence/ev-0024/`. The record is also in [/evidence.json](https://agentexperience.tech/evidence.json).

## Go here next

- [Error exits with status 0](https://agentexperience.tech/checks/axc-c002/): An unknown command, unknown flag or missing value exited with status 0, so an agent reads failure as success. Rule
- [Record retries as product history](https://agentexperience.tech/insights/retries-are-product-history/): Visible attempts show whether a system recovered cleanly or made people do more work. Guide
- [Run-to-run variance dominates, and a verification tool beats a verification prompt](https://agentexperience.tech/evidence/ev-0025/): A preprint reports that about 54% of outcome variance in its coding-agent benchmark came from repeating the same configuration, and that a dedicated verification tool changed verification behaviour substantially where a prompt asking the agent to verify had little effect. Evidence

[Hiding tools is not enforcing permissions](https://agentexperience.tech/evidence/ev-0023/)

[Run-to-run variance dominates, and a verification tool beats a verification prompt](https://agentexperience.tech/evidence/ev-0025/)

[All records](https://agentexperience.tech/evidence/)
