HgtJIT: Just-in-Time Vulnerability Detection Based on Heterogeneous Graph Transformer

计算机科学 计算机安全
作者
Xiaobing Sun,Mingxuan Zhou,Sicong Cao,Xiaoxue Wu,Lili Bo,Di Wu,Бин Ли,Yang Xiang
出处
期刊:IEEE Transactions on Dependable and Secure Computing [IEEE Computer Society]
卷期号:22 (6): 6522-6538 被引量:4
标识
DOI:10.1109/tdsc.2025.3586669
摘要

Vulnerability detection plays a crucial role in the software development lifecycle. Commit-level vulnerability detection aims to detect whether the changed code contributed to potential vulnerabilities by the developer when submitting the code, which is also referred to as Just-In-Time (JIT) vulnerability detection. Previous JIT vulnerability detection approaches relied on code metrics and textual features, which were unable to effectively characterize vulnerability-contributing commits (VCCs). Recently, CodeJIT (a code-centric learning-based approach) has been proposed to detect vulnerability at the commit-level. However, CodeJIT still has its limitations: imprecise feature representation, static code embedding, and underutilized heterogeneous information. In this paper, we propose HgtJIT, a JIT vulnerability detection approach based on a Heterogeneous Graph Transformer (HGT) in order to address several limitations of the state-of-the-art CodeJIT approach. We propose diffPDG to represent code changes and use the CCT5 model (the latest feature encoder pre-trained on a large-scale code change corpus) to embed graph nodes to generate the most meaningful vector representations. In addition, we employ HGT to adequately utilize heterogeneous information of the graph to learn vulnerability features. Extensive experiments have shown that HgtJIT is the best-performing model, with F1 and AUC improvement of 14.6%-37.5% and 12.2%-53.7% compared to the baseline model
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
温柔凌晴完成签到,获得积分10
刚刚
自信的芝麻完成签到,获得积分10
刚刚
落后小完成签到,获得积分10
刚刚
英姑应助清溪采纳,获得10
2秒前
2秒前
luwenxuan完成签到,获得积分10
2秒前
兴奋秋珊发布了新的文献求助10
6秒前
7秒前
共享精神应助可靠的映寒采纳,获得10
8秒前
Judy完成签到 ,获得积分10
8秒前
许可991127完成签到,获得积分10
8秒前
科研通AI6.3应助y2ktwo采纳,获得10
9秒前
11秒前
桐桐应助津门霍元甲采纳,获得10
12秒前
13秒前
坚强的安柏完成签到,获得积分10
14秒前
Jello发布了新的文献求助10
14秒前
yhgz完成签到,获得积分10
14秒前
思源应助懒兰采纳,获得10
16秒前
QY完成签到,获得积分10
17秒前
18秒前
付艳完成签到,获得积分10
18秒前
科研通AI6.3应助千山暮雪采纳,获得10
19秒前
qq发布了新的文献求助10
19秒前
香蕉觅云应助Jello采纳,获得10
19秒前
21秒前
小巧海秋完成签到,获得积分10
21秒前
23秒前
爆米花应助Firsterchao采纳,获得10
23秒前
xiaogao发布了新的文献求助10
23秒前
NexusExplorer应助Pinch采纳,获得10
24秒前
爱吃香菜发布了新的文献求助10
25秒前
26秒前
求学者完成签到,获得积分10
27秒前
赘婿应助美丽狗狗公主采纳,获得10
27秒前
29秒前
30秒前
Ava应助爱吃香菜采纳,获得10
30秒前
30秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场现状调查及投资机会研判报告 1000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场规模及竞争格局分析报告 1000
48V Low-voltage Power Distribution Network (PDN) Architecture Industry Report, 2024 800
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
适配Micro-LED色转换的高兼容性量子点负性光刻胶制备与工艺研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7316528
求助须知:如何正确求助?哪些是违规求助? 8932432
关于积分的说明 18935576
捐赠科研通 6976504
什么是DOI,文献DOI怎么找? 3214030
关于科研通互助平台的介绍 2382025
邀请新用户注册赠送积分活动 2192758