LProtector: An LLM-driven Vulnerability Detection System

Ze Sheng, Fenghua Wu, Xiangwu Zuo, Chao Li, Yuxin Qiao +1 more
11/10/2024
cs.CRcs.AI

No confident code implementation found for this paper.

Abstract

This paper presents LProtector, an automated vulnerability detection system for C/C++ codebases driven by the large language model (LLM) GPT-4o and Retrieval-Augmented Generation (RAG). As software complexity grows, traditional methods face challenges in detecting vulnerabilities effectively. LProtector leverages GPT-4o's powerful code comprehension and generation capabilities to perform binary classification and identify vulnerabilities within target codebases. We conducted experiments on the Big-Vul dataset, showing that LProtector outperforms two state-of-the-art baselines in terms of F1 score, demonstrating the potential of integrating LLMs with vulnerability detection.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sheng2024lprotector,
  title  = {LProtector: An LLM-driven Vulnerability Detection System},
  author = {Ze Sheng and Fenghua Wu and Xiangwu Zuo and Chao Li and Yuxin Qiao and Lei Hang},
  year   = {2024},
  eprint = {2411.06493},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.06493v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.06493.svg)](https://codeofpaper.com/paper/2411.06493)

Discussion