JOURNAL ARTICLE

SCVHunter: Smart Contract Vulnerability Detection Based on Heterogeneous Graph Attention Network

Abstract

Smart contracts are integral to blockchain's growth, but their vulnerabilities pose a significant threat. Traditional vulnerability detection methods rely heavily on expert-defined complex rules that are labor-intensive and dificult to adapt to the explosive expansion of smart contracts. Some recent studies of neural network-based vulnerability detection also have room for improvement. Therefore, we propose SCVHunter, an extensible framework for smart contract vulnerability detection. Specifically, SCVHunter designs a heterogeneous semantic graph construction phase based on intermediate representations and a vulnerability detection phase based on a heterogeneous graph attention network for smart contracts. In particular, SCVHunter allows users to freely point out more important nodes in the graph, leveraging expert knowledge in a simpler way to aid the automatic capture of more information related to vulnerabilities. We tested SCVHunter on reentrancy, block info dependency, nested call, and transaction state dependency vulnerabilities. Results show remarkable performance, with accuracies of 93.72%, 91.07%, 85.41%, and 87.37% for these vulnerabilities, surpassing previous methods.

Keywords:
Computer science Vulnerability (computing) Dependency graph Dependency (UML) Vulnerability assessment Database transaction Graph Smart contract Computer security Extensibility Artificial intelligence Theoretical computer science Database Programming language

Metrics

31
Cited By
47.36
FWCI (Field Weighted Citation Impact)
59
Refs
1.00
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Blockchain Technology Applications and Security
Physical Sciences →  Computer Science →  Information Systems
Cybercrime and Law Enforcement Studies
Physical Sciences →  Computer Science →  Information Systems
Crime, Illicit Activities, and Governance
Social Sciences →  Social Sciences →  Sociology and Political Science

Related Documents

BOOK-CHAPTER

Smart Contract Vulnerability Detection Based on Dual Attention Graph Convolutional Network

Yuqi FanSiyuan ShangXu Ding

Lecture notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering Year: 2021 Pages: 335-351
JOURNAL ARTICLE

HGAT: smart contract vulnerability detection method based on hierarchical graph attention network

Chuang MaShuaiwu LiuGuangxia Xu

Journal:   Journal of Cloud Computing Advances Systems and Applications Year: 2023 Vol: 12 (1)
© 2026 ScienceGate Book Chapters — All rights reserved.