SeClaw: 面向自主代理评估的规范驱动安全任务合成
SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agents
AI总结:
提出SeClaw框架,通过规范驱动的安全任务合成与基于执行的安全评估,实现对自主LLM代理在状态化环境中的安全风险的可扩展、可复现评估。
摘要:
自主LLM代理越来越多地在有状态环境中运行,访问工具、文件、内存和外部服务。虽然这些能力支持复杂的现实工作流,但它们也引入了难以通过现有评估捕获的安全风险。当前的代理安全基准通常依赖手动策划的任务,对新兴威胁的覆盖有限,并且主要关注最终结果而非导致不安全行为的执行过程。我们引入了SeClaw,一个结合规范驱动的安全任务合成与基于执行的安全评估的框架,用于自主代理。规范驱动的安全任务合成能够从结构化风险规范中可扩展且可控地构建安全任务,而SeClaw docker提供了一个标准化测试平台,用于评估代理在各种安全风险场景下的行为。该基准涵盖了由资源、用户任务、环境和内在代理行为引起的风险,并支持对不安全行为的轨迹感知评估,超越最终响应。通过桥接系统化的任务合成和可复现的安全评估,SeClaw为测量、诊断和比较自主LLM代理中的安全故障提供了实用基础。代码可在 https://github.com/seclaw-eval/seclaw-eval 获取。
英文摘要:
Autonomous LLM agents increasingly operate in stateful environments where they access tools, files, memory, and external services. While such capabilities enable complex real-world workflows, they also introduce security risks that are difficult to capture with existing evaluations. Current agent security benchmarks often rely on manually curated tasks, provide limited coverage of emerging threats, and focus primarily on final outcomes rather than the execution processes that lead to unsafe behavior. We introduce SeClaw, a framework that combines specification-driven security task synthesis with execution-based security evaluation for Autonomous agents. Spec-driven security task synthesis enables scalable and controllable construction of security tasks from structured risk specifications, while SeClaw docker provides a standardized testbed for evaluating agent behavior under diverse safety-risk scenarios. The benchmark covers risks arising from resources, user tasks, environments, and intrinsic agent behaviors, and supports trajectory-aware assessment of unsafe actions beyond final responses. By bridging systematic task synthesis and reproducible security evaluation, SeClaw provides a practical foundation for measuring, diagnosing, and comparing security failures in autonomous LLM agents. The code is available at https://github.com/seclaw-eval/seclaw-eval.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。