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

ARGUS:防御大语言模型智能体免受上下文感知提示注入攻击

ARGUS: Defending LLM Agents Against Context-Aware Prompt Injection

Nanjing University(南京大学);Singapore Management University(新加坡管理大学)

Shihao Weng, Yang Feng, Jinrui Zhang, Xiaofei Xie, Jiongchi Yu, Jia Liu

AI总结:

研究针对LLM智能体的上下文感知提示注入攻击,提出AgentLure基准测试及ARGUS因果溯源审计器,通过构建溯源图等验证行动因果依据,在AgentLure上降低攻击成功率,提升安全-效用权衡表现。

摘要:

大语言模型(LLM)智能体越来越多地被部署为面向任务的软件系统,利用运行时上下文为用户决策和行动。这种委托模型使提示注入尤其危险,现有基准测试和防御措施大多未涵盖此场景。我们提出AgentLure,一个用于上下文感知提示注入下上下文相关任务的基准测试。为防御此场景,我们提出ARGUS,一个用于LLM智能体的因果溯源审计器。它通过构建影响溯源图等方式验证每个提议行动是否有完整良性因果依据。在AgentLure上,ARGUS将攻击成功率从28.8%降至3.8%,同时保持87.5%的干净效用,在安全-效用权衡方面显著优于现有防御措施。

英文摘要:

Large Language Model (LLM) agents are increasingly deployed as task-oriented software systems that use runtime context to decide and act on behalf of users. This delegation model makes prompt injection especially dangerous: an attacker can hide a context-aware instruction inside evidence the agent must use to decide what to do. Existing benchmarks and defenses largely miss this setting. Benchmarks often use context-insensitive tasks where the user prompt already specifies the intended action, together with generic attack payloads independent of context. Existing defenses also do not capture the causal support from runtime evidence to concrete actions, which makes them incomplete and ineffective for context-dependent tasks. We present AgentLure, a benchmark for context-dependent tasks under context-aware prompt injection. AgentLure spans four agentic domains and eight attack vectors across six attack surfaces. To defend this setting, we propose ARGUS, a causal-provenance auditor for LLM agents. Instead of relying only on tool authorization or suspicious-context detection, ARGUS verifies whether each proposed action has a complete benign causal justification. It builds an influence-provenance graph, labels runtime spans, grounds action arguments in supporting evidence, and releases an action only when benign evidence entails it and task invariants hold. On AgentLure, ARGUS reduces attack success rate from 28.8% to 3.8% while preserving 87.5% clean utility, significantly outperforming existing defenses in the security-utility tradeoff.

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

↑