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

通过带符号轨迹和运行时验证保护共享智能体工作流免受失效攻击

Protecting Shared Agent Workflows from Invalidation Attacks with Signed Trajectories and Runtime Verification

Ruixiao Li, Fahao Chen, Peng Li

AI总结:

本研究针对共享智能体工作流面临的失效攻击风险,提出基于带符号轨迹和运行时验证的保护框架,实验显示该方法可有效检测攻击并提升智能体推理性能。

摘要:

基于大语言模型(LLM)的智能体越来越依赖共享工作流仓库来跨任务和智能体传递经验。通过将过去的执行过程抽象为可复用的工作流图,这类系统显著提升了规划效率和泛化能力。然而,这一新兴范式引入了一种新的、尚未被充分探索的安全风险:若共享仓库被入侵,被篡改的工作流会系统性误导下游智能体,引发持续的执行失败或不安全行为。在本研究中,我们提出了一种基于带符号轨迹和运行时验证的共享智能体工作流保护框架。我们要求所有用于工作流生成的云端收集轨迹都经过密码学签名,每条轨迹代表一个具体的执行实例。在纳入仓库前,轨迹需经过统一筛选流程以确保其正确性和有效性。当智能体从共享仓库获取工作流时,它还会获得一小部分带符号的支撑轨迹,并验证这些轨迹的密码学完整性及其与工作流的语义一致性。为使该方法适用于分支工作流,我们进一步提出了一种运行时、路径感知的检索策略,该策略仅动态获取与智能体实际执行路径相关的带符号轨迹,大幅降低了通信和验证开销。在多个推理基准上开展的大量实验表明,在未实施有效工作流保护的情况下,工作流失效攻击的成功率可达90.12%,使智能体推理性能的准确率下降最多73.16个百分点。此外,所提出的保护方法的平均F1分数为85.26%,检测率为79.97%,比现有基线方法的性能提升约2.02倍。

英文摘要:

Large language model (LLM)-based agents increasingly rely on shared workflow repositories to transfer experience across tasks and agents. By abstracting past executions into reusable workflow graphs, such systems significantly improve planning efficiency and generalization. However, this emerging paradigm introduces a new and underexplored security risk: if the shared repository is compromised, tampered workflows can systematically mislead downstream agents, inducing persistent execution failures or unsafe behaviors. In this work, we present a principled protection framework for shared agent workflows based on signed trajectories and runtime verification. We require all cloud-collected trajectories used for workflow generation to be cryptographically signed, with each trajectory representing a concrete execution instance. Prior to repository inclusion, trajectories undergo a unified screening process to ensure correctness and validity. When an agent retrieves a workflow from the shared repository, it also obtains a small set of signed supporting trajectories and verifies both their cryptographic integrity and their semantic consistency with the workflow. To make this practical for branching workflows, we further propose a runtime, path-aware retrieval strategy that dynamically fetches only the signed trajectories relevant to the execution path actually taken by the agent, substantially reducing communication and verification overhead. Extensive experiments across multiple reasoning benchmarks show that workflow invalidation attacks achieve up to 90.12% success rates, degrading agent inference performance by up to 73.16 percentage points in accuracy without effective workflow protection. In addition, the proposed protection achieves an average F1 score of 85.26% and a detection rate of 79.97%, outperforming existing baselines by about 2.02x.

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

↑