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

通过提示注入在黑盒聊天机器人环境中研究隐私泄露链的实证研究

An Empirical Study of Privacy Leakage Chains via Prompt Injection in Black-Box Chatbot Environments

Department of Information Security(信息安全系);Soongsil University(松山大学);AI Safety Center(人工智能安全中心);Department of AI Software(人工智能软件系)

Hongjang Yang, Hyunsik Na, Daeseon Choi

AI总结:

本文研究了通过间接提示注入在黑盒聊天机器人环境中存在的隐私泄露攻击链,分析了攻击者如何通过构造看似无害的外部内容来劫持代理任务,并评估了新的提示注入技术'exemplification'的攻击成功率,最终展示了使用虚构个人信息的证明概念数据外泄链。

摘要:

基于大型语言模型的聊天机器人代理越来越多地通过结合自然语言推理与外部工具(如网络浏览)来处理用户请求。这些能力提高了可用性,但当不信任的外部内容作为用户任务的一部分被处理时,也创建了攻击面。本文研究了一种基于间接提示注入的隐私泄露攻击链,其中攻击者无法访问模型权重、系统提示或代理实现细节,包括处理查询时轨迹的管理方式。我们首先分析了攻击者如何通过构造看似无害的外部内容来劫持代理的预期任务,同时诱导代理执行攻击者定义的目标。然后我们评估了一种新的提示注入技术,称为exemplification,该技术利用外部内容中的桥梁将用户提示和检索页面的无害开头重新表述为few-shot示例,然后附加攻击者的目标。我们将其攻击成功率与先前的假完成技术进行比较。最后,我们展示了在受控环境中使用虚构个人身份信息的证明概念数据外泄链。我们的结果表明,提示注入、类似禁令的指令引导和网络工具调用可以组合成一个可行的隐私泄露路径,在部署的聊天机器人代理中。

英文摘要:

LLM-based chatbot agents increasingly process user requests by combining natural-language reasoning with external tools such as web browsing. These capabilities improve usability, but they also create attack surfaces when untrusted external content is processed as part of a user' s task. This paper studies a privacy-leakage attack chain based on indirect prompt injection in black-box chatbot environments, where the attacker has no access to model weights, system prompts, or agent implementation details including how a trajectory is actually managed during its processing for a query. We first analyze how an attacker can hijack an agent' s intended task by crafting external content that appears benign to the victim while inducing the agent to execute an attacker-defined objective. We then evaluate a new prompt-injection technique, called exemplification, which uses a bridge in the external content to reframe the user prompt and the benign beginning of the retrieved page as few-shot examples before appending the attacker' s objective. We compare its attack success rate with a prior fake-completion technique. Finally, we demonstrate a proof-of-concept data-exfiltration chain using fictitious personal information in a controlled setting. Our results suggest that prompt injection, jailbreak-style instruction steering, and web-tool invocation can be combined into a feasible privacy-leakage path in deployed chatbot agents.

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

↑