EvoRiskBench: An evolutionary benchmark for runtime security risks of workspace agentsEvoRiskBench: An Evolving Benchmark for Runtime Security Risks in Workspace Agents
Quick read
Evaluation and benchmarksBased on the paper PDF (generated by Gemini); refer to the original
The paper evaluates runtime risks of workspace agents; DeepSeek-V4-Pro-0813 under Codex achieves an ASR of 68.44%.
- Workspace agents face runtime safety risks when executing multi-step tasks. Existing benchmarks have incomplete coverage of entry points such as agent communication and sub-agent delegation, and lack systematic evaluation of technical consequences such as resource exhaustion, making it difficult to cope with the evolution of agent components and threats.
- The paper proposes the EP–Path–EF framework, mapping 9 risk entry points through agent execution paths to 5 categories of technical consequences. Based on this framework, it builds an automated generate-freeze-replay-refine process, independently verifies consequences through Windows isolated containers and ETW events, and constructs a benchmark containing 450 executable adversarial tasks.
- Tested 4050 times across 9 configurations of 3 models and 3 Harnesses, the overall ASR is 37.46% and the overall TSR is 60.44%. DeepSeek-V4-Pro-0813 paired with Codex has the highest ASR at 68.44%; the ASR gap between models reaches 54.37 percentage points, larger than the difference between Harnesses.
- The evaluation covers only indirect prompt injection, and the sandboxed tools and environment may not fully capture the complexity of production environments. The experiments cover 3 models, 3 harnesses, and 450 tasks; the baseline model and harness used in the generation phase are not reported, and the internal sandbox and tool approval prompts were bypassed in the Codex tests.
- Evaluated models
- GPT-5.6 SolDeepSeek-V4-Pro-0813Claude Opus 5
- Benchmarks
- EvoRiskBench
- Metrics
- ASRTSRHarm Score (HS)
Researchers at Fudan University, Zhongguancun Laboratory, and other institutions propose EvoRiskBench, an evolutionary benchmark for runtime security risks in workspace agents, using the EP–Path–EF framework to connect nine types of risk entry points with five types of technical consequences through agent execution paths. The benchmark includes 450 executable adversarial tasks across six scenarios, runs in isolated Windows containers, and independently verifies attack outcomes using execution traces, environment states, and ETW process and network events. The researchers conducted 4,050 attack executions across nine configurations formed by three models (GPT-5.6 Sol, DeepSeek-V4-Pro-0813, Claude Opus 5) and three harnesses (Claude Code, Codex, OpenClaw), with an overall attack success rate of 37.46%, peaking at 68.44% for DeepSeek-V4-Pro-0813 with Codex.
Why it was selectedThe paper reports the ASR and TSR of nine Model × Harness combinations on 450 executable cases, and notes that model differences are greater than harness differences, which can serve as a reference for teams deploying workspace agents to compare against their own configurations.
Paper analysis
What problem does this paper attempt to solve?
The paper attempts to address the incomplete coverage of runtime security risks of workspace agents and the lack of a verifiable, continuously evolving executable benchmark.
Existing security benchmarks cannot adequately cover the runtime security risks of workspace agents in actual interactive execution, and there is a lack of a systematic, verifiable, and continuously evolving executable evaluation benchmark.
- Runtime scenario and importance: workspace agents, as stateful systems combining LLMs with execution Harnesses, can access and modify external resources through multi-step tool interactions, and their model outputs translate into operations with direct technical consequences on external resources.
- Shortcomings of existing benchmarks: the authors state that previous benchmarks have missing or only partial coverage of entry points such as peer-agent communication (PAC) and sub-agent delegation (SAD), uneven coverage of technical consequences such as resource exhaustion (RE), and fixed test sets that struggle to adapt to the continuous evolution of models, tools, and threats.
- Core observation and perspective: the authors believe a single entry point can trigger multiple technical consequences, and the same consequence can arise through different paths; risk cannot be fully characterized by attack techniques alone, so entry points, agent-mediated paths, and direct technical consequences need to be decoupled and represented.
- Threat model: the authors set an indirect prompt injection (IPI) threat model, focusing on runtime risks induced by untrusted workspace content under non-malicious user tasks:
- Attacker goal: induce the agent to perform unintended operations by planting malicious content in workspace resources, producing technical consequences at the confidentiality, integrity, or availability level.
- Attacker knowledge and capability: the attacker can only place or tamper with untrusted workspace content accessible to the agent; cannot modify system instructions, model parameters, Harness implementations, or verification components, and cannot directly call tools or forge execution evidence.
- Victim system: the victim system is the complete model and Harness combination; all harmful consequences must arise from actual interactive execution of the model and Harness.
- Proposed solution: the paper proposes the EvoRiskBench benchmark and EP–Path–EF framework, combining a closed-loop generation-replay workflow with an independent verification platform based on Windows containers and ETW events, building 450 executable adversarial tasks.
What related research exists?
The paper reviews three lines of related work—workspace agents, agent safety benchmarks, and evolutionary evaluation—and positions itself as a benchmark covering full-pipeline entry points and direct consequences.
The paper reviews related research in three directions: workspace agents, agent safety benchmarks, and evolutionary evaluation construction, and compares the coverage of existing benchmarks.
- Workspace agent systems
- Tool use and interface interaction work: Toolformer (Schick et al., 2023) and ReAct (Yao et al., 2023) studied the interaction mechanisms of large models calling API tools; AndroidWorld (Rawles et al., 2025) and WebArena (Zhou et al., 2024) extended interaction to mobile systems and web interfaces.
- Formalization of workspace agents: The SWE-bench series (Jimenez et al., 2024; Zhang et al., 2025b) defines workspace agents as systems that execute multi-step tasks in environments containing code, files, external services, and persistent state, with runtime behavior determined jointly by the model and the harness.
- Agent safety benchmarks and runtime risk coverage
- Explicitly harmful tasks and prompt injection benchmarks: AgentHarm (Andriushchenko et al., 2025) evaluates explicitly harmful multi-step tasks; AgentDojo (Debenedetti et al., 2024), InjecAgent (Zhan et al., 2024), and WASP (Evtimov et al., 2025) study indirect prompt injection in tool-use environments; ASB (Zhang et al., 2025a) covers memory poisoning and backdoors.
- Trajectory and executable environment safety benchmarks: AgentHazard (Feng et al., 2026a) and AgentS4D (Zhou et al., 2026) emphasize execution trajectories and full-lifecycle risks; AgentCanary (Li et al., 2026b) evaluates autonomous agent safety in executable environments; LASM (Chu, 2026) proposes a layered attack surface model.
- Comparative analysis and gaps: The authors note that compared with existing benchmarks (Table 1), prior work has less coverage of entry points such as peer agent communication (PAC) and sub-agent delegation (SAD), and uneven coverage of consequences such as resource exhaustion (RE).
- Evolutionary benchmarks and adversarial example construction
- Dynamic evaluation and adversarial red teaming: Chen et al. (2025) survey dynamic evaluation under data contamination; Wei et al. (2025) study the iterative evolution of attacks on agents; GPT-Red (Wallace et al., 2026) uses self-play to discover prompt injection vulnerabilities across models and harnesses.
- Automated risk exploration: Vera (Feng et al., 2026b) uses execution feedback to guide subsequent executable case construction and evidence verification.
- Baseline methods and benchmarks: In Table 1, the paper selects 8 representative benchmarks—AgentHarm, AgentDojo, InjecAgent, ASB, Vera, AgentHazard, AgentS4D, and AgentCanary—and systematically compares their executable coverage across 9 types of risk entry points and 5 types of risk consequences.
- Positioning of this paper: The authors position EvoRiskBench as an evolutionary benchmark based on the EP–Path–EF framework, generated with closed-loop execution feedback and independently verified by system-level evidence, focusing on workspace runtime risks induced by indirect prompt injection.
- Workspace agent systems
How does the paper address this problem?
The paper proposes the EP–Path–EF framework and a generate-replay-refine workflow, combining container isolation and ETW events to achieve automated test case construction and independent result verification.
The paper proposes the EvoRiskBench benchmark framework, whose core is the EP–Path–EF runtime risk characterization system consisting of risk entry points (EP), agent mediation paths (Path), and technical consequences (EF), together with a closed-loop generation and refinement process and a containerized independent verification platform.
Formalization and taxonomy of runtime risks
- Formal definition: Let the set of risk entry points be EP = {ep1, …, ep9} and the set of risk consequences be EF = {ef1, …, ef5}. A test case requires verifying that a malicious effect, input from a specific entry point, propagates through the agent execution path and produces the target consequence:
ep_i \xrightarrow{p_{M,H}(c)} ef_jThis formula expresses the complete causal execution path from the initial entry point to a single-hop technical consequence, where the execution path p_{M,H}(c) is extracted jointly from the agent-visible trajectory and external system runtime evidence. - 9 types of risk entry points (EP): Based on a layered attack surface (Table 2), these include session memory (SM) and knowledge retrieval (KR) at the memory and retrieval level; command execution (CE), file I/O (FIO), and network access (NA) at the tool and execution level; peer agent communication (PAC) and sub-agent delegation (SAD) at the multi-agent collaboration level; and MCP services (MCPS) and skill invocation (SI) at the agent ecosystem level.
- 5 types of single-hop technical consequences (EF): Based on CIA attributes (Table 3), these cover information disclosure (ID) at the confidentiality level; unauthorized access (UA) and data tampering (DT) at the integrity level; and system damage (SD) and resource exhaustion (RE) at the availability level. Consequences focus only on the first-hop verifiable physical state changes directly produced by agent execution; downstream chain reactions do not change the primary label.
- Taxonomy evaluation: 20 participants performed blind classification of 11 representative scenarios; Fleiss' kappa was 0.904 for EP and 0.723 for EF (Appendix A.1).
Generation, replay, and feedback refinement of executable cases
- Rule- and experience-guided generation: The case generator receives rule specifications and an experience knowledge base, and constructs candidate cases for a specified (ep_i, ef_j) combination that include normal user tasks, adversarial payloads, executable environment states, and consequence verifiers.
- Triple replay verification mechanism: Generated candidate cases first undergo integrity checks and are frozen, then are executed 3 independent times in a fixed baseline environment. A case is formally adopted only when at least 2 replays succeed (i.e., the payload is reached, the attack action is executed, and the consequence is independently verified).
- Closed-loop evidence refinement: Candidate cases that fail the replay criteria are not directly discarded; their execution trajectories and failure diagnoses are aggregated as failure evidence and fed back to the generator for iterative correction under the same (ep_i, ef_j) constraints. Stable cases are distilled as successful experience and deposited into the knowledge base.
- Fixed evaluation set construction: Through this process, 450 executable adversarial tasks were ultimately constructed, covering 6 business scenarios (organizational operations, data analysis, software and IT operations, knowledge and content, sales and customer service, and governance and compliance).
Sandboxed runtime execution and independent result determination
- Container environment deployment: Each execution is performed in a Windows process-isolated container initialized from a fixed image; the container is destroyed after the task ends to prevent state residue.
- Multi-source runtime evidence collection: In addition to collecting the agent's own execution trajectory, the system independently records underlying process startup and network connection events via Windows Event Tracing (ETW), as well as file and configuration system state before and after execution.
- Independent consequence verification and determination: Each case specifies an independent verifier. An attack is judged successful only when external state or ETW system evidence confirms that the target technical consequence was actually achieved; mere textual model compliance or ineffective harmful attempts are not counted as successful attacks.
- Formal definition: Let the set of risk entry points be EP = {ep1, …, ep9} and the set of risk consequences be EF = {ef1, …, ef5}. A test case requires verifying that a malicious effect, input from a specific entry point, propagates through the agent execution path and produces the target consequence:
What experiments did the paper conduct?
The paper evaluates 9 configurations formed by 3 models and 3 harnesses; the overall ASR is 37.46%, with differences between models greater than differences between harnesses.
The paper conducted a systematic empirical evaluation across 9 model and Harness combinations.
Experimental Setup
- Models tested: 3 models: GPT-5.6 Sol, DeepSeek-V4-Pro-0813, Claude Opus 5.
- Harnesses tested: 3 systems: Codex CLI (version 0.154.0), Claude Code (version 2.1.268), OpenClaw (version 2026.9.4); unattended operation bypassed tool approval prompts and the Codex CLI internal sandbox; Codex's inter-agent communication used OpenAI Agents SDK 0.17.2 as an adapter.
- Evaluation dataset: EvoRiskBench's fixed 450 executable adversarial tasks, covering 6 business scenarios, corresponding to combinations of 9 EP and 5 EF categories.
- Evaluation metrics: Attack Success Rate (ASR, proportion where the attack goal was achieved and consequences verified), Task Success Rate (TSR, proportion of normal user tasks completed under injection), Harm Score (HS, 0–10 trajectory harm level given by an AI judge).
- Review and verification: Attack success was determined by use-case-defined state checks and ETW process/network event verifiers; HS was given as a structured score by an AI judge with a fixed prompt (based on predefined scoring criteria and system evidence).
- Execution environment and scale: single uncontaminated runs in isolated Windows process containers; 9 configurations each ran 450 cases, totaling 4,050 attack executions.
Main Results
According to Figure 2 and Table 4, the evaluation results of 9 Model × Harness configurations on 450 cases are as follows:
Swipe horizontally to read the table
Model Harness ASR (%) Successful cases TSR (%) DeepSeek-V4-Pro-0813 Codex 68.44% 308/450 69.33% DeepSeek-V4-Pro-0813 OpenClaw 56.44% 254/450 62.89% GPT-5.6 Sol Claude Code 52.44% 236/450 77.33% DeepSeek-V4-Pro-0813 Claude Code 51.56% 232/450 72.22% GPT-5.6 Sol Codex 50.00% 225/450 68.89% GPT-5.6 Sol OpenClaw 44.89% 202/450 63.11% Claude Opus 5 Claude Code 6.67% 30/450 73.33% Claude Opus 5 OpenClaw 3.78% 17/450 30.00% Claude Opus 5 Codex 2.89% 13/450 26.89% - Agents generally exhibit runtime vulnerabilities: of 4,050 executions, 1,517 achieved the attack goal, for an overall ASR of 37.46% across configurations, and 5 of the 6 configurations using GPT-5.6 Sol or DeepSeek-V4-Pro-0813 had ASR at or above 50% (Finding 1).
- Model influence on ASR is greater than Harness: model-aggregated ASR for DeepSeek-V4-Pro-0813, GPT-5.6 Sol, and Claude Opus 5 was 58.81%, 49.11%, and 4.44%, respectively, a gap of 54.37 percentage points between models, while the Harness-aggregated ASR gap was only 5.41 percentage points; the authors noted that Claude Opus 5's low ASR partly stems from its cybersecurity defense mechanisms actively refusing or interrupting operations (Finding 2).
- Harness influence is model-dependent: DeepSeek-V4-Pro-0813 had higher ASR than GPT-5.6 Sol under Codex and OpenClaw, but under Claude Code, GPT-5.6 Sol's ASR was slightly higher (52.44% vs. 51.56%) (Finding 2).
High-Risk Sub-Combination Analysis Under Low Overall ASR
- Low ASR masks local high risk: Claude Opus 5's overall ASR across Harnesses was 4.44%, but its ASR on the network access to system damage (NA–SD) combination reached 56.67% (17/30), and under Claude Code that combination reached 100% (10/10) (Finding 3).
- Risk concentration along entry and consequence dimensions: at the entry level, MCP services (MCPS) had the highest average ASR at 61.78%; at the consequence level, information disclosure (ID) had the highest average ASR at 41.60%, reaching 84.44% with DeepSeek-V4-Pro-0813 paired with Codex (Figure 2, Finding 3).
- High-risk cells appear in all categories: all 9 risk entries and 5 risk consequence categories had at least one specific EP–EF cell with 100% ASR (Figure 2, Finding 3).
Normal Task Utility and Harm Severity Under Attack
- Task completion rate under attack (TSR): the average TSR across all configurations under indirect prompt injection was 60.44% (Table 4); Claude Code had the highest cross-model average TSR (74.30%), Codex 55.04%, and OpenClaw 52.00%.
- Utility differences across Harnesses for models: Claude Opus 5's average TSR was 43.41%, but 73.33% under Claude Code, dropping to 30.00% and 26.89% under OpenClaw and Codex, respectively; GPT-5.6 Sol and DeepSeek-V4-Pro-0813 had average TSRs of 69.78% and 68.15%, respectively (Table 4).
- AI judge harm scores (HS): at the entry level, MCPS had the highest average harm score (4.31), with file I/O (2.06) and sub-agent delegation (2.14) the lowest; at the consequence level, information disclosure (3.96) and unauthorized access (3.62) were highest, and resource exhaustion (2.10) lowest (Figure 3). Most category means fell between 2 and 4, which the authors noted reflects that harmful behaviors were often unsuccessful or only partially realized.
Additional Ablations and Analyses
- Taxonomy evaluation: 20 subjects rated EP and EF clarity at 4.24 and 4.51, distinctiveness at 3.91 and 4.18, with blind-test agreement coefficients of Fleiss' kappa = 0.904 and 0.723, respectively (Table 5, Table 6).
- Harm score comparison across configurations: DeepSeek-V4-Pro-0813 paired with Codex reached an average HS of 6.6 on information disclosure (ID) (Figure 5), while under Claude Opus 5 paired with Claude Code, average HS across all consequence categories ranged from 1.1 to 1.7 (Figure 5).
What are some points that can be further explored?
The authors noted that the benchmark targets only IPI and the sandbox simplifies production environments; the experiments covered 450 cases across 3 models and 3 Harnesses.
Limitations and future directions noted by the authors
- Attack threat model scope: The evaluation currently focuses on indirect prompt injection (IPI) attacks; the authors note that future work will broaden the threat model beyond IPI (Section 5).
- Workspace environment complexity: The evaluation used sandboxed tools, services, and states; the authors note this is only an approximation of production workspaces and may not fully capture the complexity of real production environments (Section 5).
- External services and workspace heterogeneity: The authors plan to evaluate EvoRiskBench in the future using more realistic external services, heterogeneous workspaces, and long-horizon scenarios (Section 5).
- Safety and reproducibility checks of evaluation artifacts: The benchmark cases and evaluation platform will be released only after completing artifact safety and reproducibility checks (Abstract, Section 5, Reproducibility Statement).
Experimental coverage
- Models and harnesses under test: The experiments cover 3 models (GPT-5.6 Sol, DeepSeek-V4-Pro-0813, Claude Opus 5) and 3 harnesses (Claude Code 2.1.268, OpenClaw 2026.9.4, Codex CLI 0.154.0), combined into 9 system configurations.
- Task and scenario scale: The evaluation set is fixed at 450 executable adversarial tasks covering 6 business scenarios; each configuration is executed 450 times, for a total of 4,050 attack executions.
- Execution environment settings: All tasks are run once in Windows process-isolated containers based on a fixed image; the Codex CLI internal sandbox was not enabled, and tool approval prompts were skipped.
- Unreported information: The paper does not report which specific model and harness were used as the fixed baseline in the case generation and refinement phase, does not report the specific model version used by the AI judge, and does not report the number of repeated runs and variance for each case under the same configuration in the main evaluation.
Summarize the main content of the paper
The paper constructs EvoRiskBench, a runtime risk benchmark for workspace agents, and finds that highly capable agents face significant safety risks under IPI.
- Positioning and goal: EvoRiskBench is an executable, evolving evaluation benchmark for runtime security risks of workspace agents under indirect prompt injection (IPI), aimed at addressing traditional evaluations' incomplete coverage of agent collaboration entry points and the difficulty of systematically capturing actual execution consequences.
- Core method framework: proposes the EP–Path–EF system, linking 9 risk entry points to 5 single-hop technical consequences through execution paths; uses a closed-loop "generate-freeze-replay-refine" process to build 450 adversarial tasks, with objective consequence verification in isolated Windows containers combined with ETW process and network events.
- Main evaluation results: across 9 configurations of 3 models and 3 Harnesses (4,050 executions total), the overall attack success rate (ASR) was 37.46% and the overall task success rate (TSR) was 60.44%.
- Highest-risk configuration: DeepSeek-V4-Pro-0813 paired with Codex reached an ASR of 68.44%, reflecting that current workspace agents are easily exploited to produce real damage when facing untrusted input; the authors noted that configuring a workspace alone is insufficient to guarantee safe autonomous execution.
- Model and Harness effects: the ASR gap between models reached 54.37 percentage points (DeepSeek-V4-Pro-0813 at 58.81%, Claude Opus 5 at 4.44%), far larger than the 5.41-percentage-point gap between Harnesses, and Harness protective effects depend on the paired model.
- Authors' conclusions and implications: the authors believe agents with stronger task-execution capability may come with higher attack susceptibility, and low overall ASR can mask local high risk (e.g., Claude Opus 5's ASR of 56.67% on network access leading to system damage), so model and Harness must be treated as an integrated system for coordinated runtime security defense.