A Triplet-Learning-Based Framework for Cross-Version Smart Contract Vulnerability Detection

As security concerns in blockchain platforms continue to rise, triggered by substantial financial losses, detecting vulnerabilities in smart contracts has emerged as a crucial focus for both academia and industry. Although many promising vulnerability detection methods for Ethereum have been proposed in recent years, their long-term reliability and adaptability across different versions of smart contracts remain unresolved. Specifically, the performance of these methods tends to degrade over time, and in some cases, they may even fail entirely. A key factor contributing to this dilemma is the regular updates of Solidity versions. These updates often introduce new features or syntax changes, which significantly influence how vulnerabilities are manifested and detected. To tackle this challenge, we propose Triplet Detection (TD), a triplet learning-based vulnerabilities detection framework, to preserve invariant vulnerability knowledge across multiple Solidity versions. In TD, we propose a novel Smart Offline Mining (SOM) strategy to guide triplet selection, ensuring the learned embedding capture both foundational and version-independent vulnerability features. The experimental results demonstrate that TD outperforms state-of-the-art vulnerability detection tools and baseline methods. Furthermore, TD achieves superior performance in detecting vulnerabilities across different versions of smart contracts (e.g., from v0.4 to v0.8), highlighting its capability to tackle the challenges of long-term reliability and adaptability in detection models due to the updates of smart contract versions.

Authors

Institutions

Publication Details

Journal
IEEE Internet of Things Journal
Published
2025-09-30
DOI
https://doi.org/10.1109/jiot.2025.3615991
Primary Topic
Insurance and Financial Risk Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Triplet-Learning-Based Framework for Cross-Version Smart Contract Vulnerability Detection

Huijuan Zhu, Chang Li, Qiang Zhou, Shiyu Gan et al.
IEEE Internet of Things Journal
Insurance and Financial Risk Management
article

A Triplet-Learning-Based Framework for Cross-Version Smart Contract Vulnerability Detection

Huijuan Zhu, Chang Li, Qiang Zhou, Shiyu Gan, Xia Feng
article en

Abstract

As security concerns in blockchain platforms continue to rise, triggered by substantial financial losses, detecting vulnerabilities in smart contracts has emerged as a crucial focus for both academia and industry. Although many promising vulnerability detection methods for Ethereum have been proposed in recent years, their long-term reliability and adaptability across different versions of smart contracts remain unresolved. Specifically, the performance of these methods tends to degrade over time, and in some cases, they may even fail entirely. A key factor contributing to this dilemma is the regular updates of Solidity versions. These updates often introduce new features or syntax changes, which significantly influence how vulnerabilities are manifested and detected. To tackle this challenge, we propose Triplet Detection (TD), a triplet learning-based vulnerabilities detection framework, to preserve invariant vulnerability knowledge across multiple Solidity versions. In TD, we propose a novel Smart Offline Mining (SOM) strategy to guide triplet selection, ensuring the learned embedding capture both foundational and version-independent vulnerability features. The experimental results demonstrate that TD outperforms state-of-the-art vulnerability detection tools and baseline methods. Furthermore, TD achieves superior performance in detecting vulnerabilities across different versions of smart contracts (e.g., from v0.4 to v0.8), highlighting its capability to tackle the challenges of long-term reliability and adaptability in detection models due to the updates of smart contract versions.

IEEE Internet of Things JournalVol. 12(23)
Jiangsu University (CN), Shanghai Normal University (CN), City University of Macau (MO)
Openalex Percentile: Top 65%
Insurance and Financial Risk Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.