arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.24019cs.CRcs.AI
收藏

LLM智能体应采用安全原则

LLM Agents Should Employ Security Principles

Purdue University(普渡大学);IBM Research(IBM研究院)

Kaiyuan Zhang, Zian Su, Pin-Yu Chen, Elisa Bertino, Xiangyu Zhang, Ninghui Li

AI总结:

针对LLM智能体面临提示注入等安全漏洞,本文提出应采用纵深防御等信息安全原则,并引入AgentSandbox框架,在保持高效用的同时大幅降低隐私风险,促进可信赖的智能体生态。

摘要:

大型语言模型(LLM)智能体在利用上下文推理自动化复杂任务方面展现出巨大潜力;然而,涉及多个智能体的交互以及系统对提示注入和其他形式上下文操纵的脆弱性,引入了与隐私泄露和系统利用相关的新漏洞。本立场论文认为,在规模化部署LLM智能体时,应采用信息安全领域完善的设计原则(通常称为安全原则)。过去五十年来,纵深防御、最小权限、完全中介和心理可接受性等设计原则帮助指导了信息系统安全机制的设计,我们认为明确且审慎地采用这些原则将有助于保护智能体系统。为了说明这种方法,我们引入了AgentSandbox,这是一个嵌入这些安全原则的概念框架,旨在智能体整个生命周期内提供安全保障。我们使用最先进的LLM从三个维度进行评估:良性效用、攻击效用和攻击成功率。AgentSandbox在良性和对抗性评估下均保持其预期功能的高效用,同时大幅降低了隐私风险。通过将安全设计原则作为新兴LLM智能体协议的基础要素,我们旨在促进符合用户隐私期望和不断演变的监管要求的可信赖智能体生态系统。

英文摘要:

Large Language Model (LLM) agents show considerable promise for automating complex tasks using contextual reasoning; however, interactions involving multiple agents and the system's susceptibility to prompt injection and other forms of context manipulation introduce new vulnerabilities related to privacy leakage and system exploitation. This position paper argues that the well-established design principles in information security, which are commonly referred to as security principles, should be employed when deploying LLM agents at scale. Design principles such as defense-in-depth, least privilege, complete mediation, and psychological acceptability have helped guide the design of mechanisms for securing information systems over the last five decades, and we argue that their explicit and conscientious adoption will help secure agentic systems. To illustrate this approach, we introduce AgentSandbox, a conceptual framework embedding these security principles to provide safeguards throughout an agent's life-cycle. We evaluate with state-of-the-art LLMs along three dimensions: benign utility, attack utility, and attack success rate. AgentSandbox maintains high utility for its intended functions under both benign and adversarial evaluations while substantially mitigating privacy risks. By embedding secure design principles as foundational elements within emerging LLM agent protocols, we aim to promote trustworthy agent ecosystems aligned with user privacy expectations and evolving regulatory requirements.

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

↑