论文 · Benchmarking LLMs and LLM-Based Agents in Practical Vulnerability Detection for Code Repositories
基础信息
- 标题:Benchmarking LLMs and LLM-based Agents in Practical Vulnerability Detection for Code Repositories
- 类型:Benchmark + 实证评测
- 核心贡献:提出 JITVUL,基于 879 个 CVE 和 91 类 CWE 构造 1,758 个 vulnerable/fixed pairwise commits,用于评测 LLM 和 ReAct agent 的 just-in-time repository-level 漏洞检测能力。
Q1. 研究动机
函数级漏洞 benchmark 不能反映真实代码仓库中跨函数、跨调用链的漏洞语义;已有仓库级 benchmark 成本高、缺少 pairwise 修复前后比较,也较少研究 agent 通过工具按需获取上下文的能力。作者希望评测 LLM 和 ReAct agent 是否真正区分漏洞版本与修复版本。