arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.23064cs.CRcs.AIcs.SI
收藏

注意你的HEARTBEAT!Claw背景执行本质上使内存污染静默

Mind Your HEARTBEAT! Claw Background Execution Inherently Enables Silent Memory Pollution

Nanyang Technological University(南洋理工大学);Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局(A*STAR));Johns Hopkins University(约翰斯·霍普金斯大学)

Yechao Zhang, Shiqian Zhao, Jie Zhang, Gelei Deng, Jiawen Zhang, Xiaogeng Liu, Chaowei Xiao, Tianwei Zhang

AI总结:

研究揭示Claw个人AI代理中因心跳驱动背景执行导致的内存污染漏洞,通过MissClaw实验发现社会可信度驱动行为影响,内存污染可进入长期记忆并影响用户行为。

摘要:

我们识别出主流Claw个人AI代理中存在关键安全漏洞:心跳驱动的背景执行过程中遇到的不可信内容可静默污染代理内存并影响用户行为。该漏洞源于Claw生态系统共享的架构设计:心跳背景执行与用户交互在同一会话中运行,因此从任何外部来源监控的内容(包括邮件、消息渠道、新闻feeds、代码仓库和社会平台)均可进入同一内存上下文,通常缺乏用户可见性和明确来源。我们将此过程形式化为暴露(E)→内存(M)→行为(B)路径:心跳执行过程中遇到的虚假信息进入代理的短期会话上下文,可能被写入长期记忆,并影响后续用户行为。我们通过MissClaw(Moltbook的受控研究复制品)在代理原生社交环境中实例化此路径。我们发现(1)社会可信度线索,尤其是感知共识,是短期行为影响的主要驱动因素,误导率高达61%;(2)常规内存保存行为可将短期污染转化为持久的长期记忆,污染率高达91%,跨会话行为影响率达76%;(3)在自然浏览中,即使有内容稀释和上下文修剪,污染仍能跨越会话边界。总体而言,无需提示注入:普通社交虚假信息足以在心跳驱动的背景执行中静默塑造代理内存和行为。

英文摘要:

We identify a critical security vulnerability in mainstream Claw personal AI agents: untrusted content encountered during heartbeat-driven background execution can silently pollute agent memory and subsequently influence user-facing behavior without the user's awareness. This vulnerability arises from an architectural design shared across the Claw ecosystem: heartbeat background execution runs in the same session as user-facing conversation, so content ingested from any external source monitored in the background (including email, message channels, news feeds, code repositories, and social platforms) can enter the same memory context used for foreground interaction, often with limited user visibility and without clear source provenance. We formalize this process as an Exposure (E) $\rightarrow$ Memory (M) $\rightarrow$ Behavior (B) pathway: misinformation encountered during heartbeat execution enters the agent's short-term session context, potentially gets written into long-term memory, and later shapes downstream user-facing behavior. We instantiate this pathway in an agent-native social setting using MissClaw, a controlled research replica of Moltbook. We find that (1) social credibility cues, especially perceived consensus, are the dominant driver of short-term behavioral influence, with misleading rates up to 61%; (2) routine memory-saving behavior can promote short-term pollution into durable long-term memory at rates up to 91%, with cross-session behavioral influence reaching 76%; (3) under naturalistic browsing with content dilution and context pruning, pollution still crosses session boundaries. Overall, prompt injection is not required: ordinary social misinformation is sufficient to silently shape agent memory and behavior under heartbeat-driven background execution.

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

↑