Taming OpenClaw: Security Analysis and Mitigation of Autonomous LLM Agent Threats
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Autonomous Large Language Model (LLM) agents, exemplified by OpenClaw, demonstrate remarkable capabilities in executing complex, long-horizon tasks. However, their tightly coupled instant-messaging interaction paradigm and high-privilege execution capabilities substantially expand the system attack surface. In this paper, we present a comprehensive security threat analysis of OpenClaw. To structure our analysis, we introduce a five-layer lifecycle-oriented security framework that captures key stages of agent operation, i.e., initialization, input, inference, decision, and execution, and systematically examine compound threats across the agent's operational lifecycle, including indirect prompt injection, skill supply chain contamination, memory poisoning, and intent drift. Through detailed case studies on OpenClaw, we demonstrate the prevalence and severity of these threats and analyze the limitations of existing defenses. Our findings reveal critical weaknesses in current point-based defense mechanisms when addressing cross-temporal and multi-stage systemic risks, highlighting the need for holistic security architectures for autonomous LLM agents. Within this framework, we further examine representative defense strategies at each lifecycle stage, including plugin vetting frameworks, context-aware instruction filtering, memory integrity validation protocols, intent verification mechanisms, and capability enforcement architectures.
Key facts. Cited by 29 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 32 of its 44 references that are in the map. First posted on arXiv 12 Mar 2026.
Builds on
32 of 44 references.
Closest ancestors · 14
Same direction, newest first
- 2026Automating Agent Hijacking via Structural Template Injection18 Feb
- 2026From Assistant to Double Agent: Formalizing and Benchmarking Attacks on OpenClaw for Personalized Local AI Agent9 Feb
- 2026Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale15 Jan
- 2026Memory Poisoning Attack and Defense on Memory Based LLM-Agents9 Jan
- 2025AegisAgent: An Autonomous Defense Agent Against Prompt Injection Attacks in LLM-HARs24 Dec
- 2025MemoryGraft: Persistent Compromise of LLM Agents via Poisoned Experience Retrieval18 Dec
- 2025A Survey on Agentic Security: Applications, Threats and Defenses7 Oct
- 2025A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memory29 Sep
- 2025BlindGuard: Safeguarding LLM-based Multi-Agent Systems under Unknown Attacks11 Aug
- 2025Security Challenges in AI Agent Deployment: Insights from a Large Scale Public Competition28 Jul
- 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
- 2025AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agents9 May
2 more
Other references · 18
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Qwen Technical Reportcited by 3,344
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
- 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 278
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 230
6 more
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 210
- 2025DataSentinel: A Game-Theoretic Detection of Prompt Injection Attackscited by 143
- 2025Defending Against Prompt Injection with DataFiltercited by 35
- 2026A Trajectory-Based Safety Audit of Clawdbot (OpenClaw)cited by 16
- 2025PISanitizer: Preventing Prompt Injection to Long-Context LLMs via Prompt Sanitizationcited by 13
- 2025TZ-LLM: Protecting On-Device Large Language Models with Arm TrustZonecited by 5
Built on by
Citing papers per year: 2026: 29.
29 papers.
Sort:
By area:
- 2026SkillAttack: Automated Red Teaming of Agent Skills through Attack Path Refinementcited by 30
- 2026ClawKeeper: Comprehensive Safety Protection for OpenClaw Agents Through Skills, Plugins, and Watcherscited by 20
- 2026MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skillscited by 19
- 2026A Systematic Security Evaluation of OpenClaw and Its Variantscited by 13
- 2026Auditing Agent Harness Safetycited by 11
- 2026SoK: Security of Autonomous LLM Agents in Agentic Commercecited by 8
- 2026AgentDoG 1.5: A Lightweight and Scalable Alignment Framework for AI Agent Safety and Securitycited by 8
- 2026IterInject: Indirect Prompt Injection Against LLM Agents via Feedback-Guided Iterative Optimizationcited by 7
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 7
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AIcited by 6
- 2026BraveGuard: From Open-World Threats to Safer Computer-Use Agentscited by 4
- 2026SUDP: Secret-Use Delegation Protocol for Agentic Systemscited by 2
17 more
- 2026When Claws Remember but Do Not Tell: Stealthy Memory Injection in Persistent Personal Agentscited by 2
- 2026AgentWard: A Lifecycle Security Architecture for Autonomous AI Agentscited by 1
- 2026When Routine Chats Turn Toxic: Unintended Long-Term State Poisoning in Personalized Agentscited by 1
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasurescited by 1
- 2026SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agentscited by 1
- 2026Can a Single Message Paralyze the AI Infrastructure? The Rise of AbO-DDoS Attacks through Targeted Mobius Injectioncited by 0
- 2026Personalization Meets Safety:Mechanisms,Risks,and Mitigations in Personalized LLMscited by 0
- 2026Understanding and mitigating the risks of OpenClaw for non-technical users: A practical guide with Skillcited by 0
- 2026Hybrid Analysis for Secure MCP Tool Use in LLM Agentscited by 0
- 2026OpenClaw and Ollama in Agentic AI: Toward Fully Autonomous and Scalable AI Agent Systemscited by 0
- 2026No One to Blame: A Framework of Constitutive AI Unaccountabilitycited by 0
- 2026Defense-as-Skill: Evolving Runtime Guard Skill for Skill-Augmented Agentscited by 0
- 2026A Blind Trust, the Bloody Thrust: When Attacker-Controlled Hook Updates Steer AI Agent Harnesses towards Malicious Behaviorscited by 0
- 2026After the Party: Growth, Governance, and Security Scanning in the OpenClaw Agent Skill Ecosystemcited by 0
- 2026Policy-Backed Selective Regeneration under Tainted Inter-Agent Communicationcited by 0
- 2026The Like Trap: Multi-Stage Poisoning against Agents in Similarity-based Recommendation Systemscited by 0
- 2026Forgetting is Not Always Bad: A Neuro-Inspired Memory Repair Mechanism for Poisoned LLM Agentscited by 0
- 2026Forgetting is Not Always Bad: A Neuro-Inspired Memory Repair Mechanism for Poisoned LLM Agents9 Oct 2026
- 2026The Like Trap: Multi-Stage Poisoning against Agents in Similarity-based Recommendation Systems22 Sep 2026
- 2026After the Party: Growth, Governance, and Security Scanning in the OpenClaw Agent Skill Ecosystem15 Sep 2026
- 2026A Blind Trust, the Bloody Thrust: When Attacker-Controlled Hook Updates Steer AI Agent Harnesses towards Malicious Behaviors3 Sep 2026
- 2026Defense-as-Skill: Evolving Runtime Guard Skill for Skill-Augmented Agents1 Sep 2026
- 2026No One to Blame: A Framework of Constitutive AI Unaccountability12 Aug 2026
- 2026Policy-Backed Selective Regeneration under Tainted Inter-Agent Communication2 Aug 2026
- 2026Hybrid Analysis for Secure MCP Tool Use in LLM Agents28 Jul 2026
- 2026When Claws Remember but Do Not Tell: Stealthy Memory Injection in Persistent Personal Agents6 Jul 2026
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AI12 Jun 2026
- 2026Understanding and mitigating the risks of OpenClaw for non-technical users: A practical guide with Skill9 Jun 2026
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation9 Jun 2026
17 more
- 2026Personalization Meets Safety:Mechanisms,Risks,and Mitigations in Personalized LLMs8 Jun 2026
- 2026MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skills5 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
- 2026AgentDoG 1.5: A Lightweight and Scalable Alignment Framework for AI Agent Safety and Security28 May 2026
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasures25 May 2026
- 2026IterInject: Indirect Prompt Injection Against LLM Agents via Feedback-Guided Iterative Optimization23 May 2026
- 2026Auditing Agent Harness Safety14 May 2026
- 2026Can a Single Message Paralyze the AI Infrastructure? The Rise of AbO-DDoS Attacks through Targeted Mobius Injection12 May 2026
- 2026When Routine Chats Turn Toxic: Unintended Long-Term State Poisoning in Personalized Agents7 May 2026
- 2026SUDP: Secret-Use Delegation Protocol for Agentic Systems27 Apr 2026
- 2026AgentWard: A Lifecycle Security Architecture for Autonomous AI Agents27 Apr 2026
- 2026OpenClaw and Ollama in Agentic AI: Toward Fully Autonomous and Scalable AI Agent Systems16 Apr 2026
- 2026SoK: Security of Autonomous LLM Agents in Agentic Commerce15 Apr 2026
- 2026SkillAttack: Automated Red Teaming of Agent Skills through Attack Path Refinement5 Apr 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
- 2026SkillAttack: Automated Red Teaming of Agent Skills through Attack Path Refinementcited by 30
- 2026MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skillscited by 19
- 2026Auditing Agent Harness Safetycited by 11
- 2026SoK: Security of Autonomous LLM Agents in Agentic Commercecited by 8
- 2026AgentDoG 1.5: A Lightweight and Scalable Alignment Framework for AI Agent Safety and Securitycited by 8
- 2026IterInject: Indirect Prompt Injection Against LLM Agents via Feedback-Guided Iterative Optimizationcited by 7
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 7
- 2026BraveGuard: From Open-World Threats to Safer Computer-Use Agentscited by 4
- 2026SUDP: Secret-Use Delegation Protocol for Agentic Systemscited by 2
- 2026When Claws Remember but Do Not Tell: Stealthy Memory Injection in Persistent Personal Agentscited by 2
- 2026AgentWard: A Lifecycle Security Architecture for Autonomous AI Agentscited by 1
- 2026When Routine Chats Turn Toxic: Unintended Long-Term State Poisoning in Personalized Agentscited by 1
12 most cited of 20 All 20 (JSON)
- 2026Forgetting is Not Always Bad: A Neuro-Inspired Memory Repair Mechanism for Poisoned LLM Agents9 Oct 2026
- 2026The Like Trap: Multi-Stage Poisoning against Agents in Similarity-based Recommendation Systems22 Sep 2026
- 2026A Blind Trust, the Bloody Thrust: When Attacker-Controlled Hook Updates Steer AI Agent Harnesses towards Malicious Behaviors3 Sep 2026
- 2026No One to Blame: A Framework of Constitutive AI Unaccountability12 Aug 2026
- 2026Hybrid Analysis for Secure MCP Tool Use in LLM Agents28 Jul 2026
- 2026When Claws Remember but Do Not Tell: Stealthy Memory Injection in Persistent Personal Agents6 Jul 2026
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation9 Jun 2026
- 2026MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skills5 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
- 2026AgentDoG 1.5: A Lightweight and Scalable Alignment Framework for AI Agent Safety and Security28 May 2026
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasures25 May 2026
12 newest of 20 All 20 (JSON)
- 2026ClawKeeper: Comprehensive Safety Protection for OpenClaw Agents Through Skills, Plugins, and Watcherscited by 20
- 2026A Systematic Security Evaluation of OpenClaw and Its Variantscited by 13
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AIcited by 6
- 2026Can a Single Message Paralyze the AI Infrastructure? The Rise of AbO-DDoS Attacks through Targeted Mobius Injectioncited by 0
- 2026Understanding and mitigating the risks of OpenClaw for non-technical users: A practical guide with Skillcited by 0
- 2026Defense-as-Skill: Evolving Runtime Guard Skill for Skill-Augmented Agentscited by 0
- 2026After the Party: Growth, Governance, and Security Scanning in the OpenClaw Agent Skill Ecosystemcited by 0
- 2026Policy-Backed Selective Regeneration under Tainted Inter-Agent Communicationcited by 0
- 2026After the Party: Growth, Governance, and Security Scanning in the OpenClaw Agent Skill Ecosystem15 Sep 2026
- 2026Defense-as-Skill: Evolving Runtime Guard Skill for Skill-Augmented Agents1 Sep 2026
- 2026Policy-Backed Selective Regeneration under Tainted Inter-Agent Communication2 Aug 2026
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AI12 Jun 2026
- 2026Understanding and mitigating the risks of OpenClaw for non-technical users: A practical guide with Skill9 Jun 2026
- 2026Can a Single Message Paralyze the AI Infrastructure? The Rise of AbO-DDoS Attacks through Targeted Mobius Injection12 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
Similar, not cited
Close in wording, no citation either way
- 2026Security Attack and Defense Strategies for Autonomous Agent Frameworks: A Layered Review with OpenClaw as a Case Study
- 2026A Security Analysis of the OpenClaw AI Agent Framework
- 2026Security Engineering of OpenClaw: Analyzing Attack Surface Expansion and Trust-Boundary Violations
- 2026Uncovering Security Threats and Architecting Defenses in Autonomous Agents: A Case Study of OpenClaw
- 2026OpenClaw PRISM: A Zero-Fork, Defense-in-Depth Runtime Security Layer for Tool-Augmented LLM Agents
- 2026Toward Securing AI Agents Like Operating Systems
- 2026ClawSentry: A Progressive Multi-Tier Security Monitor for Safeguarding Autonomous LLM Agents
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis