Compromise Is Not Consequence: Evaluating Task-Scoped Authorization in LLM Agents with Paired Replay
Abstract
A tool-using model can follow a malicious instruction even when its credentials are valid. We study whether task-scoped authorization contains the resulting tool execution. Our paired-replay testbed samples a model request once and submits the same action, resource, and arguments to broad bearer, scoped JWT, sender-constrained, and Open Policy Agent conditions. The frozen main experiment uses 128 scenarios across four tool domains and five local model configurations. Among valid attacked post-exposure decisions, broad-bearer harmful execution ranges from 8.9% to 37.8% across models; all three scoped conditions record zero. The policy changes execution, not the frozen model decision. These results support containment of the tested cross-action and cross-resource consequences under researcher-supplied task authority, not prevention of prompt injection. A bounded six-task AgentDojo extension preserves native scoring and records 11/24 injected broad-policy attack flags versus 0/24 scoped flags, with utility of 5/24 and 6/24. Low exposure, invalid decisions, and purposive task selection limit that comparison. The primary experiment measures safe continuation rather than final-answer correctness. An empirical-bank fresh-sampling comparison finds no estimation advantage from pairing when scoped outcomes are constant zero. The contribution is a controlled measurement of compromise, enforcement, and continuation, with explicit limits on what each observation establishes.
Create a lesson
Related papers
Abliterated, but Better? Paired Evaluations of Cybersecurity Agents
Shared title terminologycs.CRAlan Zabihi, Ismail Pelaseyed
The Refusal Loop: When Enforcement Undermines Authorization in LLM Agent
Shared title terminologycs.CRDuo Zhou
Execution-Bound Authorization for Delegated AI Agents
Shared title terminologycs.CRAli Akarma, Gohar Ali, Toqeer Ali Syed et al.
Controlled Autonomy for Agentic AI: A Layer-by-Layer Evaluation of Policy Enforcement, Cryptographic Identity and Isolation
Shared title terminologycs.CRHisham Ali, Vasileios Mavroeidis, Nikolaos Pitropakis et al.
CredLeakBench: Evaluating Credential Leakage and Recovery in LLM Agents
Shared title terminologycs.CRRafid Ahmed, Joseph Fioresi, Mubarak Shah et al.
NetAgent: Multi-Task Agentic Network Traffic Analysis Made Practical
Shared title terminologycs.CRHao Fu, Dawn Song, Peng Gao