Software Weakness Detection in Solidity Smart Contracts Using Control and Data Flow Analysis: A Novel Approach with Graph Neural Networksopen access
- Authors
- Seo, Aria; Kim, Young-Tak; Yang, Ji Seok; Lee, YangSun; Son, Yunsik
- Issue Date
- Aug-2024
- Publisher
- MDPI AG
- Keywords
- control flow graph; data flow graph; graph neural network; smart contract security; Solidity weakness detection
- Citation
- Electronics, v.13, no.16, pp 1 - 19
- Pages
- 19
- Indexed
- SCIE
SCOPUS
- Journal Title
- Electronics
- Volume
- 13
- Number
- 16
- Start Page
- 1
- End Page
- 19
- URI
- https://scholarworks.dongguk.edu/handle/sw.dongguk/23037
- DOI
- 10.3390/electronics13163162
- ISSN
- 2079-9292
2079-9292
- Abstract
- Smart contracts on blockchain platforms are susceptible to security issues that can lead to significant financial losses. This study converts the Solidity code into abstract syntax trees and generates control flow graphs and data flow graphs. These graphs train a graph convolutional network model to detect security weaknesses. The proposed system outperforms traditional tools, achieving higher accuracy, recall, precision, and F1 scores when detecting weaknesses such as integer overflow/underflow, reentrancy, delegate call to the untrusted callee, and time-based issues. This study demonstrates that leveraging control and data flow analysis with graph neural networks significantly enhances smart contract security and provides a robust and reliable solution. © 2024 by the authors.
- Files in This Item
- There are no files associated with this item.
- Appears in
Collections - College of Advanced Convergence Engineering > Department of Computer Science and Artificial Intelligence > 1. Journal Articles

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.