arXiv:2604.17948cs.CRcs.AI2026-04

用AI自动生成漏洞分析报告,让安全研究更高效

RAVEN: Retrieval-Augmented Vulnerability Exploration Network for Memory Corruption Analysis in User Code and Binary Programs

论文配图:RAVEN: Retrieval-Augmented Vulnerability Exploration Network for Memory Corruption Analysis in User Code and Binary Programs
图 1 · 摘自论文原文
  • 引入检索增强生成技术,整合漏洞知识库与LLM Agent
  • 在105个样本上实现54.21%的报告质量得分
  • 适合安全研究人员和自动化漏洞分析系统使用

大型语言模型(LLMs)在网络安全任务中展现出强大能力,包括漏洞分类、检测和修复。然而,其在自动化漏洞报告撰写与分析方面的潜力尚未充分挖掘。我们提出RAVEN(Retrieval Augmented Vulnerability Exploration Network),一个利用LLM智能体与检索增强生成(RAG)技术合成全面漏洞分析报告的框架。给定存在漏洞的源代码,RAVEN按照Google Project Zero根因分析模板生成报告。该框架包含四个模块:探索者智能体用于识别漏洞,RAG引擎从定制数据库(包括Google Project Zero报告和CWE条目)中检索相关知识,分析师智能体评估影响与利用可能性,报告生成器则输出结构化报告。为确保质量,框架内置专用的LLM评判器,从结构完整性、事实一致性、代码推理质量和修复建议质量四个方面评估报告。我们在涵盖15种CWE类型的NIST-SARD数据集上对105个漏洞样本进行了评估,结果显示平均质量得分为54.21%,验证了该方法在自动化漏洞文档生成中的有效性。

原文摘要 · Abstract (English)

Large Language Models (LLMs) have demonstrated remarkable capabilities across various cybersecurity tasks, including vulnerability classification, detection, and patching. However, their potential in automated vulnerability report documentation and analysis remains underexplored. We present RAVEN (Retrieval Augmented Vulnerability Exploration Network), a framework leveraging LLM agents and Retrieval Augmented Generation (RAG) to synthesize comprehensive vulnerability analysis reports. Given vulnerable source code, RAVEN generates reports following the Google Project Zero Root Cause Analysis template. The framework uses four modules: an Explorer agent for vulnerability identification, a RAG engine retrieving relevant knowledge from curated databases including Google Project Zero reports and CWE entries, an Analyst agent for impact and exploitation assessment, and a Reporter agent for structured report generation. To ensure quality, RAVEN includes a task specific LLM Judge evaluating reports across structural integrity, ground truth alignment, code reasoning quality, and remediation quality. We evaluate RAVEN on 105 vulnerable code samples covering 15 CWE types from the NIST-SARD dataset. Results show an average quality score of 54.21%, supporting the effectiveness of our approach for automated vulnerability documentation.

漏洞分析LLM应用自动化报告RAG

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。