mlsanityData to 13 Oct 2026

RealVul: Can We Detect Vulnerabilities in Web Applications with LLM?

arXiv 2410.07573 ↗First posted 10 Oct 2024cs.CR cs.CLcited by 3

Not on the map. Why?

Abstract (arXiv)

The latest advancements in large language models (LLMs) have sparked interest in their potential for software vulnerability detection. However, there is currently a lack of research specifically focused on vulnerabilities in the PHP language, and challenges in extracting samples and processing persist, hindering the model's ability to effectively capture the characteristics of specific vulnerabilities. In this paper, we present RealVul, the first LLM-based framework designed for PHP vulnerability detection, addressing these issues. By vulnerability candidate detection methods and employing techniques such as normalization, we can isolate potential vulnerability triggers while streamlining the code and eliminating unnecessary semantic information, enabling the model to better understand and learn from the generated vulnerability samples. We also address the issue of insufficient PHP vulnerability samples by improving data synthesis methods. To evaluate RealVul's performance, we conduct an extensive analysis using five distinct code LLMs on vulnerability data from 180 PHP projects. The results demonstrate a significant improvement in both effectiveness and generalization compared to existing methods, effectively boosting the vulnerability detection capabilities of these models.

Key facts. Cited by 3 papers in the map (data through 13 Oct 2026). Builds on 20 of its 36 references that are in the map. First posted on arXiv 10 Oct 2024.

Builds on

20 of 36 references.

References · 20

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,231
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
  3. 2023Code Llama: Open Foundation Models for Codecited by 2,130
  4. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,304
  5. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 905
  6. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 499
  7. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 333
  8. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 272
  9. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 144
  10. 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 125
  11. 2023DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detectioncited by 101
  12. 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 92
8 more
  1. 2023Impact of Code Language Models on Automated Program Repaircited by 85
  2. 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 58
  3. 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
  4. 2023How Effective Are Neural Networks for Fixing Security Vulnerabilitiescited by 51
  5. 2023Data Quality for Software Vulnerability Datasetscited by 50
  6. 2021D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysiscited by 49
  7. 2024To Err is Machine: Vulnerability Detection Challenges LLM Reasoningcited by 18
  8. 2023DefectHunter: A Novel LLM-Driven Boosted-Conformer-based Code Vulnerability Detection Mechanismcited by 14

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 2.

3 papers.