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

AgentGuard:将智能体编排器重新用于工具编排的安全评估

AgentGuard: Repurposing Agentic Orchestrator for Safety Evaluation of Tool Orchestration

Georgia Institute of Technology(佐治亚理工学院);National University of Singapore(新加坡国立大学)

Jizhou Chen, Samuel Lee Cong

AI总结:

本文提出 AgentGuard 框架,利用 LLM 编排器自主发现、验证不安全工具工作流并生成有效安全约束,为部署阶段的智能体安全评估与加固提供基线。

摘要:

将工具使用集成到大语言模型(LLM)中,使智能体系统具备了现实世界影响力。与此同时,与独立的 LLM 不同,被攻陷的智能体能够执行恶意工作流,并因其工具使用能力而造成更严重的影响。我们提出 AgentGuard,这是一个自主发现并验证不安全工具使用工作流、随后生成安全约束以限制智能体行为的框架,从而在部署时实现安全保证基线。AgentGuard 利用 LLM 编排器的固有能力——对工具功能的了解、可扩展且真实的工作流生成,以及工具执行权限——使其充当自身的安全评估者。该框架通过四个阶段运行:识别不安全工作流、在真实执行中验证这些工作流、生成安全约束,以及验证约束有效性。其输出是一份包含不安全工作流、测试用例和已验证约束的评估报告,可支持多种安全应用。我们通过实验实证证明了 AgentGuard 的可行性。通过这项探索性工作,我们希望推动建立面向 LLM 智能体的标准化测试与加固流程,以增强其在现实应用中的可信度。

英文摘要:

The integration of tool use into large language models (LLMs) enables agentic systems with real-world impact. In the meantime, unlike standalone LLMs, compromised agents can execute malicious workflows with more consequential impact, signified by their tool-use capability. We propose AgentGuard, a framework to autonomously discover and validate unsafe tool-use workflows, followed by generating safety constraints to confine the behaviors of agents, achieving the baseline of safety guarantee at deployment. AgentGuard leverages the LLM orchestrator's innate capabilities - knowledge of tool functionalities, scalable and realistic workflow generation, and tool execution privileges - to act as its own safety evaluator. The framework operates through four phases: identifying unsafe workflows, validating them in real-world execution, generating safety constraints, and validating constraint efficacy. The output, an evaluation report with unsafe workflows, test cases, and validated constraints, enables multiple security applications. We empirically demonstrate AgentGuard's feasibility with experiments. With this exploratory work, we hope to inspire the establishment of standardized testing and hardening procedures for LLM agents to enhance their trustworthiness in real-world applications.

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

↑