被投毒触发行动:针对类型化决策工作流的上下文攻击
Poisoned into Action: Context Attacks on Typed Decision Workflows
AI总结:
本研究针对类型化决策工作流提出上下文攻击,设计感知执行的协议并在Jev-1.13.0上实验,发现防御机制会误拦正确决策,修正后可恢复部分决策,为研究中毒错误与防御效果提供可审计框架。
摘要:
类型化决策接口将模型限制为预定义的操作,但符合模式的选择仍可能触发违反策略的状态变更。因此,评估上下文中毒需要将模型决策与执行结果关联起来,同时考虑防御机制保留的合法自动化操作。我们引入了一种感知执行的协议,该协议通过检索、模型选择、自动化操作和持久状态来追踪中毒证据。我们在两个合成工作流的20个开发任务中,对Jev-1.13.0进行了1659次新调用,每个条件下重复3次。在自然检索下,独立有效载荷覆盖了全部60次试验,产生了5次违反安全的执行;而载体-有效载荷对在57次试验中暴露了有效载荷,产生了1次违反。初始的源排除门阻止了该对观察到的违反,但也扣留了10个原本正确的被攻击决策和16个正确的干净决策。修正其空范围行为可在不增加模型调用的情况下恢复12个干净决策。析因控制显示,添加正确证据将语义分支的错误执行从119/120减少到55/120,将中性分支的错误执行从60/120减少到0,表明大部分改进反映了通用证据价值而非攻击特定保护。经Holm校正后,三个预先指定的对比无统计学支持,因此研究结果仍为探索性的。该协议提供了一个可审计的框架,用于研究哪些中毒诱导的错误会到达执行环节,以及防御机制保留了多少正确的自动化操作。代码可在该https URL获取。
英文摘要:
Typed decision interfaces restrict models to predefined actions, yet schema-valid choices can still trigger policy-violating state changes. Evaluating context poisoning thus requires connecting model decisions to execution outcomes while accounting for legitimate automation retained by defenses. We introduce an execution-aware protocol tracing poisoned evidence through retrieval, model choice, automated action, and persisted state. We evaluate it with 1,659 fresh calls to Jev-1.13.0 across 20 development tasks in two synthetic workflows, using three repetitions per condition. Under natural retrieval, a standalone payload reaches all 60 trials and produces five security-violating executions, while a carrier-payload pair exposes the payload in 57 trials and produces one violation. An initial source-exclusion gate blocks the pair's observed violation but also withholds ten otherwise correct attacked decisions and sixteen correct clean decisions. Correcting its empty-scope behavior restores twelve clean decisions without additional model calls. Factorial controls show that adding correct evidence reduces wrong executions from 119/120 to 55/120 in the semantic arm and from 60/120 to zero in the neutral arm, suggesting that much of the improvement reflects general evidence value rather than attack-specific protection. Three prespecified contrasts are not statistically supported after Holm correction, so the findings remain exploratory. The protocol provides an auditable framework for studying which poisoning-induced errors reach execution and how much correct automation defenses preserve. Code is available at https://github.com/WuXixiong/jev-poisoning-bench.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。