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

护栏作为基础设施:面向工具编排工作流的政策优先控制

Guardrails as Infrastructure: Policy-First Control for Tool-Orchestrated Workflows

Akshey Sigdel, Rista Baral

AI总结:

本文提出Policy-First Tooling,通过显式约束、风险感知门控等机制提升工具调用安全性,实验显示其在减少违规行为和降低重试放大方面效果显著。

摘要:

工具使用自动化系统在反复出现的模式中失败,常见问题包括不安全的副作用、无效参数、不受控的重试和敏感输出泄露。本文提出Policy-First Tooling,一种模型无关的权限层,通过显式约束、风险感知门控、恢复控制和可审计解释调解工具调用。论文贡献了紧凑的政策DSL、运行时执行架构和可复现基准。在225次受控运行中,更严格的策略将违规率从0.000提升至0.681,任务成功率从0.356降至0.067,重试放大从3.774降至1.378,泄露召回率达0.875。这些结果使安全与效用的权衡变得明确且可衡量。

英文摘要:

Tool-using automation systems, from scripts and CI bots to agentic assistants, fail in recurring patterns. Common failures include unsafe side effects, invalid arguments, uncontrolled retries, and leakage of sensitive outputs. Many mitigations are model-centric and prompt-dependent, so they are brittle and do not generalize to non-LLM callers. We present Policy-First Tooling, a model-agnostic permission layer that mediates tool invocation through explicit constraints, risk-aware gating, recovery controls, and auditable explanations. The paper contributes a compact policy DSL, a runtime enforcement architecture with actionable rationale and fix hints, and a reproducible benchmark based on trace replay with controlled fault and misuse injection. In 225 controlled runs across five policy packs and three fault profiles, stricter packs improve violation prevention from 0.000 in P0 to 0.681 in P4, while task success drops from 0.356 to 0.067. Retry amplification decreases from 3.774 in P0 to 1.378 in P4, and leakage recall reaches 0.875 under injected secret outputs. These results make safety to utility trade-offs explicit and measurable.

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

↑