PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 23, 2026Blockchain Research and Applications0 citationsOpen Access

TriFortis: Fortifying Erroneous Control Flow Vulnerability Detection in Smart Contracts with Multimodal Deep Learning

View Full Paper
HPHongli PengWLWenkai LiCZChunyi Zhang

Key Points

  • The aim is to enhance the detection of control flow vulnerabilities in smart contracts using a multimodal deep learning approach.
  • Developed TriFortis, integrating control flow graphs, abstract syntax trees, and code comments.
  • Processed diverse features with specialized neural networks to create detailed representations of contracts.
  • Evaluated the approach on datasets containing thousands of smart contracts with various vulnerabilities.
  • Achieved a 98.45% F1-score for detecting erroneous control flow vulnerabilities.
  • Outperformed traditional detection tools significantly.
  • Demonstrated a 9 percentage point improvement in code clone detection rates.
  • Achieved average computational efficiency gains of 35.1 seconds.

Abstract

Smart contracts on blockchain platforms have revolutionized digital transactions, but remain vulnerable to security flaws that can result in significant financial losses. Traditional detection tools often rely on single-source analysis, which limits their accuracy and ability to identify emerging vulnerabilities. This study introduces a novel multimodal deep learning approach, TriFortis, for detecting control flow vulnerabilities in smart contracts. TriFortis integrates three distinct information sources, including the control flow graphs (CFGs), abstract syntax trees (ASTs), and code comments. Specifically, CFGs are derived from compiled bytecode to capture program execution paths, ASTs are from source code to preserve structural information, and code comments are used to extract semantic context. These features are processed through specialized neural networks and combined to create comprehensive contract representations. TriFortis is evaluated on multiple datasets containing thousands of smart contracts with various vulnerability types, including reentrancy attacks, access control flaws, and unchecked external calls. Experimental results demonstrate that the multimodal method achieves a 98.45% F1-score in the detection of the erroneous control flow vulnerabilities, significantly outperforming existing tools. Furthermore, TriFortis exhibits superior performance in code clone detection, yielding a 9 percentage point improvement in detection rate while achieving computational efficiency gains of 35.1 seconds on average.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Peng et al. (2026) studied this question.

synapsesocial.com/papers/69c0ddb8fddb9876e79c11cchttps://doi.org/10.1016/j.bcra.2026.100478
Ask AI
Helpful
Bookmark
Share
View Full Paper