基于大语言模型的智能体可以执行语法有效、用户授权且语义合适的动作,但仍然可能因决策时所需的事实缺失而违反组织政策,这种现象称为政策不可见违规。我们提出了PhantomPolicy基准,涵盖八个违规类别,包含平衡的违规和安全控制案例,所有工具响应均包含干净的业务数据而非政策元数据。我们手动审查了五个前沿模型生成的600个模型轨迹,并使用人工审核的轨迹标签进行评估。手动审查改变了32个标签(5.3%)相对原始案例级注释,证实了需要轨迹级人工审查的必要性。为了展示在有利条件下基于世界状态的执行能够实现的效果,我们引入了Sentinel框架,该框架基于反事实图模拟。Sentinel将每个智能体动作视为对组织知识图的提议修改,通过推测执行来实现动作后的世界状态,并通过图结构不变量验证来决定允许/阻止/澄清。与人工审核的轨迹标签相比,Sentinel在准确率上显著优于内容为主的DLP基线(68.8% vs. 93.0%),同时保持高精度,尽管在某些违规类别上仍有改进空间。这些结果展示了当相关政策相关的世界状态被提供给执行层时能够实现的成果。
英文摘要:
LLM-based agents can execute actions that are syntactically valid, user-sanctioned, and semantically appropriate, yet still violate organizational policy because the facts needed for correct policy judgment are hidden at decision time. We call this failure mode policy-invisible violations: cases in which compliance depends on entity attributes, contextual state, or session history absent from the agent's visible context. We present PhantomPolicy, a benchmark spanning eight violation categories with balanced violation and safe-control cases, in which all tool responses contain clean business data without policy metadata. We manually review all 600 model traces produced by five frontier models and evaluate them using human-reviewed trace labels. Manual review changes 32 labels (5.3%) relative to the original case-level annotations, confirming the need for trace-level human review. To demonstrate what world-state-grounded enforcement can achieve under favorable conditions, we introduce Sentinel, an enforcement framework based on counterfactual graph simulation. Sentinel treats every agent action as a proposed mutation to an organizational knowledge graph, performs speculative execution to materialize the post-action world state, and verifies graph-structural invariants to decide Allow/Block/Clarify. Against human-reviewed trace labels, Sentinel substantially outperforms a content-only DLP baseline (68.8% vs. 93.0% accuracy) while maintaining high precision, though it still leaves room for improvement on certain violation categories. These results demonstrate what becomes achievable once policy-relevant world state is made available to the enforcement layer.
The Obvious Invisible Threat: LLM-Powered GUI Agents' Vulnerability to Fine-Print Injections
University of Notre Dame(圣母大学);Northeastern University(东北大学);University of Washington(华盛顿大学);Virginia Tech(弗吉尼亚理工大学);Johns Hopkins University(约翰斯·霍普金斯大学)
Towards Safer Chatbots: Automated Policy Compliance Evaluation of Custom GPTs
Information Processing and Telecommunications Center Universidad Politécnica de Madrid ETSI Telecomunicación(信息处理与电信中心西班牙马德里理工大学电信工程学院);King’s College London(伦敦国王学院);INGENIO (CSIC-Universitat Politècnica de València)(INGENIO(西班牙国家研究委员会-瓦伦西亚理工大学))
Model-Based Proactive Cost Generation for Learning Safe Policies Offline with Limited Violation Data
National Key Laboratory for Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室);School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);Polixir Technologies Nanjing, China(南京Polixir科技有限公司);Tencent Game AI Center Shenzhen, China(腾讯深圳游戏AI中心)
Towards Painless Policy Optimization for Constrained MDPs
Simon Fraser University(西蒙弗雷泽大学);SAIT AI Lab(SAIT人工智能实验室);Amii(阿尔伯塔机器智能研究所);University of Alberta(阿尔伯塔大学);DeepMind(深度思维);Mila(米拉人工智能研究所);McGill University(麦吉尔大学)