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

工具链的影响有多大,以及对谁而言?大语言模型驱动的漏洞发现的多模型上下文研究

How Much Does the Harness Matter, and for Whom? A Multi-Model Study of Context in LLM-Driven Vulnerability Discovery

Georgian;University of Toronto(多伦多大学)

Ganni Galea Curmi, Ben Wilde

AI总结:

本研究通过24种模型配置实验,发现工具链对漏洞发现的影响因模型而异,工程提示可提升多数模型产量,组合配置能扩大覆盖,低成本模型可实现相近性能。

摘要:

智能体工具链对漏洞发现的影响有多大,其价值是否依赖于模型?我们使用开源工具链在扫描时漏洞未公开的生产代码库上研究了24种模型-运行器配置。该流程结合了静态筛查、大语言模型调查、模型自我再验证、根本原因映射、独立源审查以及隔离的概念验证确认。在265个已确认的安全根本原因中,最大的两次运行配置覆盖了60.4%,而14.3%仅被一个模型发现,没有任何单一配置覆盖所有观察到的发现。在四模型上下文实验中,从最小提示到带有CodeQL衍生调用图的工程提示,对于小型和中端模型,临界加权产量提高了20-86%,而前沿模型仅提高了2%。这种比较同时改变了提示和上下文,分离这些影响后发现,工程提示可提高所有四个模型的产量,而在该提示之外添加CodeQL上下文仅能提高最小模型的产量。保留的CyberGym子集显示,组合处理的目标召回率提升方向一致。前沿模型的误报率低,但并未始终实现最高产量,强大的低成本模型可在低一个数量级的成本下提供相似性能。这些结果支持将模型、提示和上下文与任务匹配,并组合配置以获得更广泛的覆盖范围。

英文摘要:

How much does an agent harness affect vulnerability discovery, and does its value depend on the model? We study 24 model-runner configurations using an open-source harness on a production codebase whose vulnerabilities were non-public at scan time. The pipeline combines static screening, LLM investigation, model self-revalidation, root-cause mapping, independent source review, and isolated proof-of-concept confirmation. Across 265 confirmed security root causes, the largest two-run configuration covers 60.4%, while 14.3% are found by exactly one model. No single configuration covers all observed findings. In a four-model context experiment, moving from a minimal prompt to an engineered prompt with a CodeQL-derived call graph raises criticality-weighted yield by 20-86% for smaller and mid-tier models, compared with 2% for the frontier model. This comparison changes both prompt and context. Separating those effects shows that the engineered prompt improves yield for all four models, while adding CodeQL context beyond that prompt improves yield only for the smallest model. A held-out CyberGym subset shows the same direction of target-recall improvement for the combined treatment. Frontier models achieve low false-report rates but do not consistently achieve the highest yield. Strong lower-cost models can deliver similar performance at an order of magnitude lower cost. These results support matching models, prompts, and context to the task, and combining configurations for broader coverage.

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

↑