ParseGap: Testing What Coding Agents Authorize and What Shells Execute
- Published
- Record updated
Summary
ParseGap is a differential testing framework that runs shell commands through an unmodified vendor checker and GNU Bash 5.2 in an isolated container, flagging cases where an approved command causes policy-violating effects. Across eight production coding agents it identified 17 root causes at parse, utility and confinement boundaries, and live trials triggered policy violations in all 16 agent-model pairs. The authors also propose ShellPlan, which compiles a strict Bash subset into a typed plan and dispatches approved commands via execve without a shell, admitting 0/4,174 active attacks in static suites.
Mitigation
The source proposes ShellPlan as a design to eliminate the second reading by compiling a strict Bash subset into a typed execution plan, validating utility arguments against positive capability specifications, and dispatching approved plans directly via execve without a shell. It does not describe a vendor patch or fixed version.
Topics
Related items
- HighCVE-2026-133448: AutoGPT Claude Code CLI prompt preprocessing bypasses tool allow-listSimilar attack · NVD/CVE Database
- CriticalCVE-2026-118285: Azure Machine Learning server-side request forgery allows privilege elevationSimilar attack · NVD/CVE Database
- HighCVE-2026-130164: Hermes Agent code execution via screen environment file mergeSimilar attack · NVD/CVE Database
- MediumCVE-2026-135287: LiteLLM Proxy callback injection through request body callbacks fieldsSimilar attack · NVD/CVE Database
- MediumCVE-2026-135212: AiSOC missing authorization in agents service exposes other tenantsSimilar attack · NVD/CVE Database