Permission Withdrawal in Tool-Using Language Model Agents: Runtime Enforcement and Recovery
AI agents that operate external tools can continue acting after a user narrows their permissions, creating a security problem that final-state evaluation may fail to detect. Existing agent benchmarks commonly emphasize task completion or resulting state, but those outcomes do not reveal whether an unauthorized operation was proposed, approved, dispatched, or merely prevented by a downstream error. We investigate permission withdrawal as a trajectory-level authorization problem and evaluate whether runtime gates can preserve revised permissions while allowing agents to complete work that remains authorized. Two acting models were tested in a deterministic tool environment under prompt-only execution, a rule-based reference gate, and a model-based gate. A 72-episode diagnostic examined two previously exposed write workflows, followed by a separately frozen 384-episode extension spanning eight new tasks and four authorization mechanisms. In the diagnostic, prompt-only agents executed forbidden same-value writes in two episodes; both runtime gates prevented forbidden execution, although the model gate falsely rejected three authorized calls. In the extension, 346 of 384 episodes completed safely and 383 preserved the required protected state. No forbidden request executed successfully, yet the model gate approved three unauthorized requests that were stopped only because the referenced resources did not exist. The results demonstrate that correct final state and zero forbidden execution can still conceal failures in authorization reasoning. We contribute a replayable evaluation framework that separates proposals, gate decisions, dispatch, state transitions, and useful completion, enabling more precise assessment of security controls for tool-using agents.
- Link
- https://doi.org/10.54536/ajdsai.v2i2.8776
- Found by
- Crossref
- Authors
- Gaurav Chaulagain, Medhavee Upadhyaya
- Organizations
- Film Independent
- Categories
- benchmark, evaluation, agentic
- Published
- 2026-10-23
- Last seen by the radar
- 2026-10-25
- Citations
- 0
- Radar score
- 44.25 / 100 (how it is scored)
- Why it scored so
- Matched: agent~evaluation, benchmark, evaluat; Primary record: Crossref; Also found via OpenAlex