LatentRiskBench: Measuring State-Dependent Risks in Enterprise Agents

Jingyue Cong, Estrid He, Zhuang Li, Nan Wu, Li Shen +3 more
10/13/2026
cs.CLcs.AIcs.LG
benchmark-dataset

Official code: JingyueCong/LatentRiskBench (1 star, Python, last commit 2026-10-15).

Abstract

Enterprise agents face safety risks that cannot be determined from individual actions alone. Existing safety benchmarks largely evaluate action-local risks, overlooking failures whose safety depends on workflow state.

Show full abstract

In such state-dependent risks, the same action may be safe in one context but violate policy in another. Hence, we introduce LatentRiskBench for evaluating such state-dependent risks in enterprise settings. It pairs risky trajectories with benign counterparts that share the same terminal action but differ in latent policy-relevant states, requiring models to reconstruct workflow context rather than rely on action-level cues. We also introduce new metrics for state-dependent risk evaluation, including a suite of residual risk (RR) measures. Experiments on the benchmark show that action-level evaluation detects only 0.09 of state-dependent violations, whereas state-level evaluation reaches 0.96. Existing guardrail methods largely overlook such risks unless they are explicitly applied to workflow states. Case studies on a commercial deployed scenario further show that the safety metrics embedded in the benchmark provide a more realistic measure of safety for enterprise agents. Our dataset and code are available at https://github.com/JingyueCong/LatentRiskBench.

View on arXivView PDF

Code Implementations(1)

10PythonJun 17, 20261 months ago

Similar Papers

Cite this paper

@article{cong2026latentriskbench,
  title  = {LatentRiskBench: Measuring State-Dependent Risks in Enterprise Agents},
  author = {Jingyue Cong and Estrid He and Zhuang Li and Nan Wu and Li Shen and Yameng Peng and Xinshu Li and Andy Song},
  year   = {2026},
  eprint = {2610.17685},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.17685v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.17685.svg)](https://codeofpaper.com/paper/2610.17685)

Discussion