arrow
返回

Code-centric learning-based just-in-time vulnerability detection

delete2024-08-01
delete6
delete
OA
AI
S
Son Nguyen
T
Thu-Trang Nguyen
T
Thanh Trong Vu
T
Thanh-Dat Do
K
Kien-Tuan Ngo
H
Hieu Dinh Vo *
DOI:10.1016/j.jss.2024.112014delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Attacks against computer systems exploiting software vulnerabilities can cause substantial damage to the cyber infrastructure of our modern society and economy. To minimize the consequences, it is vital to detect and fix vulnerabilities as soon as possible. Just -in -time vulnerability detection (JIT-VD) discovers vulnerability -prone (dangerous) commits to prevent them from being merged into source code and causing vulnerabilities. By JIT-VD, the commits' authors, who understand the commits properly, can review these dangerous commits and fix them if necessary while the relevant modifications are still fresh in their minds. In this paper, we propose CodeJIT , a novel graph -based code -centric learning -based approach for just -in -time vulnerability detection. The key idea of CodeJIT is that the meaning of the code changes of a commit is the direct and deciding factor for determining if the commit is dangerous for the code. Based on that idea, we design a novel graph -based representation, Code Transformation Graph (CTG) to represent the semantics of code changes in terms of both code syntactic structure and program dependencies. A graph neural network (GNN) model is developed to capture the meaning of the code changes represented by our graph -based representation and learn to discriminate between dangerous and safe commits. We conducted experiments to evaluate the JIT-VD performance of CodeJIT on a dataset of 20K+ dangerous and safe commits in 506 real -world projects from 1998 to 2022. Our results show that CodeJIT significantly improves the state-of-the-art JIT-VD methods by up to 66% in Recall, 136% in Precision, and 68% in F1. Moreover, CodeJIT correctly classifies nearly 9/10 of dangerous/safe (benign) commits and even detects 69 commits that fix a vulnerability yet produce other issues in source code.
Keyword:
Just-in-time vulnerability detection
Code-centric
Code change representation
Graph-based model
Commit-level bugs
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.5K
被引数:
8.4K

机构

V
vietnam national university hanoi (vnu hanoi) system
学者数:
4.0K
论文数: 2.5K
被引数: 2
引用论文

引用论文

Induction of cellulose in Schizophyllum commune: thiocellobiose as a new inducer
err1982-01-01
err0
errOAAI
errD Rho; M Desrochers; L Jurasek; H Driguez; J Defaye
err分享
err收藏
CoreGen: Contextualized Code Representation Learning for Commit Message Generation
err2021-10-01
err25
errOAAI
errNie, Lun Yiu; Gao, Cuiyun; Zhong, Zhicong; Lam, Wai; Liu, Yang; Xu, Zenglin
err分享
err收藏
Hemodynamic Exercise Response in Calves with an Implantable Biventricular Centrifugal Blood Pump
err2002-01-11
err0
errOAAI
errJörg Linneweber; Kenji Nonaka; Tamaki Takano; Shinji Kawahito; Sebastian Schulte‐Eistrup; Tadashi Motomura; Seiji Ichikawa; Minoru Mikami; Shelly Stevens; Heinrich Schima; Ernst Wolner; Yukihiko Nosé
err分享
err收藏
On the Naturalness of Software论软件的自然性
err2016-04-26
err164
PREAI
errHindle, Abram; Barr, Earl T.; Gabel, Mark; Su, Zhendong; Devanbu, Premkumar
err分享
err收藏
err分享
err收藏
Persistence of Si(111)7 × 7 surface structure under air exposure
err1980-10-01
err0
PREAI
errMichiharu Tabe; Kunihiro Arai; Hiroaki Nakamura
err分享
err收藏
The Impact of Mislabeled Changes by SZZ on Just-in-Time Defect Prediction
err2021-08-01
err70
errOAAI
errFan, Yuanrui; Xia, Xin; da Costa, Daniel Alencar; Lo, David; Hassan, Ahmed E.; Li, Shanping
err分享
err收藏
Production of reactive oxygen species from abraded silicates. Implications for the reactivity of the Martian soil
err2017-09-01
err0
PREAI
errEbbe N. Bak; Kaloyan Zafirov; Jonathan P. Merrison; Svend J. Knak Jensen; Per Nørnberg; Haraldur P. Gunnlaugsson; Kai Finster
err分享
err收藏
When Government Fails
err
IF0
err1998-01-06
err0
PREAI
errMark Baldassare
err分享
err收藏
学者 查看更多内容