arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.27517cs.CRcs.AI
收藏

对OpenClaw AI代理框架的安全性分析

A Security Analysis of the OpenClaw AI Agent Framework

SUCCESS Lab(SUCCESS实验室);Texas A&M University(德克萨斯大学)

Surada Suwansathit, Yuxuan Zhang, Guofei Gu

AI总结:

本文分析了OpenClaw AI代理框架的安全性,揭示了其在架构层和信任违反类型上的漏洞,发现三个主要问题:远程代码执行路径、执行允许列表的闭世界假设失效以及技能分发面缺乏运行时策略控制。

摘要:

AI代理框架将大型语言模型(LLM)推理连接到主机执行表面——shell、文件系统、容器和消息——引入了与传统软件不同的结构安全挑战。本文系统地将470条针对OpenClaw开源AI代理运行时的告警分类,按架构层和信任违反类型组织。漏洞沿两个正交轴分布:(1)系统轴,反映架构层(执行策略、网关、通道、沙箱、浏览器、插件、代理/提示);(2)攻击轴,反映对抗技术(身份伪造、策略绕过、跨层组合、提示注入、供应链升级)。差异补丁证据得出三个主要发现。首先,网关和节点-主机子系统中的三条中等或高严重性告警构成完整的无身份验证远程代码执行(RCE)路径——从LLM工具调用到主机进程,涵盖交付、利用和命令与控制。其次,执行允许列表,主要命令过滤机制,依赖于通过词法解析可恢复命令身份的闭世界假设。这被shell行继续、busybox多路复用和GNU选项缩写所破坏。第三,恶意技能通过插件通道分发,在LLM上下文中执行了两阶段滴虫,绕过了执行管道,展示了技能分发面缺乏运行时策略控制。主导的结构弱点是每层信任执行而非统一政策边界,使跨层攻击对局部修复具有抵抗力。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑