Skip to main content
Top

Smart Contract Vulnerability Detection Using Combined Sequence and Graph Features from Source Code

  • 2026
  • OriginalPaper
  • Chapter
Published in:

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Smart contracts, while driving innovation in the digital economy, are susceptible to vulnerabilities that can lead to significant security risks. Traditional detection methods like symbolic execution and fuzz testing are often labor-intensive and inefficient. This paper proposes SGF, a framework that leverages the complementary strengths of sequence and graph representations extracted from source code. The framework employs BiLSTM networks to capture semantic information from token sequences and Relational Graph Convolutional Networks (RGCN) to analyze the code graph structure. Additionally, it introduces Local Graph Transformer (LGT) and Global Graph Transformer (GGT) modules to enhance the modeling of long-range dependencies. Experimental results demonstrate that SGF outperforms existing single-modality methods, achieving superior performance in detecting arithmetic and reentrancy vulnerabilities. The ablation study confirms the effectiveness of each component, highlighting the importance of sequence features and the LGT module for arithmetic vulnerability and access control, while the GGT module is more pronounced for reentrancy and unchecked low calls. The robust results from 10-fold cross-validation confirm the reliability of these findings and the efficacy of the proposed method.
G. Zhao and K. Zheng—are co-corresponding authors and contribute equally to this work.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Business + Economics & Engineering + Technology"

Online-Abonnement

Springer Professional "Business + Economics & Engineering + Technology" gives you access to:

  • more than 102.000 books
  • more than 537 journals

from the following subject areas:

  • Automotive
  • Construction + Real Estate
  • Business IT + Informatics
  • Electrical Engineering + Electronics
  • Energy + Sustainability
  • Finance + Banking
  • Management + Leadership
  • Marketing + Sales
  • Mechanical Engineering + Materials
  • Insurance + Risk


Secure your knowledge advantage now!

Springer Professional "Engineering + Technology"

Online-Abonnement

Springer Professional "Engineering + Technology" gives you access to:

  • more than 67.000 books
  • more than 390 journals

from the following specialised fileds:

  • Automotive
  • Business IT + Informatics
  • Construction + Real Estate
  • Electrical Engineering + Electronics
  • Energy + Sustainability
  • Mechanical Engineering + Materials





 

Secure your knowledge advantage now!

Springer Professional "Business + Economics"

Online-Abonnement

Springer Professional "Business + Economics" gives you access to:

  • more than 67.000 books
  • more than 340 journals

from the following specialised fileds:

  • Construction + Real Estate
  • Business IT + Informatics
  • Finance + Banking
  • Management + Leadership
  • Marketing + Sales
  • Insurance + Risk



Secure your knowledge advantage now!

Title
Smart Contract Vulnerability Detection Using Combined Sequence and Graph Features from Source Code
Authors
Jinghui Fang
Zhihao Hou
Gansen Zhao
Kai Zheng
Copyright Year
2026
Publisher
Springer Nature Singapore
DOI
https://doi.org/10.1007/978-981-95-4142-3_2
This content is only visible if you are logged in and have the appropriate permissions.

Premium Partner

    Image Credits
    Neuer Inhalt/© ITandMEDIA, Nagarro GmbH/© Nagarro GmbH, AvePoint Deutschland GmbH/© AvePoint Deutschland GmbH, AFB Gemeinnützige GmbH/© AFB Gemeinnützige GmbH, USU GmbH/© USU GmbH, Ferrari electronic AG/© Ferrari electronic AG