Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networks

By Yaqin Zhou, Shangqing Liu, Jing Kai Siow, Xiaoning Du, Yang Liu. 2019

1,186 citations recorded by the source corpus.

Vulnerability identification is crucial to protect the software systems from attacks for cyber security. It is especially important to localize the vulnerable functions among the source code to facilitate the fix. However, it is a challenging and tedious process, and also requires specialized security expertise. Inspired by the work on manually-defined patterns of vulnerabilities from various code representation graphs and the recent advance on graph neural networks, we propose Devign, a general graph neural network based model for graph-level classification through learning on a rich set of code semantic representations. It includes a novel Conv module to efficiently extract useful features in the learned rich node representations for graph-level classification. The model is trained over manually labeled datasets built on 4 diversified large-scale open-source C projects that incorporate high complexity and variety of real source code instead of synthesis code used in previous works. The results of the extensive evaluation on the datasets demonstrate that Devign outperforms the state of the arts significantly with an average of 10.51% higher accuracy and 8.68% F1 score, increases averagely 4.66% accuracy and 6.37% F1 by the Conv module.

Subfields: Information Systems, Software, Program Analysis & Verification, Signal Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Information Systems

  1. Yanqiao Zhu
  2. Yichen Xu
  3. Baishakhi Ray
  4. Saikat Chakraborty
  5. Shaohua Wang
  6. Yi Li
  7. Tien Nhut Nguyen
  8. Ge Li

In Software

  1. Chakkrit Kla Tantithamthavorn
  2. Michael Fu
  3. Shaohua Wang
  4. Yi Li
  5. Yanqiao Zhu
  6. Yichen Xu
  7. Tien Nhut Nguyen
  8. Ge Li

In Program Analysis & Verification

  1. Chakkrit Kla Tantithamthavorn
  2. Michael Fu
  3. Tien Nhut Nguyen
  4. Shaohua Wang
  5. Yi Li
  6. Ge Li
  7. Saurabh Pujar
  8. Zhi Jin

In Signal Processing

  1. Yanqiao Zhu
  2. Yichen Xu
  3. Baishakhi Ray
  4. Saikat Chakraborty
  5. Ge Li
  6. Zhi Jin
  7. Wasi Uddin Ahmad
  8. Saurabh Pujar

Citations in the corpus