arrow
返回

Vulnerability Positioner (VulP): enhancing code vulnerability localization with CodeBERT

delete2026-01-08
delete0
PRE
AI
X
Xuejun Zhang *
Z
Zhuo Chen
F
Fenghe Zhang
S
Shuqin Xu
X
Xiaohong Jia
DOI:10.1007/s00530-025-02106-8delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
The localization of software vulnerabilities is a critical yet underexplored problem, as evidenced by the increasing need to pinpoint specific vulnerable code lines in complex software systems. This challenge necessitates machine learning methods tailored for vulnerability localization. To address this gap, we propose a novel systematic framework for fine-grained vulnerability localization in source code, named Vulnerability Positioner(VulP). The framework integrates syntax, semantics, and vulnerability context information by employing slicing techniques and a fusion layer that highlights vulnerable code regions. Firstly, slice source code based on syntax rules, generating corresponding program slices and intermediate code. Further refine these program slices by slicing the intermediate representation of code. Then, a CodeBERT-based model is designed, incorporating a fusion layer, K-max pooling layer, and average pooling layer. Validation experiments demonstrate that the proposed method surpasses existing approaches in both detection performance and localization precision, confirming the effectiveness of VulP. Additionally, the ablation experiments validate that the additional layers markedly enhance the performance of VulP.
Keyword:
Source Code
Vulnerability Detection
Vulnerability Localization
CodeBERT
err分享
err收藏
Android Source Code Vulnerability Detection: A Systematic Literature ReviewAndroid源代码漏洞检测: 系统的文献综述
err2023-01-16
err22
errOAAI
errSenanayake, Janaka; Kalutarage, Harsha; Al-Kadri, Mhd Omar; Petrovski, Andrei; Piras, Luca
err分享
err收藏
err分享
err收藏
Software Vulnerability Detection Using Informed Code Graph Pruning基于知情代码图剪枝的软件漏洞检测
err2023-01-01
err0
errOAAI
errGear, Joseph; Xu, Yue; Foo, Ernest; Gauravaram, Praveen; Jadidi, Zahra; Simpson, Leonie
err分享
err收藏

期刊

Multimedia Systems 封面图
Multimedia Systems
IF:
3.1
论文数:
2.9K
被引数:
3.8K

机构

E
electronic and information engineering
学者数:
0
论文数: 1
被引数: 54
引用论文

引用论文

LineVD
err2022-10-17
err0
errOAAI
errDavid Hin; Andrey Kan; Huaming Chen; M. Ali Babar
err分享
err收藏
VulDeePecker: A Deep Learning-Based System for Vulnerability Detection
err2018-01-01
err0
errOAAI
errZhen Li; Deqing Zou; Shouhuai Xu; Xinyu Ou; Hai Jin; Sujuan Wang; Zhijun Deng; Yuyi Zhong
err分享
err收藏
err分享
err收藏
学者 查看更多内容