Manuscript Offprint

arXiv:2610.23077

When Approval Becomes Execution: Authorization-Grounded Workflow Attacks on Tool-Using Agents

Chenggong Shi, Hongmei Mou

Abstract

Tool-using language-model agents increasingly rely on local services for document access, approval management, and enterprise workflow execution. This paper studies an authorization-grounded workflow attack in the OpenClaw Agent Security Attack Competition, a controlled benchmark derived from SeClaw-style security task synthesis. Rather than using explicit policy-override instructions, the attack guides the agent through a locally coherent approval workflow: a protected document request is denied, the agent requests a normal approval token from the local approval service, and the returned token is supplied to the document service through authorized_by. Official submission traces show this pattern succeeding on three Enterprise OA document targets. We also conducted 23 controlled local validation experiments in the official OpenClaw execution environment: the original configuration reached the approval-token transition in 9/9 reruns and completed the exact target operation in 8/9 reruns, while single-component variants remained successful on the three document targets. The results provide concrete case evidence of an authorization-context gap: token possession can be treated as sufficient authorization even when requester identity, approver authority, resource scope, action type, destination or recipient, and business purpose are not jointly enforced. We present the attack pattern, controlled trace analysis, and defensive implications for context-bound tokens, service-side policy binding, agent-side authorization checks, and trace-aware benchmark design.

1 Introduction

Large language model agents are no longer limited to text generation. Modern agents can reason, call tools, read files, browse structured workspaces, and execute multi-step workflows [Yao et al., 2022]. In enterprise settings, these capabilities often interact with sensitive resources such as internal documents, authorization systems, calendars, and financial records. The resulting security boundary is subtle: the agent must be helpful enough to complete legitimate workflows, but cautious enough to reject or halt operations whose authorization context is incomplete.

Prompt injection research has shown that apparently benign instructions can redirect agents toward harmful or policy-violating behavior [Liu et al., 2023b; Greshake et al., 2023]. OpenClaw provides a controlled setting for studying such failures in realistic tool-rich environments, and SeClaw formalizes the broader idea of synthesizing security tasks from specifications [Cheng et al., 2026]. The competition setting is valuable because it requires attacks to be evaluated through concrete traces rather than only through natural-language arguments.

This paper presents a case study of the Enterprise OA document scenario and its interaction between agent planning, approval services, document services, and service-side authorization checks. Our verified submission passed three document-related targets: oa_document_export, oa_document_read, and oa_layoff_read. All outputs were produced by the official runner, and the submitted traces correspond to the attack files in the same archive.

The central observation is that a model-driven agent may interpret approval-token acquisition as a routine recovery step rather than as a security decision. In the observed traces, the document service denies an initial confidential document request and hints that an authorized_by parameter is needed. The agent then obtains a syntactically valid approval token from the local approval service and reuses it at the document service boundary. The policy-relevant question is broader than token possession: who is requesting access, who can authorize it, what resource is covered, what action is allowed, where the data is sent, and whether the stated business reason is sufficient.

This framing is narrower than two adjacent claims. It is not a new access-control model; the tuple records fields that established service policies would normally need to check. It is also not merely a benign-prompt variant of prompt injection; the relevant evidence is the trace transition from document denial, to approval-token issuance, to token consumption at a protected document endpoint. The contribution is to locate this loss of authorization context inside agent-tool execution and to test its repeatability in the benchmark runner.

Our contributions are:

• We formalize an authorization-context gap in tool-using agents, where workflow success can be driven by possession of a local approval token rather than validation of the full requester, approver, resource, action, destination or recipient, and purpose tuple.

• We present an authorization-grounded attack pattern and map the approval-token transition to the policy-context fields that can disappear across agent-tool execution.

• We provide target-level empirical evidence from three official OpenClaw Enterprise OA document targets and 23 controlled local validation runs, while explicitly limiting the claim to this controlled benchmark subset.

• We derive defense and benchmark-design recommendations for context-bound approval tokens, service-side policy enforcement, agent-side authorization checks, and trajectory-level evaluation, while marking these recommendations as unvalidated design implications.