RealVul: Can We Detect Vulnerabilities in Web Applications with LLM?
Di Cao, Yong Liao, Xiuwei Shang

TL;DR
RealVul is a novel LLM-based framework tailored for detecting PHP vulnerabilities, employing advanced sample extraction and data synthesis techniques to enhance detection accuracy and generalization across diverse codebases.
Contribution
The paper introduces the first LLM framework specifically for PHP vulnerability detection, addressing data scarcity and sample extraction challenges.
Findings
Significant improvement in detection effectiveness.
Enhanced generalization across multiple PHP projects.
Outperforms existing vulnerability detection methods.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsWeb Application Security Vulnerabilities · Network Security and Intrusion Detection · Security and Verification in Computing
