Agent Approval Laundering: Transitive Effects Beyond the Approved Invocation
Jinqian Zhang, Haojun Xia, Shujiang Wu, Jingkun Yue, Xia Zhang, Zhangpei Cheng, Bibo Tu
Abstract
An approval mechanism can store a durable record that names an approved command exactly while omitting an effect of the workflow that command starts. We call this coverage gap approval laundering. When a pre-specified effect policy requires different decisions and the complete policy-visible inputs are identical, no record-only policy can guarantee both outcomes. With npm run build held fixed, a change only in the pre-approval script leaves command semantics allowing both the local script and the script that fetches. Coding agents are the measured setting. We present the first systematic security analysis of this gap as closure-bound approval over six operational effect classes. The Approval-to-Action Security Benchmark binds captured approval objects and inspectable decision-time metadata to immutable post-execution evidence. Across 111 fixed approval-object/trace pairs, residual records fall from 40 under explicit fields to 17 with command semantics and 13 when post hoc analysis adds metadata available at decision time. Across 11 fixed-SHA project executions, the same retrospective ladder reaches zero metadata residuals; two exact mappings recur across three product frontends. For prospective recovery, effect-bound records commit frozen, source-backed effect predictions and provenance before authorization. On 17 target-executed workflows from a prespecified holdout, predictions achieve 0.926 macro recall and 0.941 macro precision. Binding them cuts residual effect instances from 10 to 3. The evaluated policy requests another approval for 17/18 protocol cases; a stricter added-effect rule reduces that demand to 7/18. A Claude Code hook can place one frozen record on an existing permission path. On that npm run build pair, a study metadata gate does not launch the network arm after the metadata denial.
Create a lesson
Metadata
- Categories
- cs.CR, cs.SE
- Comments
- 18 pages, 5 figures. Revised manuscript
Related papers
On the Effectiveness of Kernel-Level Evidence for Agent Security
Shared title terminologycs.CRSpencer King, Zhilu Zhang, Mikhail Kuznetsov et al.
Beyond Predictable Paths: Redefining AI Security Incident Reporting for Agents
Shared title terminologycs.CRAnastasia Pustozerova, Eugene Bagdasarian, Luca Beurer-Kellner et al.
Beyond Single-Model Injection: A Threat Model and Defense Architecture for Prompt Injection in Multi-Agent Systems
Shared title terminologycs.CRRudrendu Kumar Paul, Sourav Nandy
Ichnia: Semantic Effect Oracles for Black-Box Broken Access Control Detection in Web Applications
Shared title terminologycs.CRRuozhao Yang, Jiongchi Yu, Yuqiang Sun et al.
From Vendor-Neutral Request to Paid Backend: Procurement Integrity at the Commitment Boundary of AI Coding Agents
Shared title terminologycs.CRJinqian Zhang, Haojun Xia, Shujiang Wu et al.
AI Agents Enable Mass Profiling
Shared title terminologycs.CRDaniel Paleka, Simon Lermen, Guy Galun et al.