A Security Analysis of the OpenClaw AI Agent Framework
Organizations: SUCCESS Lab, Texas A&M University
Abstract
AI agent frameworks connecting large language model (LLM) reasoning to host execution surfaces -- shell, filesystem, containers, and messaging -- introduce security challenges structurally distinct from conventional software. We present a systematic taxonomy of 470 advisories filed against OpenClaw, an open-source AI agent runtime, organized by architectural layer and trust-violation type. Vulnerabilities cluster along two orthogonal axes: (1) the system axis, reflecting the architectural layer (exec policy, gateway, channel, sandbox, browser, plugin, agent/prompt); and (2) the attack axis, reflecting adversarial techniques (identity spoofing, policy bypass, cross-layer composition, prompt injection, supply-chain escalation). Patch-differential evidence yields three principal findings. First, three Moderate- or High-severity advisories in the Gateway and Node-Host subsystems compose into a complete unauthenticated remote code execution (RCE) path -- spanning delivery, exploitation, and command-and-control -- from an LLM tool call to the host process. Second, the exec allowlist, the primary command-filtering mechanism, relies on a closed-world assumption that command identity is recoverable via lexical parsing. This is invalidated by shell line continuation, busybox multiplexing, and GNU option abbreviation. Third, a malicious skill distributed via the plugin channel executed a two-stage dropper within the LLM context, bypassing the exec pipeline and demonstrating that the skill distribution surface lacks runtime policy enforcement. The dominant structural weakness is per-layer trust enforcement rather than unified policy boundaries, making cross-layer attacks resilient to local remediation.
Figures & tables
| Feb 2026 ( ) | Apr 2026 ( ) | Change | ||||
|---|---|---|---|---|---|---|
| Attack Surface | # | % | # | % | % | |
| Gateway WebSocket Interface | 40 | 21.1 | 121 | 25.7 | 81 | 4.6 |
| Channel Input Interface | 35 | 18.4 | 119 | 25.3 | 84 | 6.9 |
| Exec Policy Engine | 46 | 24.2 | 77 | 16.4 | 31 | 7.8 |
| Tool Dispatch Interface | 40 | 21.1 | 69 | 14.7 | 29 | 6.4 |
| Container Boundary | 17 | 8.9 | 39 | 8.3 | 22 | 0.6 |
AI Agent Security
Artificial intelligence agent security studies attacks and safeguards for tool-using, persistent, and collaborative systems across digital and physical settings.
See all 491 papers