PrivacyPeek: 审计基于LLM的智能体获取了什么,而不仅仅是它们说了什么
PrivacyPeek: Auditing What LLM-Based Agents Acquire, Not Just What They Say
AI总结:
提出PrivacyPeek基准,通过检查工具调用轨迹和探针诱导,评估基于LLM的智能体在获取阶段不必要的敏感信息泄露,发现该问题普遍存在且现有防御效果有限。
摘要:
基于LLM的智能体正在快速发展,能够自主调用外部工具为用户完成多步骤任务。然而,智能体常常获取超出任务所需的敏感信息。现有的隐私基准审计智能体的响应或外部行为泄露了什么,但忽略了数据首次进入智能体上下文时的获取阶段。过度获取的信息只需一次粗心操作或一次攻击即可完全泄露。为了评估其普遍性,我们引入了\emph{PrivacyPeek},一个用于评估基于LLM的智能体获取阶段隐私泄露的基准,包含$1{,}182$个案例,涵盖$7$种获取行为和$16$个应用领域。具体来说,\emph{获取检查}检查智能体的工具调用轨迹,包括其调用的工具和接收的数据,以检测其何时获取超出任务范围的敏感信息。然后,\emph{探针诱导}发出后续探针,并衡量攻击者能够多容易地诱导出智能体已获取但未披露的敏感信息。我们在4个模型家族的10个基于LLM的智能体上的实验表明,不必要的敏感信息获取非常普遍。此外,我们观察到任务完成能力与获取阶段泄露之间存在相关性。提示级别的防御仅减少了获取阶段泄露的一小部分,大部分未被缓解。这些结果使得审计获取阶段的隐私既紧迫又必要。我们的数据集和代码可在https://github.com/Xuan269/PrivacyPeek-Resource获取。
英文摘要:
LLM-based agents are rapidly advancing, autonomously invoking external tools to complete multi-step tasks for users. However, agents often acquire more sensitive information than the task requires. Existing privacy benchmarks audit what the agent's response or outgoing actions disclose, but overlook the acquisition stage where data first enters the agent's context. The over-acquired information is then one careless action or one attack away from an outright leak. To assess its prevalence, we introduce \emph{PrivacyPeek}, a benchmark for evaluating acquisition-stage privacy leakage of LLM-based agents, with $1{,}182$ cases across $7$ acquisition behaviours and $16$ application domains. Specifically, \emph{Acquisition Inspection} examines the agent's tool-call trajectory, both the tools it invokes and the data it receives, to detect when it acquires sensitive information beyond the task scope. \emph{Probe Elicitation} then issues a follow-up probe and measures how readily an attacker could elicit sensitive information the agent acquired but did not disclose. Our experiments on $10$ LLM-based agents across $4$ model families show that the unnecessary acquisition of sensitive information is widespread. In addition, we observe a correlation between the task-completion capability and acquisition-stage leakage. Prompt-level defences reduce only a small fraction of acquisition-stage leakage, leaving the majority unmitigated. These results make auditing acquisition-stage privacy both urgent and necessary. Our dataset and code are available at https://github.com/Xuan269/PrivacyPeek-Resource.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。