Advances in the reasoning and tool use of large language models (LLMs) have enabled agents that automate enterprise workflows, from retrieving business records to processing payments on behalf of users. This automation introduces a security challenge: an agent's ability to perform an action does not imply that the requesting user is authorized to initiate it. Whether a request is authorized often depends on organizational policies and contextual information that agents must actively retrieve from enterprise systems. However, access to such information may itself be restricted. This creates a fundamental challenge: agents must gather sufficient evidence to determine whether a request is authorized without violating access restrictions in the process. To evaluate this capability, we introduce DeputyBench, an executable benchmark for contextual authorization in enterprise agents. DeputyBench pairs enterprise scenarios in which the same request calls for different actions depending on the authorization context. Spanning six categories of enterprise risk, it scores unauthorized reads and actions from system state while requiring agents to complete legitimate work. On 100 challenge tasks, the strongest of 11 model configurations reaches a paired success rate of only 59.8%, and models fail in opposite directions: some read protected records before checking whether they may, while others refuse legitimate work. Pooled over this set, 78.3% of violations in unauthorized contexts are premature accesses to protected information; only 9.3% are wrong decisions made after sufficient evidence. On a separately authored, pre-registered suite, naming the required authorization checks without revealing the deciding facts raises success on access-gated tasks to 97-100% for all four models tested. These findings argue for scoring how agents gather evidence, not only their final decisions.
翻译:暂无翻译