谁赋予智能体权限?通过以任务为中心的访问控制防御指令注入
Who Grants the Agent Power? Defending Against Instruction Injection via Task-Centric Access Control
AI总结:
针对AI智能体因静态高权限易遭指令注入的问题,提出轻量级运行时任务中心访问控制框架AgentSentry,通过动态生成任务匹配的最小临时权限并在完成后撤销,成功阻截攻击且不影响合法任务,为自主智能体安全管控提供新思路。
摘要:
具备GUI理解能力和Model Context Protocol(模型上下文协议)的AI智能体正越来越多地被部署用于自动化执行移动任务。然而,它们对权限过高的静态权限的依赖造成了一个关键漏洞:指令注入。嵌入在电子邮件等原本无害内容中的恶意指令可劫持智能体,使其执行未授权操作。我们提出了AgentSentry,这是一个轻量级的运行时以任务为中心的访问控制框架,可强制执行动态的、按任务划定范围的权限。AgentSentry不会授予广泛的持久权限,而是动态生成并执行与用户特定任务(如注册某个应用)相匹配的最小临时策略,并在任务完成后撤销这些权限。我们证明,AgentSentry成功阻止了一起指令注入攻击(该攻击诱骗智能体转发私人电子邮件),同时仍允许合法任务完成。我们的方法凸显出,迫切需要与意图对齐的安全模型来安全管控下一代自主智能体。
英文摘要:
AI agents capable of GUI understanding and Model Context Protocol are increasingly deployed to automate mobile tasks. However, their reliance on over-privileged, static permissions creates a critical vulnerability: instruction injection. Malicious instructions, embedded in otherwise benign content like emails, can hijack the agent to perform unauthorized actions. We present AgentSentry, a lightweight runtime task-centric access control framework that enforces dynamic, task-scoped permissions. Instead of granting broad, persistent permissions, AgentSentry dynamically generates and enforces minimal, temporary policies aligned with the user's specific task (e.g., register for an app), revoking them upon completion. We demonstrate that AgentSentry successfully prevents an instruction injection attack, where an agent is tricked into forwarding private emails, while allowing the legitimate task to complete. Our approach highlights the urgent need for intent-aligned security models to safely govern the next generation of autonomous agents.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。