当安全对齐的语言模型及其未经审查或删除的衍生版本作为自主安全代理运行时,它们的行为是否不同?单轮拒绝基准无法回答这个问题:安全代理必须检查仓库、调用工具并在授权的沙箱中生成漏洞证据。我们提出了一个包含30个本地漏洞分析任务的基于轨迹的基准测试,这些任务具有固定的工具、确定的成功谓词、擦除规则和基础检查,并将四种标准模型与未经审查或删除的衍生版本进行比较:Gemma 4 31B、Gemma 4 26B A4B、Qwen2.5-Coder 7B和Llama 3.1 8B。该成果包含1,500个安全代理轨迹和800个非安全控制轨迹。Gemma配对显示在安全任务中具有较大的限制减少收益:31B的成功率从14.0%降至0.7%,26B的成功率从10.7%降至0.0%,同时具有更高的平均基础性(3.91 vs 3.27和4.12 vs 1.64,满分5分)以及0.0%的拒绝、压制行为和不安全行为率。然而,控制和非Gemma配对排除了干净的安全特定或普遍的限制减少效应:Gemma的差距也出现在普通编码任务中,Qwen2.5-Coder在限制减少衍生版本中的成功率较低(2.0% vs 5.3%),而删除的Llama衍生版本未能通过工具协议。在所有家族中,硬证明触发和补丁验证任务仍无法解决。这些结果表明,自主安全代理中的安全对齐效应应在系统层面进行测量,将拒绝、不安全行为、工具可靠性和证据基础性分开,而不是将拒绝率作为安全信号。
英文摘要:
Do stock safety-aligned language models and their uncensored or abliterated derivatives behave differently when run as autonomous security agents? Single-turn refusal benchmarks cannot answer this question: security agents must inspect repositories, call tools, and produce vulnerability evidence inside authorized sandboxes.
We present a trace-based benchmark of 30 local vulnerability-analysis tasks with fixed tools, deterministic success predicates, redaction rules, and grounding checks, and compare four stock models against uncensored or abliterated derivatives: Gemma 4 31B, Gemma 4 26B A4B, Qwen2.5-Coder 7B, and Llama 3.1 8B. The artifact contains 1,500 security-agent traces and 800 non-security control traces. The Gemma pairs show large less-restricted gains on security tasks: 14.0% versus 0.7% success for 31B and 10.7% versus 0.0% for 26B, with higher mean grounding (3.91 versus 3.27 and 4.12 versus 1.64 out of five) and 0.0% refusal, suppressed-action, and unsafe-action rates in the 31B traces. However, controls and non-Gemma pairs rule out a clean security-specific or universal less-restricted effect: Gemma gaps also appear on ordinary coding tasks, Qwen2.5-Coder success is lower for the less-restricted derivative (2.0% versus 5.3%), and the abliterated Llama derivative fails the tool protocol. Across all families, hard proof-of-trigger and patch-verification tasks remain unsolved. These results show that safety alignment effects in autonomous security agents should be measured at the system level, separating refusal, unsafe action, tool reliability, and evidence grounding rather than treating refusal rate as the safety signal.
Measuring Security Without Fooling Ourselves: Why Benchmarking Agents Is Hard
ELLIS Institute Tübingen & MPI-IS & Tübingen AI Center(图宾根ELLIS研究所及MPI-IS与图宾根人工智能中心);The Alan Turing Institute(艾伦·图灵研究所);BIFOLD & Technische Universität Berlin(BIFOLD与柏林技术大学);Technische Universität Darmstadt(达姆施塔特技术大学)
Safety Layers in Aligned Large Language Models: The Key to LLM Security
University of Science and Technology of China(中国科学技术大学);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院)
AI Risk Management Should Incorporate Both Safety and Security
Princeton University(普林斯顿大学);Virginia Tech(弗吉尼亚理工大学);ETH Zurich(苏黎世联邦理工学院);ELLIS Institute Tübingen(图宾根ELLIS研究所);MPI for Intelligent Systems(马克斯·普朗克智能系统研究所);Stanford University(斯坦福大学);JPMorgan AI Research(摩根大通AI研究院);Sony AI(索尼AI研究院);University of Washington(华盛顿大学);IBM Research(IBM研究院);George Washington University(乔治·华盛顿大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Pennsylvania(宾夕法尼亚大学);University of Wisconsin, Madison(威斯康星大学麦迪逊分校);NVIDIA(英伟达公司);University of Chicago(芝加哥大学);UC Berkeley(加州大学伯克利分校)
Independent Co-Assurance using the Safety-Security Assurance Framework (SSAF): A Bayesian Belief Network Implementation for IEC 61508 and Common Criteria
Systematization of Knowledge: Security and Safety in the Model Context Protocol Ecosystem
Tribhuvan University(特里布文大学);University of North Dakota(北达科他大学);Youngstown State University(亚当斯州立大学);University of Missouri(密苏里大学);University of Toledo(托莱多大学)
On AI Safety and Security Technical Debt in Engineering AI-Enabled Systems
University of Birmingham(伯明翰大学);HBKU(哈马德·本·哈利法大学);Bournemouth University(伯恩茅斯大学);Brunel University London(伦敦布鲁内尔大学);University of Hawaii(夏威夷大学);College of Science and Engineering, HBKU(哈马德·本·哈利法大学科学与工程学院)
The Authorization-Execution Gap Is a Major Safety and Security Problem in Open-World Agents
Chinese University of Hong Kong, Shenzhen, China(香港中文大学(深圳));Nanjing University of Posts and Telecommunications, China(南京邮电大学);University of Oxford, UK(牛津大学);Chinese University of Hong Kong, China(香港中文大学);State University of New York at Buffalo, USA(纽约州立大学布法罗分校)
A Comprehensive and Cross-Platform Test Suite for Memory Safety -- Towards an Open Framework for Testing Processor Hardware Supported Security Extensions