驯服OpenClaw:自主LLM代理威胁的分析与缓解
Taming OpenClaw: Security Analysis and Mitigation of Autonomous LLM Agent Threats
AI总结:
本文分析了自主LLM代理OpenClaw的安全威胁,提出五层安全框架,揭示现有防御机制的不足,并提出包括插件审查、上下文过滤等在内的综合防御策略。
摘要:
自主大型语言模型(LLM)代理,以OpenClaw为代表,展示了在执行复杂、长周期任务方面的显著能力。然而,其紧密耦合的即时信息交互范式和高权限执行能力显著扩大了系统攻击面。本文我们对OpenClaw进行了全面的安全威胁分析。为了结构化我们的分析,我们引入了一个五层生命周期导向的安全框架,捕捉代理操作的关键阶段,即初始化、输入、推断、决策和执行,并系统地检查代理整个操作生命周期中的复合威胁,包括间接提示注入、技能供应链污染、内存中毒和意图漂移。通过针对OpenClaw的详细案例研究,我们展示了这些威胁的普遍性和严重性,并分析了现有防御措施的局限性。我们的发现揭示了当前点对点防御机制在处理跨时间跨度和多阶段系统性风险时的关键弱点,突显了对自主LLM代理需要整体安全架构的必要性。在此框架下,我们进一步检查了每个生命周期阶段的代表性防御策略,包括插件审查框架、上下文感知指令过滤、内存完整性验证协议、意图验证机制和能力执行架构。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。