ParseGap finds approval-execution inconsistency in eight coding agents
Start here
The researchers propose ParseGap, a differential testing framework that feeds each command both to the vendor's checker and to GNU Bash 5.2 in an isolated container, comparing the actual effect in the shell of commands that were approved. The tests cover eight production-grade coding agents and identify 17 root causes across three boundaries: parsing, tool programs, and sandbox isolation. These include a tree-sitter-bash defect that causes Mistral Vibe and Gemini CLI to miss a second command, all checkers allowing read-only binaries whose arguments can write files or launch programs (9 to 47 of 55 cases), and an allow rule in OpenAI Codex CLI that disables its read-only OS sandbox. In live tests with two frontier models, all 16 agent-model combinations triggered policy violations, 14 of them despite configured restrictions.
Generated by AI from reports · Updated 1 days ago
Related research
This event's paper
- ParseGap: Testing What Coding Agents Authorize and What Shells Execute
arXiv · 2026-11-22 · Deep reading
Progress timeline
- arXiv: 其他 AI 安全论文SelectedParseGap: testing what coding agents authorize and what the shell executes
Researchers propose the ParseGap differential testing framework, comparing the command approval checkers of 8 production coding agents item by item against the actual execution behavior of GNU Bash 5.2, cataloging 17 deduplicated root causes, and summarizing three classes of authorization-execution divergence boundaries: parsing, tool parameters and sandbox. Across all 8 agents, every checker let through policy violations caused by tool parameters (9–47 of 55 cases); in Codex CLI, matching an allow rule also disables the read-only OS sandbox. Live model-driven trials produced the target violation effect on all 16 agent–model combinations, 14 of which were under configured restriction rules. To eliminate the second parse, the authors design ShellPlan, which compiles a strict Bash subset into a typed execution plan dispatched directly via execve, letting through 0 of 4,174 active attack cases across 6 static suites, with 0/90 attack hits on a ten-model controlled benchmark (62/90 without defenses) and a median gate latency of 1.28 ms.
Related discussion
Attention trend
New sources per day
- Nov 24: 1 new sources (1 outlets, 0 accounts)
- Nov 25: 0 new sources (0 outlets, 0 accounts)
- Nov 26: 0 new sources (0 outlets, 0 accounts)