paper-with-me

Papers

Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability Detection

2022-12-15 · Benjamin Steenhoek, Hongyang Gao, Wei Le

Deep learning-based vulnerability detection has shown great performance and, in some studies, outperformed static analysis tools. However, the highest-performing approaches use token-based transformer models, which are not the most efficient to capture code semantics required for vulnerability detection. Classical program analysis techniques such as dataflow analysis can detect many types of bugs based on their root causes. In this paper, we propose to combine such causal-based vulnerability detection algorithms with deep learning, aiming to achieve more efficient and effective vulnerability detection. Specifically, we designed DeepDFA, a dataflow analysis-inspired graph learning framework and an embedding technique that enables graph learning to simulate dataflow computation. We show that DeepDFA is both performant and efficient. DeepDFA outperformed all non-transformer baselines. It was trained in 9 minutes, 75x faster than the highest-performing baseline model. When using only 50+ vulnerable and several hundreds of total examples as training data, the model retained the same performance as 100% of the dataset. DeepDFA also generalized to real-world vulnerabilities in DbgBench; it detected 8.7 out of 17 vulnerabilities on average across folds and was able to distinguish between patched and buggy versions, while the highest-performing baseline models did not detect any vulnerabilities. By combining DeepDFA with a large language model, we surpassed the state-of-the-art vulnerability detection performance on the Big-Vul dataset with 96.46 F1 score, 97.82 precision, and 95.14 recall. Our replication package is located at https://doi.org/10.6084/m9.figshare.21225413 .

📄 PDF Abstract BibTeX arXiv:2212.08108

Code (1)

ISU-PAAL/DeepDFA 공식 구현 pytorch

Tasks

Deep LearningGraph LearningLanguage ModellingLarge Language ModelVulnerability Detection

Similar 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 외

Software security vulnerabilities allow attackers to perform malicious activities to disrupt software operations. Recent Transformer-based language models have significantly advanced vulnerability detection, surpassing t…

Graph Neural NetworkVulnerability Detection

LLMDFA: Analyzing Dataflow in Code with Large Language Models

2024-02-16 · Chengpeng Wang, Wuqi Zhang, Zian Su, Xiangzhe Xu 외

Dataflow analysis is a fundamental code analysis technique that identifies dependencies between program values. Traditional approaches typically necessitate successful compilation and expert customization, hindering thei…

Hallucination

VulCNN: An Image-inspired Scalable Vulnerability Detection System

2022-06-20 · International Conference on Software Engineering 2022 6 · Yueming Wu, Deqing Zou, Shihan Dou, Wei Yang 외

Since deep learning (DL) can automatically learn features from source code, it has been widely used to detect source code vulnerability. To achieve scalable vulnerability scanning, some prior studies intent to process th…

image-classificationImage ClassificationVulnerability Detection

FlowSense: A Natural Language Interface for Visual Data Exploration within a Dataflow System

2019-08-02 · Bowen Yu, Claudio T. Silva

Dataflow visualization systems enable flexible visual data exploration by allowing the user to construct a dataflow diagram that composes query and visualization modules to specify system functionality. However learning …

Machine Translation

SAEL: Leveraging Large Language Models with Adaptive Mixture-of-Experts for Smart Contract Vulnerability Detection

2025-07-30 · Lei Yu, Shiqi Cheng, Zhirong Huang, Jingyuan Zhang 외 arxiv

With the increasing security issues in blockchain, smart contract vulnerability detection has become a research focus. Existing vulnerability detection methods have their limitations: 1) Static analysis methods struggle …

Vulnerability Detection