GraphEye: A Novel Solution for Detecting Vulnerable Functions Based on Graph Attention Network
Li Zhou, Minhuan Huang, Yujun Li, Yuanping Nie, Jin Li, Yiwei Liu

TL;DR
GraphEye is a novel graph attention network-based method that automatically detects vulnerable functions in C/C++ code by classifying code property graphs, significantly reducing reliance on manual code review.
Contribution
The paper introduces GraphEye, combining VecCPG and GcGAT, a new approach for automated vulnerability detection in functions based on graph classification.
Findings
Achieved over 95% F1 score on multiple vulnerability datasets.
Effectively distinguishes vulnerable functions from non-vulnerable ones.
Reduces manual effort in software vulnerability detection.
Abstract
With the continuous extension of the Industrial Internet, cyber incidents caused by software vulnerabilities have been increasing in recent years. However, software vulnerabilities detection is still heavily relying on code review done by experts, and how to automatedly detect software vulnerabilities is an open problem so far. In this paper, we propose a novel solution named GraphEye to identify whether a function of C/C++ code has vulnerabilities, which can greatly alleviate the burden of code auditors. GraphEye is originated from the observation that the code property graph of a non-vulnerable function naturally differs from the code property graph of a vulnerable function with the same functionality. Hence, detecting vulnerable functions is attributed to the graph classification problem.GraphEye is comprised of VecCPG and GcGAT. VecCPG is a vectorization for the code property graph,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Reliability and Analysis Research · Software System Performance and Reliability
