arXiv:2605.06812cs.AI2026-05被引 4

为复杂智能体系统构建可审计的统一图谱,破解安全追踪难题。

Towards Security-Auditable LLM Agents: A Unified Graph Representation

  • 将智能体系统建模为分层有向图,分离静态能力与动态状态
  • 在真实攻击场景中还原隐蔽攻击链,包括跨会话内存污染等
  • 适合作为安全审计工具,尤其适用于高风险智能体应用

基于大模型的智能体系统通过动态调用工具、管理状态记忆和多智能体协作执行复杂任务,但其语义驱动的执行方式导致底层物理事件与高层意图之间存在严重语义鸿沟,使事后安全审计极为困难。现有表示方法如静态SBOM和运行日志仅提供碎片化证据,无法捕捉认知状态演变、能力绑定、持久内存污染及跨智能体的风险传播。为此,我们提出Agent-BOM,一种用于智能体安全审计的统一结构化表示。Agent-BOM将智能体系统建模为分层属性有向图,区分静态能力基(如模型、工具、长期记忆)与动态运行时语义状态(如目标、推理轨迹、动作),并通过语义边与安全属性连接,将碎片化执行痕迹转化为可查询的审计路径。基于Agent-BOM,我们构建了基于图查询的路径级风险评估范式,并以OWASP Agentic Top 10为例进行实例化。我们在OpenClaw环境中实现了审计插件,可从实时执行中构建Agent-BOM。在典型真实世界智能体攻击场景下的评估表明,Agent-BOM能有效重构隐蔽攻击链,包括跨会话内存污染、工具误用、能力供应链劫持、意外代码执行、多智能体生态劫持以及权限与信任滥用。结果证明,Agent-BOM为复杂智能体生态中的根因分析与安全裁决提供了统一且可审计的基础。

原文摘要 · Abstract (English)

LLM-based agentic systems are rapidly evolving to perform complex autonomous tasks through dynamic tool invocation, stateful memory management, and multi-agent collaboration. However, this semantics-driven execution paradigm creates a severe semantic gap between low-level physical events and high-level execution intent, making post-hoc security auditing fundamentally difficult. Existing representation mechanisms, including static SBOMs and runtime logs, provide only fragmented evidence and fail to capture cognitive-state evolution, capability bindings, persistent memory contamination, and cascading risk propagation across interacting agents. To bridge this gap, we propose Agent-BOM, a unified structural representation for agent security auditing. Agent-BOM models an agentic system as a hierarchical attributed directed graph that separates static capability bases, such as models, tools, and long-term memory, from dynamic runtime semantic states, such as goals, reasoning trajectories, and actions. These layers are connected through semantic edges and security attributes, transforming fragmented execution traces into queryable audit paths. Building on Agent-BOM, we develop a graph-query-based paradigm for path-level risk assessment and instantiate it with the OWASP Agentic Top 10. We further implement an auditing plugin in the OpenClaw environment to construct Agent-BOM from live executions. Evaluation on representative real-world agentic attack scenarios shows that Agent-BOM can reconstruct stealthy attack chains, including cross-session memory poisoning and tool misuse, capability supply-chain hijacking and unexpected code execution, multi-agent ecosystem hijacking, and privilege and trust abuse. These results demonstrate that Agent-BOM provides a unified and auditable foundation for root-cause analysis and security adjudication in complex agentic ecosystems.

智能体安全图表示审计机制

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。