SecGoal:从协议文档中提取可形式化安全目标的基准
SecGoal: A Benchmark for Extracting Formalizable Security Goals from Protocol Documents
AI总结:
提出SecGoal基准和AIFG框架,通过微调小型开源LLM实现从协议文档中高精度提取可形式化安全目标,并生成结构化安全属性。
摘要:
形式化验证为密码安全提供了严格保证,但从自然语言协议文档中提取可形式化安全目标仍然主要依赖人工。我们引入了SecGoal,一个专用的专家标注数据集和基准,用于从协议文档中提取可形式化安全目标陈述,涵盖15个广泛部署的协议,以及AIFG,一个基于模式和流程的结构化形式安全属性生成框架。我们的评估表明,前沿和大型LLM实现了高属性召回率但低提取精度,因为它们常常无法区分可形式化安全目标和非目标协议内容。相比之下,SecGoal微调使较小的开源LLM成为更具选择性的可形式化安全目标提取器。在保留测试协议上,Gemma2-9B-FT将提取精度从24.0%提高到66.6%,并达到97.6%的属性召回率,优于更大的提示LLM和编码器基线。在受控设置中,AIFG表明,简洁的目标输入可以支持高召回率的结构化属性生成,而专家验证的提取输入则揭示了过度生成是主要剩余瓶颈。SecGoal和AIFG共同为基于规范的安全目标提取和属性生成提供了数据集、基准和框架。
英文摘要:
Formal verification provides rigorous guarantees for cryptographic security, yet extracting formalizable security goals from natural-language protocol documents remains largely manual. We introduce SecGoal, a dedicated expert-annotated dataset and benchmark for extracting formalizable security goal statements from protocol documents, covering 15 widely deployed protocols, together with AIFG, a schema- and flow-conditioned framework for structured formal security property generation. Our evaluation shows that frontier and large LLMs achieve high property recall but low extraction precision because they often fail to distinguish formalizable security goals from non-goal protocol content. In contrast, SecGoal fine-tuning makes smaller open-source LLMs substantially more selective extractors of formalizable security goals. On the held-out test protocols, Gemma2-9B-FT improves extraction precision from 24.0\% to 66.6\% and reaches 97.6\% property recall, outperforming larger prompted LLMs and encoder baselines. In a controlled setting, AIFG shows that concise goal inputs can support high-recall structured property generation, while expert-vetted extracted inputs reveal over-generation as the main remaining bottleneck. Together, SecGoal and AIFG provide a dataset, benchmark, and framework for specification-grounded security goal extraction and property generation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。