arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.08708cs.CRcs.AIcs.LG
收藏

eyeballvul:面向真实场景漏洞检测的面向未来基准测试集

eyeballvul: a future-proof benchmark for vulnerability detection in the wild

Timothee Chauvin

AI总结:

本研究推出eyeballvul漏洞检测基准,基于开源漏洞流每周更新,用LLM评分器评估模型长上下文漏洞检测能力,截至2024年7月已包含超2.4万个漏洞。

摘要:

近期大语言模型(LLM)的长上下文能力催生了新应用场景:让模型在完整代码库中查找安全漏洞。为评估模型在该任务上的性能,我们推出eyeballvul——一个用于大规模测试语言模型漏洞检测能力的基准测试集,其数据源自开源仓库已发布漏洞流,且每周更新。该基准包含不同仓库的一系列修订版本,每个修订版本都对应其存在的已知漏洞列表。我们使用基于LLM的评分器,将模型返回的潜在漏洞列表与每个修订版本的已知漏洞列表进行比对。截至2024年7月,eyeballvul涵盖6000多个修订版本、5000多个仓库中的24000多个漏洞,规模约为55GB。

英文摘要:

Long contexts of recent LLMs have enabled a new use case: asking models to find security vulnerabilities in entire codebases. To evaluate model performance on this task, we introduce eyeballvul: a benchmark designed to test the vulnerability detection capabilities of language models at scale, that is sourced and updated weekly from the stream of published vulnerabilities in open-source repositories. The benchmark consists of a list of revisions in different repositories, each associated with the list of known vulnerabilities present at that revision. An LLM-based scorer is used to compare the list of possible vulnerabilities returned by a model to the list of known vulnerabilities for each revision. As of July 2024, eyeballvul contains 24,000+ vulnerabilities across 6,000+ revisions and 5,000+ repositories, and is around 55GB in size.

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

↑