Smart Contract Vulnerability Detection Using Graph Neural Network
Abstract
The security problems of smart contracts have drawn extensive attention due to the enormous financial losses caused by vulnerabilities. Existing methods on smart contract vulnerability detection heavily rely on fixed expert rules, leading to low detection accuracy. In this paper, we explore using graph neural networks (GNNs) for smart contract vulnerability detection. Particularly, we construct a contract graph to represent both syntactic and semantic structures of a smart contract function. To highlight the major nodes, we design an elimination phase to normalize the graph. Then, we propose a degree-free graph convolutional neural network (DR-GCN) and a novel temporal message propagation network (TMP) to learn from the normalized graphs for vulnerability detection. Extensive experiments show that our proposed approach significantly outperforms state-of-the-art methods in detecting three different types of vulnerabilities.
Cite
Text
Zhuang et al. "Smart Contract Vulnerability Detection Using Graph Neural Network." International Joint Conference on Artificial Intelligence, 2020. doi:10.24963/IJCAI.2020/454Markdown
[Zhuang et al. "Smart Contract Vulnerability Detection Using Graph Neural Network." International Joint Conference on Artificial Intelligence, 2020.](https://mlanthology.org/ijcai/2020/zhuang2020ijcai-smart/) doi:10.24963/IJCAI.2020/454BibTeX
@inproceedings{zhuang2020ijcai-smart,
title = {{Smart Contract Vulnerability Detection Using Graph Neural Network}},
author = {Zhuang, Yuan and Liu, Zhenguang and Qian, Peng and Liu, Qi and Wang, Xiang and He, Qinming},
booktitle = {International Joint Conference on Artificial Intelligence},
year = {2020},
pages = {3283-3290},
doi = {10.24963/IJCAI.2020/454},
url = {https://mlanthology.org/ijcai/2020/zhuang2020ijcai-smart/}
}