arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.25707cs.AIcs.CL
收藏

这是谁的凭证?智能体记忆中的所有者归因如何影响跨用户账户滥用

Whose Credential Is It? How Owner Attribution in Agent MemoryShapes Cross-User Account Misuse

University of Macau(澳门大学);Tsinghua University(清华大学);Lanzhou University(兰州大学);Sichuan Agricultural University(四川农业大学);Hebei University of Technology(河北工业大学)

Hau-Sing So, Daixian Liu, Carl Hou, Yuhaohang He, Mengzhu Wang, Hai-Tao Zheng

AI总结:

该研究针对LLM智能体共享记忆可能导致的跨用户凭证滥用问题,提出三阶段审计方法,发现标注所有者可大幅降低滥用,强调智能体记忆需记录凭证所有者,评估应关注行为而非仅暴露。

摘要:

共享的长期记忆会让为一个用户服务的大语言模型(LLM)智能体无意中检索到另一个用户的凭证,但目前尚不清楚这种暴露何时会导致实际危害。我们引入了一个三阶段审计,将三个事件区分开来:外部凭证到达提示词(暴露)、智能体用该凭证执行操作(行为)、另一个用户的账户发生变更(状态)。在AppWorld(一个混合了所有用户763条过往登录记录的存储系统)中,84.7%的所需应用会检索到另一个用户的凭证,但智能体很少会基于该凭证执行操作。在一项压力测试中,当记忆缺少用户自身的凭证,且将一条外部凭证呈现为用户的记录时,滥用情况出现:7个智能体在80%至94%的运行中使用了该凭证,最高达43%的运行会变更受害者的账户,有时还能通过官方检查。在每条凭证行之前或内部标注所有者可预防大部分此类情况:在其他条件不变的情况下,滥用从305次配对运行中的92次降至1次;即便使用无名称的用户名,情况也是如此,不过绑定所有者的注释会让干净记忆下每个模型的成功任务减少3至5个。错误标注所有者会在很大程度上恢复滥用情况;尾随所有者标签和额外安全指令仅对部分模型有帮助。智能体记忆应始终记录其存储的凭证属于谁,且评估应测量行为,而非仅测量暴露。

英文摘要:

Shared long-term memory lets an LLM agent serving one user inadvertently retrieve another user's credentials, but it is unclear when such exposure leads to actual harm. We introduce a three-stage audit that separates three events: a foreign credential reaches the prompt (exposure), the agent acts with it (behavior), and the other user's account changes (state). In AppWorld, a store that mixes 763 past logins from all users retrieves another user's credential for 84.7 percent of required apps, yet agents rarely act on it. Misuse appears in a stress test where memory lacks the user's own credential and presents a single foreign one as the user's record: seven agents then use it in 80 to 94 percent of runs and change the victim's account in up to 43 percent, sometimes passing the official check. Naming the owner before or inside each credential line prevents most of this: with all else fixed, misuse falls from 92 to 1 of 305 paired runs, also with name-free usernames, though owner-bound notes cost 3 to 5 successful tasks per model on clean memory. A wrongly written owner largely restores misuse; trailing owner tags and added safety instructions help only some models. Agent memory should consistently record whose credential it stores, and evaluations should measure behavior, not only exposure.

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

↑