paper-with-me

홈 › Papers

Security Vulnerability Detection with Multitask Self-Instructed Fine-Tuning of Large Language Models

2024-06-09 · Aidan Z. H. Yang, Haoye Tian, He Ye, Ruben Martins, Claire Le Goues

Software security vulnerabilities allow attackers to perform malicious activities to disrupt software operations. Recent Transformer-based language models have significantly advanced vulnerability detection, surpassing the capabilities of static analysis based deep learning models. However, language models trained solely on code tokens do not capture either the explanation of vulnerability type or the data flow structure information of code, both of which are crucial for vulnerability detection. We propose a novel technique that integrates a multitask sequence-to-sequence LLM with pro-gram control flow graphs encoded as a graph neural network to achieve sequence-to-classification vulnerability detection. We introduce MSIVD, multitask self-instructed fine-tuning for vulnerability detection, inspired by chain-of-thought prompting and LLM self-instruction. Our experiments demonstrate that MSIVD achieves superior performance, outperforming the highest LLM-based vulnerability detector baseline (LineVul), with a F1 score of 0.92 on the BigVul dataset, and 0.48 on the PreciseBugs dataset. By training LLMs and GNNs simultaneously using a combination of code and explanatory metrics of a vulnerable program, MSIVD represents a promising direction for advancing LLM-based vulnerability detection that generalizes to unseen data. Based on our findings, we further discuss the necessity for new labelled security vulnerability datasets, as recent LLMs have seen or memorized prior datasets' held-out evaluation data.

📄 PDF Abstract BibTeX arXiv:2406.05892

Code (0)

등록된 구현이 없습니다.

Tasks

Graph Neural NetworkVulnerability Detection

Methods 이 논문이 사용한 방법론

Graph Neural Network 설명 없음

Similar Papers 제목 키워드 기반

A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verification

2023-05-24 · Norbert Tihanyi, Ridhi Jain, Yiannis Charalambous, Mohamed Amine Ferrag 외

This paper introduces an innovative approach that combines Large Language Models (LLMs) with Formal Verification strategies for automatic software vulnerability repair. Initially, we employ Bounded Model Checking (BMC) t…

C++ codeMathematical Proofs

Evaluating LLMs for Real-World Web Vulnerability Detection

2026-06-19 · Sebastian Neef, Luca Jungnickel, Antonio Benjamin Buchholz, Valene Spence 외 arxiv

Large Language Models (LLMs) have emerged as a promising tool for automated vulnerability detection, yet their effectiveness on web-specific vulnerabilities remains to be explored. This work benchmarks six frontier (Clau…

Vulnerability Detection

Comparison of Static Application Security Testing Tools and Large Language Models for Repo-level Vulnerability Detection

2024-07-23 · Xin Zhou, Duc-Manh Tran, Thanh Le-Cong, Ting Zhang 외

Software vulnerabilities pose significant security challenges and potential risks to society, necessitating extensive efforts in automated vulnerability detection. There are two popular lines of work to address automated…

Vulnerability Detection

White-Basilisk: A Hybrid Model for Code Vulnerability Detection

2025-07-11 · Ioannis Lamprou, Alexander Shevtsov, Ioannis Arapakis, Sotiris Ioannidis arxiv

The proliferation of software vulnerabilities presents a significant challenge to cybersecurity, necessitating more effective detection methodologies. We introduce White-Basilisk, a novel approach to vulnerability detect…

Computational EfficiencyVulnerability Detection

Vulnerability Detection Using Two-Stage Deep Learning Models

2023-05-08 · Mohamed Mjd Alhafi, Mohammad Hammade, Khloud Al Jallad

Application security is an essential part of developing modern software, as lots of attacks depend on vulnerabilities in software. The number of attacks is increasing globally due to technological advancements. Companies…

Binary ClassificationDeep LearningVulnerability Detection