Code Property Graph based Cross-Domain Vulnerability Detection via Deep Fused Feature

被引:0
|
作者
Du, Gewangzi [1 ,2 ]
Chen, Liwei [1 ,2 ]
Wu, Tongshuai [1 ,2 ]
Zheng, Xiong [1 ,2 ]
Shi, Gang [1 ,2 ]
机构
[1] Chinese Acad Sci, Inst Informat Engn, Beijing, Peoples R China
[2] Univ Chinese Acad Sci, Sch Cyber Secur, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
vulnerability detection; cross-domain; code property graph; feature fusion; cyber security;
D O I
10.1109/ISCAS58744.2024.10558497
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Deep learning is becoming an important means to detect source code vulnerabilities. However, the most severe problem is the compromise of detection performance when there is a scarcity of labeled data. Researchers employed transfer learning skills to solve the problem but existing approaches utilised limited information, which failed to contain various of vulnerability patterns. The code property graph (CPG), which encapsulates abundant syntax and semantic information, is able to accommodate more vulnerability patterns. In this paper, we propose the first CPG-based cross-domain vulnerability detection system which includes an approach to represent the CPG of code snippet into vector. A deep fusion model is devised to generate the fused deep features; Moreover, we extend a metric learning algorithm to reduce data distributions from different domains. Experimental results prove our system is much more effective compared with other state-of-the-art cross-domain approaches.
引用
收藏
页数:5
相关论文
共 50 条
  • [1] Cross-domain vulnerability detection using graph emb e dding and domain adaptation
    Li, Xin
    Xin, Yang
    Zhu, Hongliang
    Yang, Yixian
    Chen, Yuling
    [J]. COMPUTERS & SECURITY, 2023, 125
  • [2] Cross-Domain Graph Anomaly Detection
    Ding, Kaize
    Shu, Kai
    Shan, Xuan
    Li, Jundong
    Liu, Huan
    [J]. IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2022, 33 (06) : 2406 - 2415
  • [3] CPGVA: Code Property Graph based Vulnerability Analysis by Deep Learning
    Wang Xiaomeng
    Zhang Tao
    Wu Runpu
    Xin Wei
    Hou Changyu
    [J]. 2018 10TH INTERNATIONAL CONFERENCE ON ADVANCED INFOCOMM TECHNOLOGY (ICAIT), 2018, : 184 - 188
  • [4] Decompose to Adapt: Cross-Domain Object Detection Via Feature Disentanglement
    Liu, Dongnan
    Zhang, Chaoyi
    Song, Yang
    Huang, Heng
    Wang, Chenyu
    Barnett, Michael
    Cai, Weidong
    [J]. IEEE TRANSACTIONS ON MULTIMEDIA, 2023, 25 : 1333 - 1344
  • [5] CD-VulD: Cross-Domain Vulnerability Discovery Based on Deep Domain Adaptation
    Liu, Shigang
    Lin, Guanjun
    Qu, Lizhen
    Zhang, Jun
    De Vel, Olivier
    Montague, Paul
    Xiang, Yang
    [J]. IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2022, 19 (01) : 438 - 451
  • [6] Cross-Domain Graph Level Anomaly Detection
    Li, Zhong
    Liang, Sheng
    Shi, Jiayang
    Van Leeuwen, Matthijs
    [J]. IEEE Transactions on Knowledge and Data Engineering, 2024, 36 (12) : 7839 - 7850
  • [7] Cross-Domain Nuclei Detection in Histopathology Images Using Graph-Based Nuclei Feature Alignment
    Wang, Zhi
    Fan, Kai
    Zhu, Xiaoya
    Liu, Honglei
    Meng, Gang
    Wang, Minghui
    Li, Ao
    [J]. IEEE JOURNAL OF BIOMEDICAL AND HEALTH INFORMATICS, 2024, 28 (01) : 78 - 88
  • [8] Cross-domain fault diagnosis of rotating machinery based on graph feature extraction
    Wang, Pei
    Liu, Jie
    Zhou, Jianzhong
    Duan, Ran
    Jiang, Wei
    [J]. MEASUREMENT SCIENCE AND TECHNOLOGY, 2023, 34 (02)
  • [9] Cross-Domain Deep Code Search with Meta Learning
    Chai, Yitian
    Zhang, Hongyu
    Shen, Beijun
    Gu, Xiaodong
    [J]. 2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 487 - 498
  • [10] Cross-Domain Deep Code Search with Meta Learning
    Chai, Yitian
    Zhang, Hongyu
    Shen, Beijun
    Gu, Xiaodong
    [J]. arXiv, 2022,