计算机科学
脆弱性(计算)
图形
编码(集合论)
代表(政治)
理论计算机科学
程序设计语言
计算机安全
集合(抽象数据类型)
政治
政治学
法学
作者
Xiangxin Meng,Shaoxiao Lu,Xu Wang,Xudong Liu,Chunming Hu
标识
DOI:10.1109/apsec60848.2023.00036
摘要
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.
科研通智能强力驱动
Strongly Powered by AbleSci AI