Automated safety testing reveals 93.9% attack success rate across four agent frameworks

Vera systematically composes safety cases from emerging risk taxonomies and verifies outcomes via observable environment artifacts.

PaperChinese Techcs.AIarXiv:2607.01793v2
Yunhao Feng · Ruixiao Lin · Ming Wen · Qinqin He · Yanming Guo · Yifan Ding · +9 more

AntGroup · Zhejiang University · Fudan University · Alibaba Group · Hunan Institute of Advanced Technology

Research Digest··3 min read
Feng et al. present Vera, an end-to-end automated safety testing framework for LLM agents that uses a three-stage pipeline to discover risks, compose executable safety cases, and execute them in sandboxed environments with evidence-grounded verification. Evaluating on four production agent frameworks (OpenClaw, Hermes, Codex, and Claude Code), they find average attack success rates of 93.9% under multi-channel attacks, and release Vera-Bench with 1600 safety cases spanning 124 risk categories.

What they did

The authors developed Vera, a framework that instantiates software engineering testing principles for non-deterministic LLM agents. The three-stage pipeline begins with literature-driven risk discovery that continuously structures emerging risks into taxonomies of safety risks, attack methods, and tool execution environments. Second, it performs combinatorial composition across taxonomy dimensions to produce executable safety cases, each specifying a concrete safety goal, a programmatically constructed initial state, and a deterministic verification predicate grounded in observable artifacts. Third, adaptive execution runs heterogeneous agents in isolated sandboxes where a control agent steers multi-turn interaction based on runtime observations. Outcome judgments rely on environment state and tool-call evidence rather than model self-report. The authors evaluated Vera on four production agent frameworks and released Vera-Bench comprising 1600 executable safety cases.

Key findings

  • Average attack success rate reached 93.9% under multi-channel attacks across all four tested frameworks (OpenClaw, Hermes, Codex, Claude Code).
  • Vera-Bench includes 1600 executable safety cases covering 124 distinct risk categories across three execution settings.
  • The framework revealed substantial safety weaknesses in all four production agent systems, demonstrating the breadth of vulnerability.
  • The modular, evidence-grounded approach enables maintainable and extensible safety testing as agents rapidly evolve.

Why it matters

This work provides a systematic methodology for scaling safety evaluation of autonomous LLM agents, addressing a critical gap as agents increasingly operate with external tools and multi-turn interactions. By shifting from expert-designed rules and model self-report to evidence-grounded verification through observable artifacts, Vera offers a rigorous and maintainable infrastructure for safety testing that can keep pace with agent evolution, which is essential for responsible deployment.

Caveats

The framework's effectiveness depends on the completeness and coverage of the initial risk taxonomies, which are built from literature review and may miss emerging or underexplored risks. The verification predicates, while deterministic, are hand-designed and may not capture all subtle safety violations. The evaluation was limited to four specific agent frameworks, so generalizability to other systems or deployment contexts is not yet established. Multi-channel attacks combine multiple risk dimensions; isolating individual vulnerabilities may require additional analysis.

§

Analysis

The paper addresses the critical challenge of keeping safety testing aligned with rapidly evolving agent capabilities. By adopting software engineering testing principles like combinatorial test generation and evidence-based verification, Vera represents a shift from ad-hoc red teaming toward systematic, scalable evaluation. The high attack success rates (93.9%) underscore that current production agents remain highly vulnerable to composed safety risks. The release of Vera-Bench as a public benchmark provides a valuable resource for the field, although ongoing maintenance of the taxonomy will be necessary to capture new attack vectors as they emerge.

newspaper

Research Digest

Articles published under the Zotpaper byline are synthesized from multiple source publications by our AI editor and reviewed by our editorial process. Each story combines reporting from credible outlets to give readers a balanced, comprehensive view.