arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2607.02514cs.AI
收藏

持久状态AI控制中的分布式攻击

Distributed Attacks in Persistent-State AI Control

Constellation Astra Fellowship(Constellation Astra 奖学金);Imperial College London(帝国理工学院);UK AI Security Institute(英国人工智能安全研究所)

Josh Hills, Ida Caspary, Asa Cooper Stickland

AI总结:

研究AI编码代理在持久代码库中跨拉取请求分布攻击的威胁,提出Iterative VibeCoding基准,发现单一监控器无法同时防御渐进与非渐进攻击,而状态跟踪监控器可显著降低渐进攻击成功率。

摘要:

随着AI编码代理变得更加自主,它们越来越多地迭代式地提交代码,代码库在会话间持久存在。这种持久性创造了一个新的攻击面:一个不匹配或经过提示注入的代理可以跨拉取请求(PR)分布攻击,并在具有最佳自然掩护的PR中定时其载荷。为了研究由此产生的动态,我们引入了Iterative VibeCoding,这是一个用于AI控制(即安全部署有能力但可能不可信的AI的研究)的设置。在Iterative VibeCoding中,一个编码代理在持久代码库中通过一系列PR构建软件,同时追求一个隐蔽的副任务。我们的基准包括两个任务族:CLI工具和Flask Web服务,共20个任务变体。我们使用Claude Sonnet 4.5作为攻击代理,GPT-4o作为监控器。我们将渐进攻击(将副任务分布到多个PR中)与非渐进攻击(集中在单个PR中)进行比较。没有单一的监控器对两者都鲁棒:哪种策略最能逃避(成功同时逃避监控器)取决于监控器类型,因此防御者无法用任何一个监控器同时阻止渐进和非渐进攻击。高逃避率(>=65%)在不同模型攻击代理后端(Sonnet 4.5, Gemini 3.1 Pro, Kimi K2.5)中普遍存在,证实这是持久状态攻击面的属性,而非单一模型的能力。逃避率在最先进的监控器模型中仍然很高,并且对于能力更强的模型,渐进与非渐进逃避之间的差距扩大。我们引入了一个有状态链接跟踪监控器,它跨PR跟踪可疑的积累。在两个任务族上,它比仅看到更多累积历史的差异监控器更好地检测渐进攻击。将这个更强的监控器与轨迹监控器结合在一个四监控器集成中,将渐进攻击逃避率从最弱标准差异监控器下的93%降低到47%。

英文摘要:

As AI coding agents become more autonomous, they increasingly ship code iteratively, with the codebase persisting across sessions. This persistence creates a new attack surface: a misaligned or prompt-injected agent can distribute attacks across pull requests (PRs) and time its payload for the PR with the best natural cover. To study the resulting dynamics, we introduce Iterative VibeCoding, a setting for AI control, the study of safely deploying capable but potentially untrusted AI. In Iterative VibeCoding, a coding agent builds software over a sequence of PRs in a persistent codebase while pursuing a covert side task. Our benchmark includes two task families: CLI tools and Flask web services, across 20 total task variations. We use Claude Sonnet 4.5 as the attack agent and GPT-4o as the monitor. We compare gradual attacks, which distribute the side task across PRs, against non-gradual attacks concentrated in a single PR. No single monitor is robust to both: which strategy evades best (success while evading the monitor) depends on the monitor type, so a defender cannot close off both gradual and non-gradual attacks with any one monitor. High evasion (>= 65%) generalizes across model attack agent backends (Sonnet 4.5, Gemini 3.1 Pro, Kimi K2.5), confirming this is a property of the persistent-state attack surface rather than a single model's capability. Evasion also remains high across state-of-the-art monitor models and the gap between gradual and non-gradual evasion widens for more capable models. We introduce a stateful link-tracker monitor that tracks suspicious buildup across PRs. On both task families, it detects gradual attacks substantially better than diff monitors that merely see more accumulated history. Combining this stronger monitor with trajectory monitors in a four-monitor ensemble reduces gradual-attack evasion from 93% under the weakest standard diff monitor to 47%.

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

↑