LM Agents May Fail to Act on Their Own Risk Knowledge
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Language model (LM) agents have demonstrated significant potential for automating real-world tasks, yet they pose a diverse array of potential, severe risks in safety-critical scenarios. In this work, we identify a significant gap between LM agents' risk awareness and safety execution abilities: while they often answer "Yes" to queries like "Is executing `sudo rm -rf /*' dangerous?", they will likely fail to identify such risks in instantiated trajectories or even directly perform these risky actions when acting as agents. To systematically investigate this, we develop a comprehensive evaluation framework to examine agents' safety across three progressive dimensions: 1) their knowledge about potential risks, 2) their ability to identify corresponding risks in execution trajectories, and 3) their actual behaviors to avoid executing these risky actions. Our evaluation reveals two critical performance gaps that resemble the generator-validator gaps observed in LMs: while agents demonstrate near-perfect risk knowledge (>98% pass rates), they fail to apply this knowledge when identifying risks in actual scenarios (with performance dropping by >23%) and often still execute risky actions (<26% pass rates). Notably, this trend persists across more capable LMs as well as in specialized reasoning models like DeepSeek-R1, indicating that simply scaling model capabilities or inference compute does not inherently resolve safety concerns. Instead, we take advantage of these observed gaps to develop a risk verifier that independently critiques the proposed actions by agents, with an abstractor that converts specific execution trajectories into abstract descriptions where LMs can more effectively identify the risks. Our overall system achieves a significant reduction of risky action execution by 55.3% over vanilla-prompted agents.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 33 of its 80 references that are in the map. First posted on arXiv 19 Aug 2025.
Builds on
33 of 80 references.
Closest ancestors · 5
Same direction, newest first
- 2024Agent-SafetyBench: Evaluating the Safety of LLM Agents19 Dec
- 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
- 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agents18 Jan
- 2023Identifying the Risks of LM Agents with an LM-Emulated Sandbox25 Sep
Other references · 28
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,251
16 more
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
- 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 364
- 2023Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignmentcited by 223
- 2024Tool Learning with Large Language Models: A Surveycited by 223
- 2024Foundational Challenges in Assuring Alignment and Safety of Large Language Modelscited by 199
- 2024PrivacyLens: Evaluating Privacy Norm Awareness of Language Models in Actioncited by 171
- 2023LM vs LM: Detecting Factual Errors via Cross Examinationcited by 156
- 2024Observational Scaling Laws and the Predictability of Language Model Performancecited by 130
- 2024A Review of Large Language Models and Autonomous Agents in Chemistrycited by 99
- 2023Evaluating Language-Model Agents on Realistic Autonomous Taskscited by 96
- 2024Building Guardrails for Large Language Modelscited by 65
- 2024ShieldLM: Empowering LLMs as Aligned, Customizable and Explainable Safety Detectorscited by 51
- 2023Evaluating Superhuman Models with Consistency Checkscited by 47
- 2023Benchmarking and Improving Generator-Validator Consistency of Language Modelscited by 44
- 2024Self-Reflection Makes Large Language Models Safer, Less Biased, and Ideologically Neutralcited by 20
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026Intent-Governed Tool Authorization for AI Agentscited by 5
- 2026Retry, Switch, or Abstain? Learning Strategy-Aware Tool-Use Policies via Controlled Error Injectioncited by 2
- 2026Engineering Reliable Commit Gates for Agentic AI: Cost-Aware Verification Portfolios under Common-Mode Data Failurescited by 1
- 2026AURA-Eval: Evaluation Framework for Acting Under Risk Awareness in LLM Agent Trajectoriescited by 0
- 2026DelegationBench: Measuring When AI Agents Should Ask Before Actingcited by 0
- 2026BrowseSafe++: Benchmarking Prompt Injection Detection Across Web Contexts, Languages, and Browser Viewscited by 0
- 2026BrowseSafe++: Benchmarking Prompt Injection Detection Across Web Contexts, Languages, and Browser Views12 Oct 2026
- 2026DelegationBench: Measuring When AI Agents Should Ask Before Acting4 Oct 2026
- 2026Engineering Reliable Commit Gates for Agentic AI: Cost-Aware Verification Portfolios under Common-Mode Data Failures10 Sep 2026
- 2026AURA-Eval: Evaluation Framework for Acting Under Risk Awareness in LLM Agent Trajectories6 Sep 2026
- 2026Retry, Switch, or Abstain? Learning Strategy-Aware Tool-Use Policies via Controlled Error Injection12 Aug 2026
- 2026Intent-Governed Tool Authorization for AI Agents22 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026Risky-Bench: Probing Agentic Safety Risks under Real-World Deployment
- 2026ForesightSafety-SAGE:A Fully Automated Scenario Generation and Safety Evaluation Framework for LLM Agents
- 2025ManagerBench: Evaluating the Safety-Pragmatism Trade-off in Autonomous LLMs
- 2026The Cold-Start Safety Gap in LLM Agents
- 2026Agent Safety From Within: Detecting Harmful Trajectories from LLM Internal States
- 2025Beyond Reactive Safety: Risk-Aware LLM Alignment via Long-Horizon Simulation
- 2026Boiling the Frog: A Multi-Turn Benchmark for Agentic Safety
- 2026Tool Specifications Matter: Uncovering and Mitigating Safety Risks in AI Agents