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

注意差距:通过动作图评估LLM在模型和代理层面的漏洞

Mind the Gap: Evaluating Model- and Agentic-Level Vulnerabilities in LLMs with Action Graphs

Holistic AI;University College London(伦敦大学学院)

Ilham Wicaksono, Zekun Wu, Rahul Patel, Theo King, Adriano Koshiyama, Philip Treleaven

AI总结:

本文通过动作图评估LLM在模型和代理层面的漏洞,揭示了代理层面特有的风险,并展示了通过动作图改进提示能有效降低代理 jailbreak 成功率。

摘要:

随着大型语言模型越来越多地部署到代理系统中,现有方法在观察、评估和缓解部署特定风险方面存在关键缺口。我们提出了一种全面的、以可观察性为导向的工作流程:我们引入了AgentSeer,一个可观察性工具,将代理执行分解为细粒度的动作-组件图;我们利用这种分解,通过在GPT-OSS-20B和Gemini-2.0-flash上进行跨模型验证,严格量化模型层面和代理层面的jailbreaking风险差距;我们利用动作图风险信号自动化迭代提示强化,以对抗直接和迭代的jailbreak攻击。模型层面和代理层面的漏洞概况显示出显著差异。模型层面评估揭示了基准差异:GPT-OSS-20B(39.47% ASR)与Gemini-2.0-flash(50.00% ASR),两者都对社会工程攻击敏感。然而,代理层面的评估揭示了传统评估无法发现的代理特定风险。我们发现“仅代理”漏洞在代理上下文中出现,工具调用在两个模型中显示出24-60%更高的ASR。跨模型分析揭示了普遍的代理模式,其中代理转移操作是最高风险工具,其漏洞机制是语义模式而非语法漏洞。直接攻击从模型层面转移到代理上下文时,成功提示的表现下降(GPT-OSS-20B:57%人类注入ASR;Gemini-2.0-flash:28%),而具有上下文意识的迭代攻击成功攻破在模型层面失败的目标,证实了系统性漏洞差距。基于动作的提示改进显著降低了GPT-OSS-20B上的动作平均代理jailbreak成功率(直接:45.3%)

英文摘要:

As large language models increasingly deployed into agentic systems, existing methods face critical gaps in observing, assessing, and mitigating deployment-specific risks. We present a comprehensive, observability-driven workflow: we introduce \textbf{AgentSeer}, observability tool which decomposes agentic executions into granular \emph{action-component} graphs; we use this decomposition to rigorously quantify the gap between model-level and agent-level jailbreaking risk via cross-model validation on GPT-OSS-20B and Gemini-2.0-flash with HarmBench under single-turn and iterative-refinement attacks; we leverage action-graph risk signals to automate iterative prompt hardening against direct and iterative jailbreak attacks. Stark differences is revealed between model-level and agentic-level vulnerability profiles. Model-level evaluation reveals baseline differences: GPT-OSS-20B (39.47\% ASR) versus Gemini-2.0-flash (50.00\% ASR), with both models showing susceptibility to social engineering. However, agentic-level assessment exposes agent-specific risks invisible to traditional evaluation. We discover "agentic-only" vulnerabilities that emerge exclusively in agentic contexts, with tool-calling showing 24-60\% higher ASR across both models. Cross-model analysis reveals universal agentic patterns, where agent transfer operations as highest-risk tools, with semantic pattern revealed rather than syntactic vulnerability mechanisms. Direct attack transfer from model-level to agentic contexts shows degraded performance of successful prompts (GPT-OSS-20B: 57\% human injection ASR; Gemini-2.0-flash: 28\%), while context-aware iterative attacks successfully compromise objectives that failed at model-level, confirming systematic vulnerabilities gaps. Action-based prompt improvement substantially reduces action-averaged agentic jailbreak success on GPT-OSS-20B (direct: 45.3\%

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

↑