Skip to content

ActBench: A Self-Evolving Benchmark for Behavioral Safety of Collaborative AgentsActBench: Self-Evolving Benchmark of Behavioral Safety in Cowork Agents

Paper Tracker· arXiv:2608.09476· Hongwei Yao, Yiming Liu, Meihui Chen, Jieling Chen, Zikun Chen, Yiling He, Wangze Ni, Cong Wang, Kui Ren·Indexed by this site · 2026-10-04· Originally publishedSelected EvaluationSelectedAttention42

Quick read

Evaluation and benchmarks

Based on the paper PDF (generated by Gemini); refer to the original

The authors build ActBench to evaluate agents; with Deepseek-v4-Pro fixed, the ASR of 6 frameworks ranges from 73.7% to 94.4%.

Questions
Collaborative agents executing tasks across workspaces, networks, and tools may introduce risks of unauthorized actions and state tampering, while existing evaluations mostly remain at response-level refusal or single attack surfaces, lacking causal attribution and dynamic feedback optimization mechanisms.
Methods
The authors propose ActBench, constructing 300 pairs of benign and malicious tasks covering 15 risk behavior categories. They use reward-guided beam search to jointly optimize attack and task utility, reflect on execution feedback to diagnose failed checkpoints and guide payload correction, and perform causal verification through dual-evidence reconstruction from audit logs and trajectories.
Experiments and results
In the evaluation of 24,000 trajectories, with the OpenClaw framework fixed, ASR across models ranges from 10.1% for Claude-Opus-4.8 to 94.4% for Deepseek-v4-Pro; with the model fixed, the ASR of 6 frameworks ranges from 73.7% to 94.4%, indicating that safety differences are mainly determined by model action decisions.
Limitations and future work
The limitations noted by the authors include the evaluation scope being limited to a given set of models and frameworks, the use of fixed decision thresholds and a single verifier configuration, and the reflection mechanism being based only on case analysis; the experiments do not evaluate the causal impact of defenses intercepting at runtime.
Experimental setupClaude-Opus-4.8、Claude-Sonnet-4.6 et al. · ActBench · AGS、UGS et al.
Evaluated models
Claude-Opus-4.8Claude-Sonnet-4.6GPT-5.5GPT-5.4-miniGrok-4.5GLM-5.2Qwen3.7-maxQwen3.7-plusKimi-K3Kimi-K2.6MiniMax-M3MiniMax-M2.7Deepseek-v4-ProDeepseek-v4-FlashHunyuan-3.0Prompt-Guard-2-86MLlama-Guard-4-12BAgentDoG-Qwen-4BAI-Infra-GuardCisco-Skill-Scanner
Benchmarks
ActBench
Metrics
AGSUGSASRpass@kAccuracyPrecisionRecallF1
AI summaryand selection rationaleResearchers from City University of Hong Kong, Zhejiang University, University College London, and Xiaomi propose ActBench, a self-evolving benchmark that evaluates the behavioral safety of collaborative agents from execution trajectories rather than final responses. The benchmark contains 300 benign/malicious paired cases across 213 scenarios, covering 15 risk behaviors, six execution spaces, and 48 web service APIs, with malicious cases injecting task-reachable payloads while preserving instructions, configurations, initial states, and scoring criteria. The construction method combines reward-guided beam search with reflection-based deep probing, and uses dual verification of log evidence and LLM trajectory evidence to determine whether an attack truly succeeds. Evaluating 15 LLMs and 6 open-source collaborative agents on 24,000 trajectories, attack success rates range from 10.1% to 94.4% with a fixed framework, and from 73.7% to 94.4% across frameworks with a fixed base model, with model differences exceeding framework differences. The benchmark is open-sourced at https://github.com/zjuicsr/ActBench。

Researchers from City University of Hong Kong, Zhejiang University, University College London, and Xiaomi propose ActBench, a self-evolving benchmark that evaluates the behavioral safety of collaborative agents from execution trajectories rather than final responses. The benchmark contains 300 benign/malicious paired cases across 213 scenarios, covering 15 risk behaviors, six execution spaces, and 48 web service APIs, with malicious cases injecting task-reachable payloads while preserving instructions, configurations, initial states, and scoring criteria. The construction method combines reward-guided beam search with reflection-based deep probing, and uses dual verification of log evidence and LLM trajectory evidence to determine whether an attack truly succeeds. Evaluating 15 LLMs and 6 open-source collaborative agents on 24,000 trajectories, attack success rates range from 10.1% to 94.4% with a fixed framework, and from 73.7% to 94.4% across frameworks with a fixed base model, with model differences exceeding framework differences. The benchmark is open-sourced at https://github.com/zjuicsr/ActBench。

Why it was selectedThe benchmark uses paired benign tasks and adversarial variants, judges behavioral safety from execution trajectories rather than final responses, and provides attack success rate comparisons across models and frameworks.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Existing safety evaluations of collaborative agents are limited to response-level refusals and isolated attack surfaces, lacking dynamic optimization and causal attribution of unauthorized behaviors in multi-step execution trajectories.

    Existing evaluations cannot effectively assess the operational-level behavioral risk of collaborative agents in multi-step execution trajectories.

    • Scenario and importance: Collaborative agents autonomously execute tasks across workspace files, web content, persistent memory, external tools, and reused skills. Security advisories such as CVE-2026-25253 expose risks of gateway credential exfiltration and host command execution, prompting safety evaluation to shift from single-step response refusal to execution trajectory analysis.
    • Existing evaluations are narrow and isolated in coverage: Existing benchmarks cover only fragmented attack surfaces (e.g., AgentDojo evaluates tool outputs, WASP targets web pages, MCPTox evaluates tool poisoning, and AgentPoison targets memory poisoning), lacking joint evaluation across combinations of artifacts, tool interfaces, persistent state, and permissions.
    • Lack of causal attribution: Existing evaluations rely on outcome checks, attacker progress scores, or LLM judges, and cannot jointly verify actual impact, trace execution paths, and configuration states, making it easy to misclassify blocked calls or pre-existing states as policy violations.
    • Static payloads cannot adapt to feedback: Existing fixed payload suites cannot adaptively adjust based on trajectory-level execution failure diagnostics; once the agent does not observe the payload or the target effect is not triggered, they fail, limiting evaluation coverage.
    • Core claim and approach: The authors propose defining behavioral safety as whether execution stays within the permissions and state changes required for benign tasks, and introduce a self-evolving evaluation benchmark ActBench containing 600 cases.
  2. What related research exists?

    Related work covers agent safety benchmarks, prompt and memory injection attacks, and safety detection audits; the authors point out that it lacks full attack surface coverage and causal verification.

    Related research, as organized by the paper, mainly falls into three categories: agent safety benchmarks, prompt injection attacks, and safety detection and auditing.

    Agent safety benchmarks

    • Harmful task evaluation: ToolEmu (Ruan et al. 2024) evaluates 36 high-risk toolkits across 144 cases; AgentHarm (Andriushchenko et al. 2025) contains 110 malicious tasks across 11 harm categories; RedCode (Guo et al. 2024) contains 4,050 risky execution cases across 25 scenarios; OS-Harm (Kuntz et al. 2025) extends to computer-use agents.
    • Adversarial execution evaluation: AgentDojo (Debenedetti et al. 2024) provides 97 tasks and 629 safety cases on untrusted tool return values; WASP (Evtimov et al. 2025) observes attack progress in web injections; MobileSafetyBench (Lee et al. 2026) evaluates mobile daily and indirect injection tasks; Agent Security Bench (Zhang et al. 2025) evaluates prompt injection, memory poisoning, and backdoor attacks. The authors note these works isolate execution settings and do not cover matched configurations across artifacts, persistent states, and permission combinations.

    Prompt injection attacks

    • Single-turn and data-resource injection: Zverev et al. (2025) focuses on single-turn model settings, and Wang et al. (2026c) extends injection to data resources accessible to agents.
    • Environment and memory poisoning: EIA (Liao et al. 2025) extracts personally identifiable information through compromised web pages; AgentPoison (Chen et al. 2024) assumes direct poisoning of memory or knowledge bases; MINJA (Dong et al. 2025) injects malicious records through query-only interaction.

    Safety detection and auditing

    • Defenses and alignment: DataSentinel (Liu et al. 2025b) develops game-theoretic prompt injection detection; SecAlign (Chen et al. 2025) applies preference optimization to reduce attacks; AttriGuard (He et al. 2026) defends against indirect prompt injection via causal attribution of tool calls.
    • Vulnerability discovery and auditing: AgentFuzz (Liu et al. 2025a) tests 20 open-source agents and finds 34 taint vulnerabilities; AgentAuditor (Luo et al. 2025) proposes ASSEBench containing 2,293 annotated interactions.

    Baseline methods and benchmark positioning

    • Baseline methods: In safety policy detection experiments, the paper compares text-level and state-level detectors Prompt-Guard-2-86M, Llama-Guard-4-12B, AgentDoG-Qwen-4B, as well as artifact scanning tools AI-Infra-Guard and Cisco-Skill-Scanner.
    • Positioning difference: The authors position ActBench as a benchmark that pairs benign and malicious tasks, models six execution spaces to jointly measure utility and safety, and compensates for static and isolated evaluation shortcomings through self-evolving search and dual-evidence causal verification.
  3. How does the paper address this problem?

    Through execution space modeling and task pair matching, combined with reward-guided beam search, failure reflection mechanisms, and dual-evidence reconstruction from logs and trajectories, self-evolving evaluation is achieved.

    The authors propose the collaborative agent behavior safety benchmark ActBench, which models risk behavior propagation paths through six execution spaces, and combines reward-guided beam search with dual-evidence causal verification to achieve self-evolving test case construction.

    Formalization of Execution Spaces and Risk Behaviors

    • Six execution spaces: Agent execution is modeled as context C, reasoning R, safety policy P, action A, persistent memory M, and environment E, with system state represented as a tuple of the respective spaces.
    • 15 risk behavior categories: Divided into context manipulation (B1-B4, path Cadv → R → A → E), state integrity violation (B5-B6, path M_{adv}/E_{adv} \leadsto C \to R \to A), action misuse (B7-B10, path C → R → Aadv → E), and policy arbitration failure (B11-B15, path C → R → Pfail → A → E).
    • Paired test cases: Each case consists of a benign instruction, a set of utility evaluation criteria, and a set of attack evaluation criteria; the malicious variant only modifies task-reachable fields, keeping the initial state, instruction, and scoring criteria consistent.

    Reward-Guided Beam Search

    • Geometric composite score: Candidate cases are ranked after k independent rollouts by the formula s(xt) = ga(xt)α gu(xt)1−α, where α and 1−α denote the constant elasticities of attack evidence and task utility, respectively; the composite score becomes zero when either the attack or utility score is zero.
    • Beam search expansion: Each round retains the top w parent nodes by composite ranking, and the attack model is invoked n times to generate new candidates, until the maximum search depth dmax is reached or both attack and utility fully succeed.
    • Construction parameter settings: In the construction phase, beam width w=3, candidate generation count n=2, maximum depth dmax=5, and ranking weight α=0.5; the attack model uses Deepseek-v4-Pro.

    Reflection-Based Deep Probing

    • Ten fault diagnosis categories: Based on execution traces, API audits, and scoring records, the reflector classifies failures into 10 states such as not_read, read_but_refused, weak_attack, and task_integrity_broken.
    • Targeted correction instructions: For the earliest failing checkpoint on the attack path, 5 correction focuses are set (e.g., payload_relevance, stealth_stability, task_integrity_preservation), generating local text correction instructions and constraining the attack model's modifications.
    • Self-evolving strategy pool: Once a case passes verification, its editing template and payload structure are immediately pushed into the empirical strategy pool, continuously expanding the subsequent attack strategy view.

    Dual-Evidence Reconstruction Verification

    • Score fusion mechanism: The attack score uses the formula ga(xi) = β g′a(xi) + (1 − β) g′′a(xi) for a convex combination, where g′a is the system log verification score and g′′a is the trajectory evidence verification score.
    • Strict full-success determination: Log evidence performs deterministic predicates on state differences and audit records; trajectory evidence is verified by GPT-5.5 for the causal chain of events from payload exposure to action effect. Only when both are 1 is the attack judged fully successful. In the evaluation phase, the evidence weight is fixed at β=0.4.
  4. What experiments did the paper conduct?

    Under a fixed framework, ASR across models ranges from 10.1% to 94.4%, while under a fixed model, ASR across frameworks is no lower than 73.7%, indicating that the model dominates safety differences.

    Experimental Setup

    • Models under test: Evaluated 15 foundation models (Claude-Opus-4.8, Claude-Sonnet-4.6, GPT-5.5, GPT-5.4-mini, Grok-4.5, GLM-5.2, Qwen3.7-max, Qwen3.7-plus, Kimi-K3, Kimi-K2.6, MiniMax-M3, MiniMax-M2.7, Deepseek-v4-Pro, Deepseek-v4-Flash, Hunyuan-3.0).
    • Collaborative frameworks: Evaluated 6 open-source collaborative frameworks (OpenClaw 2026.5.19, OpenAgent v2.83.1, Claude Code v2.1.218, Hermes Agent v0.18.2, OpenCode 1.18.3, QwenPaw 2.0.0.post2).
    • Dataset scale: ActBench contains 300 pairs of benign and malicious cases (600 cases in total) from 213 scenarios, involving 48 Web service APIs and 15 categories of risky behavior.
    • Evaluation metrics: Malicious attack score AGS, benign utility score UGS, attack success rate ASR (proportion where AGS exceeds 0.8), pass@k (proportion where at least one of the first k rollouts meets the threshold), and median action loop (Iter.).
    • Review method and environment: The review model and trajectory verifier use GPT-5.5, the attack success threshold is fixed at 0.8, and the evidence weight is β=0.4; the operating system is Ubuntu 22.04.5 LTS, and model requests are routed through OpenRouter.
    • Sample size and repetition: Each of the 20 experimental configurations includes 300 malicious cases (3 rollouts per case) and 300 benign cases (1 rollout per case), for a total of 24,000 trajectories; construction and evaluation trajectories are mutually exclusive.

    Main Results

    Swipe horizontally to read the table

    ModelAGSmal ↓ASR (%) ↓pass@3 (%) ↓UGSben ↑Iter.
    Claude-Opus-4.80.28410.113.70.93815.0
    Claude-Sonnet-4.60.34720.023.70.92716.0
    GPT-5.50.49337.847.30.92816.0
    Qwen3.7-max0.51139.254.70.91516.0
    Kimi-K30.48935.747.30.94017.0
    Grok-4.50.87083.990.70.93817.0
    Deepseek-v4-Pro*0.95594.498.70.92219.0

    Note: According to Table 2. Deepseek-v4-Pro* is the candidate generation model. This table shows representative models and omits 8 models: GPT-5.4-mini, GLM-5.2, Qwen3.7-plus, Kimi-K2.6, MiniMax-M3, MiniMax-M2.7, Deepseek-v4-Flash, and Hunyuan-3.0.

    • Model dominates safety differences: Under the fixed OpenClaw framework, ASR across models ranges from 10.1% for Claude-Opus-4.8 to 94.4% for Deepseek-v4-Pro (a difference of 84.3 percentage points), while benign task utility UGS differs by only 0.071.
    • Randomness of attack activation: Medium-risk models exhibit strong stochastic triggering characteristics; for example, Qwen3.7-max rises from 37.7% at pass@1 to 54.7% at pass@3 (an increase of 17.0 percentage points); high-risk models such as Deepseek-v4-Pro trigger violations consistently across all rounds (94.3% at pass@1 and 98.7% at pass@3).
    • Execution length cannot explain the ranking: The median malicious loop across models ranges from 15.0 to 19.5 rounds; MiniMax-M3, Hunyuan-3.0, and Deepseek-v4-Pro all have a median of 19.0 rounds, yet their ASRs are 25.0%, 30.0%, and 94.4%, respectively.

    Collaborative Agent Framework Comparison (RQ2)

    • Test setup: The foundation model is fixed to Deepseek-v4-Pro, and 6 different collaborative agent frameworks are substituted (Table 3).
    • Experimental results: QwenPaw records the lowest ASR at 73.7% (AGS of 0.868), OpenClaw records the highest ASR at 94.4% (AGS of 0.955), and the remaining frameworks have ASRs of OpenAgent 76.2%, Hermes 79.2%, Claude Code 81.4%, and OpenCode 81.7%.
    • Authors' interpretation: The authors state that the ASR span across frameworks (20.7 percentage points) is much smaller than the span across models (84.3 percentage points); under a fixed model, all frameworks have malicious violation rates above 73.7%, and execution-layer framework control cannot compensate for the foundation model's unauthorized transformation of untrusted context.

    Safety Policy Defense Detection Evaluation (RQ3)

    • Test setup: Evaluate the discrimination performance of 5 defenses on 300 malicious and 300 benign inputs within their respective native observation boundaries (Table 4).
    • Experimental results: Cisco-Skill-Scanner detects 270 malicious artifacts (recall 90.0%, precision 75.0%, 90 false positives); AgentDoG-Qwen-4B detects 167 malicious cases (precision 95.4%, recall 55.7%, 8 false positives); Prompt-Guard-2 and Llama-Guard-4 detect 40 and 55 malicious inputs, respectively (recall 13.3% and 18.3%).
    • Authors' interpretation: The authors state that trajectory context and artifact evidence are closer to actual behavior labels than local text, but there is a trade-off between precision and recall across different evidence boundaries; local text classifiers cannot be directly transferred to trajectory-level behavior violation detection.

    Execution Resource and Token Overhead Analysis

    • Test setup: Under the fixed OpenClaw framework, token consumption of 15 foundation models in malicious and benign rollouts is counted (Table 6).
    • Experimental results: The mean malicious token consumption of all 15 models is higher than the mean benign consumption (relative increase of 2.7% to 20.4%), but the token consumption ranking is inconsistent with ASR; for example, Deepseek-v4-Pro with an ASR of 94.4% corresponds to a mean malicious consumption of 149.0k tokens, while Hunyuan-3.0 with an ASR of 30.0% has a mean malicious consumption of 207.1k tokens.
    • Authors' interpretation: The authors state that malicious runs incur higher average token overhead internally, but cross-model token consumption and step counts cannot explain the observed behavioral risk ranking.

    Additional Ablations and Analyses

    • Evidence weight sensitivity: With fixed trajectory outputs, as the evidence weight β increases from 0 to 1, the AGS of Claude-Opus-4.8 rises from 0.169 to 0.456, and that of Deepseek-v4-Pro rises from 0.941 to 0.977 (Figure 9).
    • Framework ranking reversal: As the evidence weight β increases from 0 to 1, the AGS of OpenAgent rises from 0.774 to 0.859, while that of QwenPaw falls from 0.896 to 0.825, and the framework with the lowest AGS changes (Figure 10).
    • Risk category differences: Under fixed OpenClaw, the non-AGS span for state tampering across models reaches 0.893 (0.039 to 0.932), and the non-AGS for deceptive tool calls is below 0.5 for all models (highest 0.483) (Table 7).
    • Detection step trend: AgentDoG-Qwen3-4B detects 11.0% at step 1, reaches 44.3% at step 10, and reaches the final 55.7% (167 cases) at step 17, earlier than baseline detection (Figure 8).
    • Negative results and exceptions: GPT-5.4-mini is the only model whose median malicious tokens (110.2k) are lower than its median benign tokens (111.0k) (Table 6); although Cisco-Skill-Scanner achieves a recall of 90.0%, it produces 90 false positives (Table 4).
  5. What are some points that can be further explored?

    The authors point out that the evaluation is limited to a fixed threshold, a single verifier configuration, and non-runtime defense evaluation, and that the causal benefit of reflection lacks average quantitative ablation.

    Limitations and Future Directions Noted by the Authors

    • Evaluation scope limited to a specific set: The set of models and collaborative agent frameworks evaluated in the study has scope limitations (from Discussion).
    • Fixed judgment threshold and verifier configuration: The experiments use a fixed attack judgment threshold (0.8) and a single verifier fusion configuration (β=0.4) (from Discussion).
    • Reflection mechanism lacks average causal gain estimation: The analysis of the reflection mechanism is based on case studies and has not yet quantified the average causal benefit of reflection (from Discussion and RQ4).
    • Component attribution requires further ablation analysis: Before attributing causal benefits to specific components, pairwise uncertainty estimation, guard reruns, and construction ablation experiments are still needed (from Discussion).
    • Runtime interception interventions of defenses not evaluated: Defense evaluation only tests discrimination ability at static observation boundaries, without inserting interception strategies during execution or estimating causal effects on AGS, ASR, and UGS (from RQ3 and Experimental Setting).

    Experimental Coverage

    • Scope of subjects: Foundation model evaluation covers 15 models, and collaborative agent frameworks cover 6 open-source frameworks (OpenClaw, OpenAgent, Claude Code, Hermes Agent, OpenCode, QwenPaw).
    • Task and scenario scale: The benchmark contains 300 pairs of benign and malicious cases (600 cases in total) across 213 scenarios, involving 48 Web service APIs and 15 predefined behavioral risks.
    • Defense method coverage: 5 static or intermediate detection methods are evaluated (Prompt-Guard-2-86M, Llama-Guard-4-12B, AgentDoG-Qwen-4B, AI-Infra-Guard, Cisco-Skill-Scanner); the paper does not report direct blocking experiments of these defenses during agent runtime.
    • Candidate generation model: Attack candidate generation in the search phase is performed only by a single model, Deepseek-v4-Pro, and evaluation scoring and trajectory verification use only GPT-5.5.
    • Repetition and environment: Malicious cases are evaluated with 3 rollouts, benign cases with 1 rollout, all run under a single operating system, Ubuntu 22.04.5 LTS.
  6. Summarize the main content of the paper

    ActBench evaluates trajectory behavior safety through self-evolving search and dual-evidence reconstruction, revealing that differences in foundation model decisions dominate the operational risk of collaborative agents.
    • Positioning and core problem: The paper proposes ActBench, a self-evolving evaluation benchmark for operation-level behavioral safety of collaborative agents, aiming to address the challenges that existing evaluations are limited to single-step refusal, cover isolated scenarios, and lack causal attribution and adaptive optimization.
    • Core method design: Based on six execution spaces, it formalizes 15 types of behavioral risk propagation paths and designs paired benign and malicious tasks; it employs geometric reward beam search to jointly trade off attack and utility, combines ten types of execution fault reflection for iterative payload correction, and implements dual-evidence verification through system logs and trajectory causal reconstruction.
    • Model determines the safety span: Under a fixed OpenClaw framework, 24,000 trajectories were evaluated across 15 foundation models, with ASR spanning 84.3 percentage points; Claude-Opus-4.8 achieved the lowest at 10.1%, while Deepseek-v4-Pro reached as high as 94.4% (Table 2).
    • Execution framework cannot compensate for model deficiencies: With a fixed Deepseek-v4-Pro model, replacing 6 collaborative frameworks, all frameworks had ASR in the high range of 73.7% to 94.4% (Table 3), indicating that framework-level prompts or filtering are difficult to prevent vulnerable models from producing unauthorized actions.
    • Defense boundaries and execution overhead: The context-aware detector AgentDoG demonstrated interception capability earlier than local text classifiers, but has false negatives; meanwhile, the number of execution loops and token consumption are not necessarily correlated with the safety ranking of each model (Table 4, Table 6).
    • Conclusion and implications: The authors believe that the behavioral safety of collaborative agents mainly depends on the foundation model's action authorization decisions under adversarial contexts; benign task utility and execution duration cannot serve as substitutes for safety metrics, and future defenses must shift from single-point text filtering to a defense-in-depth system combining artifact analysis and trajectory monitoring.
Read originalarxiv.org