Projects per year
Abstract
Software vulnerabilities are prevalent in software systems, causing a variety of problems including deadlock, information loss, or system failures. Thus, early predictions of software vulnerabilities are critically important in safety-critical software systems. Various ML/DL-based approaches have been proposed to predict vulnerabilities at the file/function/method level. Recently, IVDetect (a graph-based neural network) is proposed to predict vulnerabilities at the function level. Yet, the IVDetect approach is still inaccurate and coarse-grained. In this paper, we propose LINEVUL, a Transformer-based line-level vulnerability prediction approach in order to address several limitations of the state-of-the-art IVDetect approach. Through an empirical evaluation of a large-scale real-world dataset with 188k+ C/C++ functions, we show that LINEVUL achieves (1) 160%-379% higher F1-measure for function-level predictions; (2) 12%-25% higher Top-10 Accuracy for line-level predictions; and (3) 29%-53% less Effort@20%Recall than the baseline approaches, highlighting the significant advancement of LINEVUL towards more accurate and more cost-effective line-level vulnerability predictions. Our additional analysis also shows that our LINEVUL is also very accurate (75%-100%) for predicting vulnerable functions affected by the Top-25 most dangerous CWEs, highlighting the potential impact of our LINEVUL in real-world usage scenarios.
| Original language | English |
|---|---|
| Title of host publication | Proceedings - The 2022 Mining Software Repositories Conference, MSR 2022 |
| Editors | Maxime Lamothe, Zhiyuan Wan |
| Place of Publication | Piscataway NJ USA |
| Publisher | IEEE, Institute of Electrical and Electronics Engineers |
| Pages | 608-620 |
| Number of pages | 13 |
| ISBN (Electronic) | 9781450393034 |
| DOIs | |
| Publication status | Published - 2022 |
| Event | IEEE International Working Conference on Mining Software Repositories 2022 - Pittsburgh, United States of America Duration: 23 May 2022 → 24 May 2022 https://dl.acm.org/doi/proceedings/10.1145/3524842 (Poceedings) https://conf.researchr.org/home/msr-2022 (Website) |
Conference
| Conference | IEEE International Working Conference on Mining Software Repositories 2022 |
|---|---|
| Abbreviated title | MSR 2022 |
| Country/Territory | United States of America |
| City | Pittsburgh |
| Period | 23/05/22 → 24/05/22 |
| Internet address |
|
Keywords
- AI for Software Engineering
- Software Security
- Vulnerability Prediction
Projects
- 1 Finished
-
Practical and Explainable Analytics to Prevent Future Software Defects
Tantithamthavorn, K. (Primary Chief Investigator (PCI))
ARC - Australian Research Council
2/03/20 → 2/03/23
Project: Research
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver