跳到主要导航 跳到搜索 跳到主要内容

Improving Vulnerability Detection with Hybrid Code Graph Representation

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

The increasing richness of software applications contributes to the enhanced productivity and convenience in daily life. However, the growing software complexity simultaneously poses significant challenges to software security. As one of the most important solutions, vulnerability detection technology attracts increasing attention. This paper proposes a novel vulnerability detection method HybridNN based on graph neural networks (GNNs). To begin, we simplify the code property graph (CPG) to design a hybrid code graph (HCG) which is better suitable for the deep semantic extraction via GNN models. Subsequently, the datasets consisting of considerable amount of samples including both artificially synthesized and real-world vulnerabilities are constructed. Next, we leverage a GNN model with a hierarchical attention mechanism which is proficient in extracting deep semantics in heterogeneous graphs, and apply it to the newly designed HCG representation. Moreover, we propose UD-Sampling method, which combines up-sampling and down-sampling methods, to balance the distribution of the training samples. Finally, extensive experiments are conducted, showing that HybridNN outperforms all baseline methods.

源语言英语
主期刊名Proceedings - 2023 30th Asia-Pacific Software Engineering Conference, APSEC 2023
出版商IEEE Computer Society
259-268
页数10
ISBN(电子版)9798350344172
DOI
出版状态已出版 - 2023
活动30th Asia-Pacific Software Engineering Conference, APSEC 2023 - Seoul, 韩国
期限: 4 12月 20237 12月 2023

出版系列

姓名Proceedings - Asia-Pacific Software Engineering Conference, APSEC
ISSN(印刷版)1530-1362

会议

会议30th Asia-Pacific Software Engineering Conference, APSEC 2023
国家/地区韩国
Seoul
时期4/12/237/12/23

指纹

探究 'Improving Vulnerability Detection with Hybrid Code Graph Representation' 的科研主题。它们共同构成独一无二的指纹。

引用此