FragBench:隐藏在看似无害片段中的跨会话攻击
FragBench: Cross-Session Attacks Hidden in Benign-Looking Fragments
AI总结:
FragBench通过24个真实网络攻击案例构建,评估LLM跨会话攻击检测,采用对抗重写和图基检测方法,实现事件级F1分数达0.88-0.96。
摘要:
攻击者可将恶意目标拆分为多个看似无害的子提示,单独看无害但组合后有害。现有LLM安全基准仅评估单个提示或单次对话,无法检测跨会话的恶意信号。FragBench基于24个真实网络攻击案例,保留完整攻击链:多片段攻击链、各片段安全判断结果、沙箱执行轨迹及匹配的良性覆盖会话。FragBench将此轨迹分为两个任务:对抗重写器(FragBench Attack)和基于图的用户级检测器(FragBench Defense)。单次对话判断器在公开数据集上接近随机,但四种GNN变体和三种传统机器学习基线均能恢复跨会话特征,达到事件级F1分数0.88-0.96。防御碎片化LLM滥用需建模跨会话交互图,而非孤立提示。我们的生成器、重写器、沙箱工具和检测器已发布在https://github.com/LidaSafety/fragbench。
英文摘要:
An attacker can split a malicious goal into sub-prompts that each look benign on their own and only become harmful in combination. Existing LLM safety benchmarks evaluate prompts one at a time, or across turns of a single chat, and so do not look for a malicious signal spread across separate sessions with no shared context. We build FragBench, a benchmark drawn from 24 real-world cyber-incident campaigns, which keeps the full attack trail: the multi-fragment kill chain, the per-fragment safety-judge verdicts, sandboxed execution traces, and a matched set of benign cover sessions. FragBench splits this trail into two paired tasks: an adversarial rewriter that hardens fragments against a single-turn safety judge (FragBench Attack), and a graph-based user-level detector trained on the resulting interactions (FragBench Defense). The single-turn judge is near chance on the released corpus by construction, but four GNN variants and three classical-ML baselines all recover the cross-session feature, reaching aggregate event-level F1 = 0.88-0.96. Defending against fragmented LLM misuse therefore requires modeling the cross-session interaction graph, rather than isolated prompts. Our generator, rewriter, sandbox harness, and detector are released at https://github.com/LidaSafety/fragbench.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。