arXiv:2610.03153cs.CROct 2026

Manuscript Offprint

arXiv:2610.03153

EvoRiskBench: An Evolving Benchmark for Runtime Security Risks in Workspace Agents

Shiyi Kuang, Xuemei Luo, Kun Liu, Junhai Li, Rui Tian, Feng Shi, Bo Shen, Nianyu Li, Dehui Li, Ping Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Workspace agents combine large language models with execution harnesses to perform stateful, multi-step tasks that access or modify external resources. Existing benchmarks leave gaps in executable coverage of their runtime security risks, while evolving model capabilities, harnesses, tools, and threats motivate benchmark evolution. We introduce EvoRiskBench, an evolving benchmark organized around the EP-Path-EF framework, which links an initial risk entry point to an one-hop technical effect through an agent-mediated risk path. The framework defines nine entry-point categories and five effect categories; a 20-participant study supports their interpretability and classification consistency on representative cases. Guided by this framework, an automated end-to-end workflow constructs and executes risk cases in isolated environments and independently verifies outcomes using runtime traces and environment states. The benchmark provides a reproducible dataset of 450 adversarial tasks across six scenarios. We evaluate nine Model × Harness configurations spanning three models (GPT-5.6 Sol, DeepSeek-V4-Pro-0813, and Claude Opus 5) and three harnesses (Claude Code, Codex, and OpenClaw). Our results reveal substantial vulnerabilities across systems. The most vulnerable configuration, Codex with DeepSeek-V4-Pro-0813, reaches a 68.44% attack success rate (ASR), indicating that configuration of workspace agent is insufficient to ensure secure autonomous execution. ASR varies more across models than harnesses, and harness differences depend on the model. The benchmark cases and evaluation platform will be released after completion of artifact safety and reproducibility checks.

1 INTRODUCTION

Large language models (LLMs) are increasingly deployed as autonomous agents that execute multi-step tasks through interaction with tools and external environments (Wang et al., 2024). We refer to workspace agent as stateful Model × Harness systems that pursue user-delegated tasks through successive observations and tool-mediated actions, accessing or modifying external resources and state. This formulation subsumes API-based tool agents and GUI-based computer-use agents(Rawles et al., 2025) as interface-specific instances of LLM agents, while emphasizing persistent state, orchestration, permissions, and heterogeneous resources. The harness manages context, execution state, tool interfaces, permissions, and orchestration, mediating how model-selected actions are executed in the environment. Unlike response-only conversational systems, workspace agents can turn model outputs into operations with direct technical effects on external resources. We therefore focus on runtime security risks arising from agent execution, assessing both observable execution behavior and its direct, verifiable technical effects.

Agent-security evaluation has broadened to cover explicitly harmful multi-step tasks (Andriushchenko et al., 2025), indirect prompt injection (IPI) in tool-using environments (Debenedetti et al., 2024), and trajectory-dependent harms that emerge through accumulated context and tool-mediated execution (Feng et al., 2026a). Recent work further structures risk entries and impacts,

Table 1: Comparison of representative agent security benchmarks across risk entry points and risk effects in EvoRiskBench. √ denotes explicit executable coverage, ○ denotes partial or incidental coverage, and × denotes no identified coverage. Risk Entry Point abbreviations: SM = Session Memory, KR = Knowledge Retrieval, CE = Command Execution, FIO = File I/O, NA = Network Access, PAC = Peer-Agent Communication, SAD = Subagent Delegation, MCPS = MCP Service, and SI = Skill Invocation. Risk effects: ID = Information Disclosure, UA = Unauthorized Access, DT = Data Tampering, SD = System Destruction, and RE = Resource Exhaustion.

BenchmarkRisk Entry PointRisk Effect
SMKRCEFIONAPACSADMCPSSIIDUADTSDRE
AgentHarm×○×○○××××○○○○×
AgentDojo×✓○○✓××××✓✓✓××
InjecAgent×✓○○✓×××✓✓○○✓×
ASB✓✓✓✓✓×××✓✓✓✓✓○
Vera✓✓✓✓✓×××✓✓✓✓○×
AgentHazard○✓✓✓✓×××○✓✓✓✓✓
AgentS4D✓✓✓✓✓○○✓✓✓✓✓✓×
AgentCanary✓✓✓✓✓×××✓✓✓✓✓✓
EvoRiskBench✓✓✓✓✓✓✓✓✓✓✓✓✓✓

organizes lifecycle evidence, and automates risk discovery and verification (Li et al., 2026b; Zhou et al., 2026; Feng et al., 2026b). However, executable coverage of workspace-agent runtime risks remains incomplete: risks entering through agent communication and subagent delegation have only partial or no identified coverage in the compared benchmarks, while coverage of technical effects such as resource exhaustion is uneven (Table 1). Moreover, testing a technical effect through one entry interface does not establish coverage of other interfaces or execution paths that may lead to the same effect. A fixed set of test cases may also become less representative as model capabilities, harnesses, tools, and threats evolve. Beyond coverage, reliable evaluation requires monitoring the workspace during execution to corroborate technical effects that may not be fully captured by agent-visible trajectories or final-state checks.

To address these limitations, we introduce EvoRiskBench, an evolving benchmark for runtime security risks in workspace agents. We focus on indirectly induced runtime risks, where adversarial content enters through workspace resources and interfaces, rather than through explicitly malicious user requests. As illustrated in Figure 1, the framework represents each risk case as

[EP→ Path →EF][ \mathbf {E P} \rightarrow \text { Path } \rightarrow \mathbf {E F} ]

where EP (Risk Entry Point) identifies the initial interface through which risk enters under the case's starting conditions, the Path (Agent-mediated Risk Path) captures its propagation through observable actions and state changes; and EF (Risk Effect) specifies the one-hop technical consequence targeted by the case. Inspired by the Layered Attack Surface Model (LASM) (Chu, 2026), we identify nine runtime risk entry-point categories. Drawing on prior benchmark taxonomies (Li et al., 2026b; Zhou et al., 2026), we define five technical-effect categories spanning confidentiality, integrity, and availability(CIA) (National Institute of Standards and Technology, 2004). Agent-mediated paths connect these categories to executable case construction and outcome verification. We assess the interpretability and classification consistency of the entry and effect categories in a 20-participant study; blind classification of 11 representative scenarios yields Fleiss' κ=0.904\kappa = 0.904 for entry points and κ=0.723\kappa = 0.723 for effects on the tested cases.

Building on this representation, EvoRiskBench provides an automated end-to-end workflow for Risk Path generation and independent system-level evaluation. Execution traces and replay-verification feedback guide adversarial refinement and subsequent case generation. The same workflow supports extending the benchmark with additional validated cases as model capabilities, harnesses, tools, and threats evolve. Using this workflow, we construct 450 executable adversarial tasks across six scenarios, which form a shared, frozen case set for reproducible cross-configuration evaluation. During evaluation, targeted risk effects are independently verified using

Figure

Figure 1: Overview of EvoRiskBench framework.

agent execution trajectories and environment evidence, augmented by Event Tracing for Windows (ETW) process and network events to capture system-level effects that may not be fully reflected in agent-visible trajectories or final-state checks.

We evaluate nine Model × Harness configurations using Attack Success Rate (ASR), Task Success Rate (TSR), and an AI-judged trajectory-level Harm Score (HS). Across the evaluated configurations, the highest observed ASR is 68.44%. Our results show that current workspace agents remain highly exploitable and, notably, that stronger task-execution capability can coincide with greater attack susceptibility, underscoring the need for security evaluation at the level of the complete workspace agents system rather than the model alone.

Our main contributions are:

• An executable benchmark and runtime-risk framework. We introduce EvoRiskBench, an executable benchmark for runtime security risks in workspace agents. Its EP–Path–EF framework links nine risk entry-point categories to five technical-effect categories through agent-mediated execution paths, providing a consistent representation for systematic risk coverage analysis. A 20-participant study supports the interpretability and consistent application of the entry and effect categories on representative cases.

• An automated workflow for constructing and evolving executable cases. We develop an automated workflow that adversarially generates and iteratively refines EP–Path–EF risk cases during construction. Runtime traces and environment states guide case refinement and support independent verification of targeted technical effects. Using this workflow, we construct 450 executable adversarial tasks across six scenarios. Formal evaluation uses a shared, frozen case set, while the same workflow supports continued expansion with additional validated cases.

• A unified platform for workspace-agent runtime evaluation and verification. We build isolated and resettable Windows-based Docker environments for executing identical benchmark cases across nine Model × Harness configurations. The platform instantiates all nine risk entry points through native runtime interfaces, and covers five risk effects. Execution trajectories and independently collected environment evidence support verification of the targeted technical effects. The EP–EF decomposition further reveals concentrations of risk that aggregate scores obscure, providing a basis for comparing complete agent configurations and targeting defensive evaluation at specific runtime interfaces.

References (28)