Don't Let the Claw Grip Your Hand: A Security Analysis and Defense Framework for OpenClaw
Not on the map. Why?
Abstract (arXiv)
Code agents powered by large language models can execute shell commands on behalf of users, introducing severe security vulnerabilities. This paper presents a two-phase security analysis of the OpenClaw platform. As an open-source AI agent framework that operates locally, OpenClaw can be integrated with various commercial large language models. Because its native architecture lacks built-in security constraints, it serves as an ideal subject for evaluating baseline agent vulnerabilities. First, we systematically evaluate OpenClaw's native resilience against malicious instructions. By testing 47 adversarial scenarios across six major attack categories derived from the MITRE ATLAS and ATT&CK frameworks, we have demonstrated that OpenClaw exhibits significant inherent security issues. It primarily relies on the security capabilities of the backend LLM and is highly susceptible to sandbox escape attacks, with an average defense rate of only 17%. To mitigate these critical security gaps, we propose and implement a novel Human-in-the-Loop (HITL) defense layer. We utilize a dual-mode testing framework to evaluate the system with and without our proposed intervention. Our findings show that the introduced HITL layer significantly hardens the system, successfully intercepting up to 8 severe attacks that completely bypassed OpenClaw's native defenses. By combining native capabilities with our HITL approach, the overall defense rate improves to a range of 19% to 92%. Our study not only exposes the intrinsic limitations of current code agents but also demonstrates the effectiveness of human-agent collaborative defense strategies.
Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 Mar 2026.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 26.
26 papers.
Sort:
By area:
- 2026ClawKeeper: Comprehensive Safety Protection for OpenClaw Agents Through Skills, Plugins, and Watcherscited by 18
- 2026AgentHazard: A Benchmark for Evaluating Harmful Behavior in Computer-Use Agentscited by 16
- 2026A Systematic Security Evaluation of OpenClaw and Its Variantscited by 11
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problemcited by 8
- 2026BraveGuard: From Open-World Threats to Safer Computer-Use Agentscited by 4
- 2026LivePI: More Realistic Benchmarking of Agents Against Indirect Prompt Injectioncited by 3
- 2026Overlaying Governance: A Compositional Authorization Framework for Delegation and Scope in Agentic AIcited by 3
- 2026"What Did It Actually Do?": Understanding Risk Awareness and Traceability for Computer-Use Agentscited by 2
- 2026Agent-ValueBench: A Comprehensive Benchmark for Evaluating Agent Valuescited by 2
- 2026ASEval: Automated Trajectory-Level Security Testing for Autonomous Agentscited by 2
- 2026When Claws Remember but Do Not Tell: Stealthy Memory Injection in Persistent Personal Agentscited by 2
- 2026When Convenience Becomes Risk: A Semantic View of Under-Specification in Host-Acting Agentscited by 1
14 more
- 2026Constraining Host-Level Abuse in Self-Hosted Computer-Use Agents via TEE-Backed Isolationcited by 1
- 2026Generative AI Advertising as a Problem of Trustworthy Commercial Interventioncited by 1
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasurescited by 1
- 2026SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agentscited by 1
- 2026CARE: Pre-Execution Command Verification for Shell-Executing LLM Agentscited by 1
- 2026AgentOpt v0.1 Technical Report: Client-Side Optimization for LLM-Based Agentcited by 0
- 2026Understanding and mitigating the risks of OpenClaw for non-technical users: A practical guide with Skillcited by 0
- 2026PolicyAlign: Direct Policy-Based Safety Alignment for Large Language Modelscited by 0
- 2026RT-SHCUA: Real-Time Self-Hosted Computer-Use Agent for UAV Controlcited by 0
- 2026OpenClaw and Ollama in Agentic AI: Toward Fully Autonomous and Scalable AI Agent Systemscited by 0
- 2026ASTELD: A Six-Axis Classification Framework for Autonomous AI Agents - Design, Evaluation, and an OpenClaw Case Studycited by 0
- 2026After the Party: Growth, Governance, and Security Scanning in the OpenClaw Agent Skill Ecosystemcited by 0
- 2026Stealth Apart, Harm Together: Skill Cascading Attacks on Skill-Based Agent Systemscited by 0
- 2026SilentCall: Hidden Tool-Call Backdoors in Open-Weight Agents, and How to Catch Themcited by 0
- 2026SilentCall: Hidden Tool-Call Backdoors in Open-Weight Agents, and How to Catch Them25 Sep 2026
- 2026Stealth Apart, Harm Together: Skill Cascading Attacks on Skill-Based Agent Systems24 Sep 2026
- 2026After the Party: Growth, Governance, and Security Scanning in the OpenClaw Agent Skill Ecosystem15 Sep 2026
- 2026ASTELD: A Six-Axis Classification Framework for Autonomous AI Agents - Design, Evaluation, and an OpenClaw Case Study5 Aug 2026
- 2026CARE: Pre-Execution Command Verification for Shell-Executing LLM Agents21 Jul 2026
- 2026RT-SHCUA: Real-Time Self-Hosted Computer-Use Agent for UAV Control20 Jul 2026
- 2026When Claws Remember but Do Not Tell: Stealthy Memory Injection in Persistent Personal Agents6 Jul 2026
- 2026PolicyAlign: Direct Policy-Based Safety Alignment for Large Language Models24 Jun 2026
- 2026Understanding and mitigating the risks of OpenClaw for non-technical users: A practical guide with Skill9 Jun 2026
- 2026Overlaying Governance: A Compositional Authorization Framework for Delegation and Scope in Agentic AI2 Jun 2026
- 2026SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agents1 Jun 2026
- 2026BraveGuard: From Open-World Threats to Safer Computer-Use Agents31 May 2026
14 more
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasures25 May 2026
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problem23 May 2026
- 2026ASEval: Automated Trajectory-Level Security Testing for Autonomous Agents21 May 2026
- 2026Generative AI Advertising as a Problem of Trustworthy Commercial Intervention18 May 2026
- 2026LivePI: More Realistic Benchmarking of Agents Against Indirect Prompt Injection18 May 2026
- 2026Agent-ValueBench: A Comprehensive Benchmark for Evaluating Agent Values11 May 2026
- 2026Constraining Host-Level Abuse in Self-Hosted Computer-Use Agents via TEE-Backed Isolation7 May 2026
- 2026OpenClaw and Ollama in Agentic AI: Toward Fully Autonomous and Scalable AI Agent Systems16 Apr 2026
- 2026AgentOpt v0.1 Technical Report: Client-Side Optimization for LLM-Based Agent7 Apr 2026
- 2026A Systematic Security Evaluation of OpenClaw and Its Variants3 Apr 2026
- 2026AgentHazard: A Benchmark for Evaluating Harmful Behavior in Computer-Use Agents3 Apr 2026
- 2026"What Did It Actually Do?": Understanding Risk Awareness and Traceability for Computer-Use Agents30 Mar 2026
- 2026ClawKeeper: Comprehensive Safety Protection for OpenClaw Agents Through Skills, Plugins, and Watchers25 Mar 2026
- 2026When Convenience Becomes Risk: A Semantic View of Under-Specification in Host-Acting Agents22 Mar 2026
- 2026AgentHazard: A Benchmark for Evaluating Harmful Behavior in Computer-Use Agentscited by 16
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problemcited by 8
- 2026BraveGuard: From Open-World Threats to Safer Computer-Use Agentscited by 4
- 2026LivePI: More Realistic Benchmarking of Agents Against Indirect Prompt Injectioncited by 3
- 2026Overlaying Governance: A Compositional Authorization Framework for Delegation and Scope in Agentic AIcited by 3
- 2026"What Did It Actually Do?": Understanding Risk Awareness and Traceability for Computer-Use Agentscited by 2
- 2026Agent-ValueBench: A Comprehensive Benchmark for Evaluating Agent Valuescited by 2
- 2026ASEval: Automated Trajectory-Level Security Testing for Autonomous Agentscited by 2
- 2026When Claws Remember but Do Not Tell: Stealthy Memory Injection in Persistent Personal Agentscited by 2
- 2026Constraining Host-Level Abuse in Self-Hosted Computer-Use Agents via TEE-Backed Isolationcited by 1
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasurescited by 1
- 2026SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agentscited by 1
12 most cited of 18 All 18 (JSON)
- 2026SilentCall: Hidden Tool-Call Backdoors in Open-Weight Agents, and How to Catch Them25 Sep 2026
- 2026Stealth Apart, Harm Together: Skill Cascading Attacks on Skill-Based Agent Systems24 Sep 2026
- 2026CARE: Pre-Execution Command Verification for Shell-Executing LLM Agents21 Jul 2026
- 2026RT-SHCUA: Real-Time Self-Hosted Computer-Use Agent for UAV Control20 Jul 2026
- 2026When Claws Remember but Do Not Tell: Stealthy Memory Injection in Persistent Personal Agents6 Jul 2026
- 2026Overlaying Governance: A Compositional Authorization Framework for Delegation and Scope in Agentic AI2 Jun 2026
- 2026SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agents1 Jun 2026
- 2026BraveGuard: From Open-World Threats to Safer Computer-Use Agents31 May 2026
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasures25 May 2026
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problem23 May 2026
- 2026ASEval: Automated Trajectory-Level Security Testing for Autonomous Agents21 May 2026
- 2026LivePI: More Realistic Benchmarking of Agents Against Indirect Prompt Injection18 May 2026
12 newest of 18 All 18 (JSON)
- 2026ClawKeeper: Comprehensive Safety Protection for OpenClaw Agents Through Skills, Plugins, and Watcherscited by 18
- 2026A Systematic Security Evaluation of OpenClaw and Its Variantscited by 11
- 2026When Convenience Becomes Risk: A Semantic View of Under-Specification in Host-Acting Agentscited by 1
- 2026Generative AI Advertising as a Problem of Trustworthy Commercial Interventioncited by 1
- 2026Understanding and mitigating the risks of OpenClaw for non-technical users: A practical guide with Skillcited by 0
- 2026ASTELD: A Six-Axis Classification Framework for Autonomous AI Agents - Design, Evaluation, and an OpenClaw Case Studycited by 0
- 2026After the Party: Growth, Governance, and Security Scanning in the OpenClaw Agent Skill Ecosystemcited by 0
- 2026After the Party: Growth, Governance, and Security Scanning in the OpenClaw Agent Skill Ecosystem15 Sep 2026
- 2026ASTELD: A Six-Axis Classification Framework for Autonomous AI Agents - Design, Evaluation, and an OpenClaw Case Study5 Aug 2026
- 2026Understanding and mitigating the risks of OpenClaw for non-technical users: A practical guide with Skill9 Jun 2026
- 2026Generative AI Advertising as a Problem of Trustworthy Commercial Intervention18 May 2026
- 2026A Systematic Security Evaluation of OpenClaw and Its Variants3 Apr 2026
- 2026ClawKeeper: Comprehensive Safety Protection for OpenClaw Agents Through Skills, Plugins, and Watchers25 Mar 2026
- 2026When Convenience Becomes Risk: A Semantic View of Under-Specification in Host-Acting Agents22 Mar 2026