Software Weakness Detection in Solidity Smart Contracts Using Control and Data Flow Analysis: A Novel Approach with Graph Neural Networks
  • Seo, Aria
  • Kim, Young-Tak
  • Yang, Ji Seok
  • Lee, YangSun
  • Son, Yunsik
Citations

WEB OF SCIENCE

1
Citations

SCOPUS

2

초록

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.

키워드

control flow graphdata flow graphgraph neural networksmart contract securitySolidity weakness detection
제목
Software Weakness Detection in Solidity Smart Contracts Using Control and Data Flow Analysis: A Novel Approach with Graph Neural Networks
저자
Seo, AriaKim, Young-TakYang, Ji SeokLee, YangSunSon, Yunsik
DOI
10.3390/electronics13163162
발행일
2024-08
유형
Article
저널명
Electronics
13
16
페이지
1 ~ 19