Software Vulnerability and Functionality Assessment using LLMs
Not on the map. Why?
Abstract (arXiv)
While code review is central to the software development process, it can be tedious and expensive to carry out. In this paper, we investigate whether and how Large Language Models (LLMs) can aid with code reviews. Our investigation focuses on two tasks that we argue are fundamental to good reviews: (i) flagging code with security vulnerabilities and (ii) performing software functionality validation, i.e., ensuring that code meets its intended functionality. To test performance on both tasks, we use zero-shot and chain-of-thought prompting to obtain final ``approve or reject'' recommendations. As data, we employ seminal code generation datasets (HumanEval and MBPP) along with expert-written code snippets with security vulnerabilities from the Common Weakness Enumeration (CWE). Our experiments consider a mixture of three proprietary models from OpenAI and smaller open-source LLMs. We find that the former outperforms the latter by a large margin. Motivated by promising results, we finally ask our models to provide detailed descriptions of security vulnerabilities. Results show that 36.7% of LLM-generated descriptions can be associated with true CWE vulnerabilities.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 9 of its 21 references that are in the map. First posted on arXiv 13 Mar 2024.
Builds on
9 of 21 references.
References · 9
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 100
- 2022Using Pre-Trained Models to Boost Code Review Automationcited by 63
- 2022CodeAttack: Code-Based Adversarial Attacks for Pre-trained Programming Language Modelscited by 48
- 2023LLaMA-Reviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuningcited by 47
- 2022Automated Identification of Toxic Code Reviews Using ToxiCRcited by 8
Built on by
Citing papers per year: 2024: 3; 2025: 8.
11 papers.
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
- 2024CodeMirage: Hallucinations in Code Generated by Large Language Modelscited by 23
- 2025Do LLMs Consider Security? An Empirical Study on Responses to Programming Questionscited by 8
- 2025A Systematic Literature Review on Detecting Software Vulnerabilities with Large Language Modelscited by 8
- 2025Bridging LLM Planning Agents and Formal Methods: A Case Study in Plan Verificationcited by 6
- 2025Evaluating the Effectiveness of LLMs in Fixing Maintainability Issues in Real-World Projectscited by 4
- 2025Meta-RAG on Large Codebases Using Code Summarizationcited by 4
- 2025ALMAS: an Autonomous LLM-based Multi-Agent Software Engineering Frameworkcited by 4
- 2024Evaluating the Efficacy of Prompt-Engineered Large Multimodal Models Versus Fine-Tuned Vision Transformers in Image-Based Security Applicationscited by 3
- 2025Towards Effective Complementary Security Analysis using Large Language Modelscited by 1
- 2025Repairing vulnerabilities without invisible hands. A differentiated replication study on LLMscited by 1
- 2025Bridging LLM Planning Agents and Formal Methods: A Case Study in Plan Verification3 Oct 2025
- 2025ALMAS: an Autonomous LLM-based Multi-Agent Software Engineering Framework3 Oct 2025
- 2025Meta-RAG on Large Codebases Using Code Summarization4 Aug 2025
- 2025A Systematic Literature Review on Detecting Software Vulnerabilities with Large Language Models30 Jul 2025
- 2025Repairing vulnerabilities without invisible hands. A differentiated replication study on LLMs28 Jul 2025
- 2025Towards Effective Complementary Security Analysis using Large Language Models20 Jun 2025
- 2025Do LLMs Consider Security? An Empirical Study on Responses to Programming Questions20 Feb 2025
- 2025Evaluating the Effectiveness of LLMs in Fixing Maintainability Issues in Real-World Projects4 Feb 2025
- 2024CodeMirage: Hallucinations in Code Generated by Large Language Models14 Aug 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Review6 May 2024
- 2024Evaluating the Efficacy of Prompt-Engineered Large Multimodal Models Versus Fine-Tuned Vision Transformers in Image-Based Security Applications26 Mar 2024
Similar, not cited
Close in wording, no citation either way
- 2025Rethinking the Evaluation of Secure Code Generation
- 2026An Empirical Evaluation of LLM-Based Approaches for Code Vulnerability Detection: RAG, SFT, and Dual-Agent Systems
- 2024An Insight into Security Code Review with LLMs: Capabilities, Obstacles, and Influential Factors
- 2025Improving Automated Secure Code Reviews: A Synthetic Dataset for Code Vulnerability Flaws
- 2026Poster: Rethinking Security in LLM Code Generation through Real-World Risk Scenarios
- 2025A Systematic Study of Code Obfuscation Against LLM-based Vulnerability Detection
- 2026An Empirical Evaluation of LLM-Generated Code Security Across Prompting Methods
- 2026Inference-Time Safety For Code LLMs Via Retrieval-Augmented Revision