arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.06812cs.AI
收藏

迈向安全可审计的LLM代理:一种统一的图表示

Towards Security-Auditable LLM Agents: A Unified Graph Representation

Huazhong University of Science and Technology(华中科技大学);Nanyang Technological University(南洋理工大学);Fudan University(复旦大学);Chongqing University of Posts and Telecommunications(重庆邮电大学);Donghua University(东华大学)

Chaofan Li, Lyuye Zhang, Jintao Zhai, Siyue Feng, Xichun Yang, Huahao Wang, Shihan Dou, Yu Ji, Yutao Hu, Yueming Wu, Yang Liu, Deqing Zou

AI总结:

本文提出Agent-BOM统一图表示,用于解决LLM代理系统中执行意图与物理事件间的语义鸿沟问题,通过构建分层属性有向图实现安全审计与风险评估。

摘要:

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

英文摘要:

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.

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

↑