Harnessing the Power of LLMs in Source Code Vulnerability Detection
Not on the map. Why?
Abstract (arXiv)
Software vulnerabilities, caused by unintentional flaws in source code, are a primary root cause of cyberattacks. Static analysis of source code has been widely used to detect these unintentional defects introduced by software developers. Large Language Models (LLMs) have demonstrated human-like conversational abilities due to their capacity to capture complex patterns in sequential data, such as natural languages. In this paper, we harness LLMs' capabilities to analyze source code and detect known vulnerabilities. To ensure the proposed vulnerability detection method is universal across multiple programming languages, we convert source code to LLVM IR and train LLMs on these intermediate representations. We conduct extensive experiments on various LLM architectures and compare their accuracy. Our comprehensive experiments on real-world and synthetic codes from NVD and SARD demonstrate high accuracy in identifying source code vulnerabilities.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 10 of its 24 references that are in the map. First posted on arXiv 7 Aug 2024.
Builds on
10 of 24 references.
References · 10
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 100
- 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 91
- 2020VulDeeLocator: A Deep Learning-based Fine-grained Vulnerability Detectorcited by 37
- 2019LEOPARD: Identifying Vulnerable Code for Vulnerability Assessment through Program Metricscited by 10
- 2021On using distributed representations of source code for the detection of C security vulnerabilitiescited by 10
- 2021Automated Performance Testing Based on Active Deep Learningcited by 4
- 2022A Hierarchical Deep Neural Network for Detecting Lines of Codes with Vulnerabilitiescited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 4; 2026: 1.
6 papers.
- 2025LLMs in Software Security: A Survey of Vulnerability Detection Techniques and Insightscited by 44
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2024Recent Advances in Attack and Defense Approaches of Large Language Modelscited by 5
- 2025Improving LLM Reasoning for Vulnerability Detection via Group Relative Policy Optimizationcited by 4
- 2025Enhancing Large Language Models with Faster Code Preprocessing for Vulnerability Detectioncited by 0
- 2026A systematic literature Review for Transformer-based Software Vulnerability detectioncited by 0
- 2026A systematic literature Review for Transformer-based Software Vulnerability detection27 Apr 2026
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025Improving LLM Reasoning for Vulnerability Detection via Group Relative Policy Optimization3 Jul 2025
- 2025Enhancing Large Language Models with Faster Code Preprocessing for Vulnerability Detection8 May 2025
- 2025LLMs in Software Security: A Survey of Vulnerability Detection Techniques and Insights10 Feb 2025
- 2024Recent Advances in Attack and Defense Approaches of Large Language Models5 Sep 2024