arXiv:2510.20739cs.CRcs.LG2025-10中稿 · the 41st IEEE/ACM …

用机器学习筛选程序分析报告,提升漏洞排查效率。

Learning to Triage Vulnerability Reports from Program Analysis: An Empirical Study in Node.js

  • 结合程序分析输出,用大模型和图神经网络排序漏洞报告。
  • 顶级模型召回90%可利用漏洞,误报率降低75%。
  • 适合安全团队快速过滤海量漏洞警报,提升研判效率。

程序分析工具常生成大量候选漏洞报告,需人工耗时审核,如何优先处理真正漏洞成为现实挑战。本文研究机器学习在提升漏洞报告优先级中的应用,聚焦Node.js生态,构建包含1,883个包的基准数据集,每个包均含一个报告的ACE或ACI漏洞。评估多种机器学习方法,包括经典模型、图神经网络(GNN)、大语言模型(LLMs)及混合模型(结合GNN与LLM),训练数据源自程序分析工具输出(本研究为NodeMedic-FINE)。最佳LLM模型达到F₁=0.915,基于溯源图的方法达F₁=0.904。对于上游工具标记但无法自动确认的报告,在确保恢复90%可利用漏洞的前提下,领先模型可减少75%的良性报告进入人工审查。若将模型调至精度0.8(允许20%假阳性),则可识别99.2%的可利用污染流,仅遗漏0.8%,展现出显著实际应用潜力。

原文摘要 · Abstract (English)

Program analysis tools often produce large volumes of candidate vulnerability reports that require costly manual review, creating a practical challenge: how can security analysts prioritize the reports most likely to be true vulnerabilities? This paper investigates whether machine learning can be applied to prioritizing vulnerabilities reported by program analysis tools. We focus on Node$.$js packages and collect a benchmark of 1,883 Node$.$js packages, each containing one reported ACE or ACI vulnerability. We evaluate a variety of machine learning approaches, including classical models, graph neural networks (GNNs), large language models (LLMs), and hybrid models that combine GNNs and LLMs, trained on data derived from program analysis tool outputs (NodeMedic-FINE in our case study). The top LLM achieves $F_{1}{=}0.915$, while the best provenance-graph-based method achieves $F_{1}{=}0.904$. On the reports that the upstream tool flags but cannot automatically confirm, at a target of recovering 90% of the exploitable reports, the leading model eliminates 75% of the benign reports from manual review. If the best model is tuned to operate at a precision level of 0.8 (i.e., allowing 20% false positives among all warnings), our approach can report 99.2% of exploitable taint flows while missing only 0.8%, demonstrating strong potential for real-world vulnerability triage.

漏洞检测机器学习程序分析Node.js

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