ParseGap finds shell authorization gaps in LLM coding agents
Researchers introduce ParseGap, a differential testing framework that evaluates how LLM coding agents authorize shell commands compared to what system shells actually execute. Across multiple agents and models, the framework identified widespread policy-violating runtime effects stemming from parser defects, utility arguments, and sandbox confinement bypasses. To eliminate these dual-interpretation risks, the authors designed ShellPlan, a compilation and validation mechanism that dispatches approved execution plans directly via execve without using a shell. Open article →