arXiv · 2411.06493
LProtector: An LLM-driven Vulnerability Detection System
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Ze Sheng, Fenghua Wu, Xiangwu Zuo, Chao Li, Yuxin Qiao, Lei Hang. 2024-11-10. LProtector: An LLM-driven Vulnerability Detection System. https://arxiv.org/abs/2411.06493
Cite the original work for its findings. Save a collection to share your selection of sources.