The BaseResearcharXiv
ParseGap: Testing What Coding Agents Authorize and What Shells Execute
According to the abstract, Jieyu Li tests how eight production AI coding agents approve shell commands, and finds the approved command and the one the shell actually runs can differ. ParseGap reports 17 root causes, including a defect hiding a second command from Mistral Vibe and Gemini CLI and an allow rule disabling OpenAI Codex CLI's read-only sandbox.
Why it matters
The same thing, for different readers.
What it means for you
A study finds AI coding assistants can be made to run commands their safety checks meant to block, in every agent tested live.
For lawmakers
Jieyu Li's results show permission prompts in AI coding agents from OpenAI, Google and Mistral did not reliably limit what the agents executed.
For researchers
ParseGap's differential testing of vendor checkers against GNU Bash 5.2 found 17 root causes across parse, utility and confinement boundaries in eight agents.
How the finding was reached
In our words, from the source. Weigh the finding by how it was made.
- What was done
- A differential testing framework running each command through an unmodified vendor checker and GNU Bash 5.2 in an isolated container, across eight production coding agents, plus live trials with two frontier models.
- What it found
- 17 root causes across three divergence boundaries; every checker permits read-only binaries whose arguments write files or launch programs (9-47 of 55 cases); live trials triggered policy violations in all 16 agent-model pairs (14 under configured restrictions).
- What it does not show
- Eight agents and two frontier models; the abstract is truncated and does not state further limits. The author also proposes a fix, ShellPlan.
- Status
- A preprint: not yet peer reviewed
The record
- Questions
- Can AI systems act beyond what people intended or allowed? · Are AI companies putting stronger safeguards into practice?
- People
- Jieyu Li (Wrote it)
- What we read
- We have read only the description the publisher gives. No quotations until someone reads the source itself.
- Found by
- The Radar, run of November 22, 2026, via
arxiv-ai-safety-query(tier 1: the source’s own channel or an official record) - Cite this
- arXiv, “ParseGap: Testing What Coding Agents Authorize and What Shells Execute”, November 22, 2026. Entry in the Ctrl AI Base, https://ctrlai.com/base/arxiv-2026-11-22-parsegap-coding-agents-shells