paper-with-me

Papers

VulDetectBench: Evaluating the Deep Capability of Vulnerability Detection with Large Language Models

2024-06-11 · Yu Liu, Lang Gao, Mingxin Yang, Yu Xie, Ping Chen, Xiaojin Zhang, Wei Chen

Large Language Models (LLMs) have training corpora containing large amounts of program code, greatly improving the model's code comprehension and generation capabilities. However, sound comprehensive research on detecting program vulnerabilities, a more specific task related to code, and evaluating the performance of LLMs in this more specialized scenario is still lacking. To address common challenges in vulnerability analysis, our study introduces a new benchmark, VulDetectBench, specifically designed to assess the vulnerability detection capabilities of LLMs. The benchmark comprehensively evaluates LLM's ability to identify, classify, and locate vulnerabilities through five tasks of increasing difficulty. We evaluate the performance of 17 models (both open- and closed-source) and find that while existing models can achieve over 80% accuracy on tasks related to vulnerability identification and classification, they still fall short on specific, more detailed vulnerability analysis tasks, with less than 30% accuracy, making it difficult to provide valuable auxiliary information for professional vulnerability mining. Our benchmark effectively evaluates the capabilities of various LLMs at different levels in the specific task of vulnerability detection, providing a foundation for future research and improvements in this critical area of code security. VulDetectBench is publicly available at https://github.com/Sweetaroo/VulDetectBench.

📄 PDF Abstract BibTeX arXiv:2406.07595

Code (1)

sweetaroo/vuldetectbench 공식 구현

Tasks

Vulnerability Detection

Similar Papers 제목 키워드 기반

Large Language Models Cannot Reliably Detect Vulnerabilities in JavaScript: The First Systematic Benchmark and Evaluation

2025-12-01 · Qingyuan Fei, Xin Liu, Song Li, Shujiang Wu 외 arxiv

Researchers have proposed numerous methods to detect vulnerabilities in JavaScript, especially those assisted by Large Language Models (LLMs). However, the actual capability of LLMs in JavaScript vulnerability detection …

Vulnerability Detection

Helpful or Harmful? Evaluating LLM-Assisted Vulnerability Patching via a Human Study

2026-06-24 · Giulian Biolo, Michael Tezza, Yuanjun Gong, Fabio Massacci arxiv

Software vulnerability remediation is a cognitively demanding task that requires specialized security expertise often lacking in general developers. In the meantime, Large Language Models (LLMs) assisted tools show poten…

Vulnerability Detection

Evaluating Large Language Models in Vulnerability Detection Under Variable Context Windows

2025-01-30 · Jie Lin, David Mohaisen

This study examines the impact of tokenized Java code length on the accuracy and explicitness of ten major LLMs in vulnerability detection. Using chi-square tests and known ground truth, we found inconsistencies across m…

Vulnerability Detection

Toward Scalable Automated Repository-Level Datasets for Software Vulnerability Detection

2026-03-18 · Amine Lbath arxiv

Software vulnerabilities continue to grow in volume and remain difficult to detect in practice. Although learning-based vulnerability detection has progressed, existing benchmarks are largely function-centric and fail to…

Vulnerability Detection

Evaluating LLaMA 3.2 for Software Vulnerability Detection

2025-03-10 · José Gonçalves, Miguel Silva, Bernardo Cabral, Tiago Dias 외

Deep Learning (DL) has emerged as a powerful tool for vulnerability detection, often outperforming traditional solutions. However, developing effective DL models requires large amounts of real-world data, which can be di…

Language ModelingLanguage ModellingLarge Language ModelVulnerability Detection