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

针对终端代理的技能注入攻击的防御与使能因素

Defenses & Enablers For Skill Injection Attacks on Terminal Based Agents

Patronus AI;NVIDIA

Yoshinari Fujinuma, Varun Gangal, Traian Rebedea, Makesh Narsimhan Sreedhar, Prasoon Varshney, Rebecca Qian, Anand Kannappan

AI总结:

研究基于大语言模型的代理在重用技能时面临的安全威胁,提出守护者防御(动态和静态)将攻击成功率降低过半,并测试了攻击重述的鲁棒性。

摘要:

大型语言模型(LLM)代理越来越依赖可重用的技能,即描述任务特定程序的文档。然而,这为代理管理引入了新的攻击面。我们针对这一威胁研究了两个互补方向。首先,我们评估了基于守护者的防御:一个中间LLM代理,作为技能文件访问的调解者(动态守护者)或在构建时预先重写这些文件(静态守护者)。在三个LLM代理家族中,我们的守护者将攻击成功率(ASR)降低了一半以上,同时保持了任务效用。其次,我们通过攻击重述对其进行压力测试,使用了四种保留恶意指令但改变措辞的攻击。对于非守护者设置,重述将ASR推高至81.4%,但动态守护者将其降至18.6%,表明实时调解是一种稳健的防御。

英文摘要:

Large language model (LLM) agents increasingly rely on reusable skills i.e. documents describing task-specific procedures. However, this introduces a new attack surface for agents to manage. We study two complementary directions for this threat. First, we evaluate guardian-based defenses: an intermediary LLM agent that acts as a mediator for skill file access (dynamic guardian) or pre-rewrites these files at build time (static guardian). Across three LLM agent families, our guardians cut attack success rate (ASR) by well over half while preserving task utility. Second, we stress test them through attack reframing using four attacks that preserve the malicious instruction but change the phrasing. For non-guardian setup, the reframing pushes the ASR up to 81.4\%, but the dynamic guardian brings it down to 18.6\%, showing that real-time mediation is a robust defense.

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

↑