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

拒绝背后:通过行为监控确定护栏激活

Behind the Refusal: Determining Guardrail Activation via Behavioral Monitoring

Mindgard;Lancaster University(兰卡斯特大学)

William Hackett, Peter Garraghan

AI总结:

提出首个黑盒护栏侦察方法,通过HTTP、词汇和时序信号行为监控检测AI系统中护栏的存在,准确率100%,并能区分护栏拦截与LLM拒绝。

摘要:

随着大型语言模型(LLM)和代理系统集成到实际应用中,确保其安全性至关重要。检测并阻止发送给LLM和从LLM发出的恶意指令的护栏系统是AI安全的关键组成部分。然而,针对生产AI系统进行黑盒对抗模拟的研究人员常常难以确定是护栏拦截还是LLM拒绝。这一区别很重要,因为绕过护栏的技术与绕过LLM安全对齐的技术可能有很大不同,并对攻击技术的选择和优化产生实质性影响。我们提出了首个黑盒护栏侦察方法,通过HTTP、词汇和时序信号的行为监控来检测目标AI系统中是否存在护栏,假设仅具有黑盒访问权限且对护栏或AI系统零先验知识。实验表明,我们的方法以100%的准确率检测到护栏的存在,良性交互与恶意交互之间存在统计上显著的行为分离(q < 0.001)。我们的方法进一步识别了护栏设计要阻止的内容类别,并在未见提示上以平均98%的F1分数区分护栏拦截与LLM拒绝。

英文摘要:

As Large Language Models (LLMs) and agentic systems become integrated into real-world applications, ensuring their safety and security is critical. Guardrail systems that detect and block malicious instructions sent to and from an LLM are an essential component of AI security. However, researchers conducting black-box adversarial emulation against production AI systems often struggle to determine whether a guardrail block or an LLM rejection has occurred. This distinction is important because the techniques used to bypass guardrails can differ substantially from those used to bypass LLM safety alignment, and has a material impact on attack technique selection and optimization. We propose the first black-box guardrail reconnaissance methodology, which detects the presence of a guardrail within a target AI system through behavioral monitoring of HTTP, lexical, and timing signals, assuming only black-box access and zero prior knowledge of the guardrail or AI system. Experiments demonstrate that our approach detects guardrail presence with 100% accuracy, with statistically significant behavioral separation between benign and malicious interactions (q < 0.001). Our approach further identifies the content categories a guardrail is designed to block, and distinguishes guardrail blocks from LLM rejection on unseen prompts with an average F1 score of 98%.

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

↑