Skip to content
Open access

Hybrid Feature Engineering and Explainable Ensemble Learning for Ethereum Smart Contract Vulnerability Detection

Aug 2026 · Journal of Current Research in Blockchain · 0 citations

TL;DR

The findings indicate that hybrid feature engineering combined with explainable ensemble learning provides an effective and lightweight solution for Ethereum smart contract vulnerability detection and blockchain security analysis.

Abstract

Ethereum smart contracts have become a fundamental component of decentralized blockchain applications. However, vulnerabilities in Solidity smart contracts can lead to severe financial losses and security risks. Traditional vulnerability detection approaches often rely on opcode analysis or deep learning architectures with limited interpretability and high computational complexity. This study proposes a hybrid feature engineering and explainable ensemble learning framework for Ethereum smart contract vulnerability detection. The proposed framework integrates lexical TF-IDF features, structural software metrics, security-oriented execution patterns, and metadata attributes extracted from Solidity source code. A dataset containing 691 Ethereum smart contracts was utilized, consisting of 358 non-vulnerable and 333 vulnerable contracts generated through rule-assisted vulnerability annotation. Ensemble learning models including Random Forest, XGBoost, and LightGBM were evaluated to classify vulnerable and non-vulnerable smart contracts. Experimental results demonstrate that the proposed framework achieved an accuracy of 98.56%, precision of 98.51%, recall of 98.51%, and F1-score of 98.51%. In addition, SHAP explainability analysis revealed that execution-related Solidity operations such as success, gas, call, and staticcall significantly influence vulnerability prediction outcomes. Compared with previous CNN-based, LSTM-based, and opcode-based approaches, the proposed framework achieved superior classification performance while additionally providing interpretable security analysis. The findings indicate that hybrid feature engineering combined with explainable ensemble learning provides an effective and lightweight solution for Ethereum smart contract vulnerability detection and blockchain security analysis.

Read PDF

Similar papers

Open access Aug 2026

Explainable Machine Learning for Smart Contract Vulnerability Detection in Ethereum Blockchain

Smart contracts play an important role in Ethereum blockchain systems by enabling decentralized and automated transactions without intermediaries. However, vulnerabilities in Solidity smart contracts remain a major security issue because attackers can exploit coding weaknesses such as reentrancy attacks, unsafe externa...

SR Vasantakumaren · 0 citations
Open access Aug 2026

Towards Trustworthy Smart Contract Security: Explainable Multi-Class Vulnerability Detection Using Machine Learning

Smart contracts have become a fundamental component of blockchain ecosystems, enabling decentralized applications and automated transactions without intermediaries. However, vulnerabilities in smart contracts can lead to severe financial losses and security breaches, highlighting the need for effective automated vulner...

Musbah J. Aqel · 0 citations
Open access Sep 2026

Comparative evaluation of active learning, random sampling, and deep learning for smart contract vulnerability detection

Smart contracts are widely used to automate blockchain-based transactions and decentralised services, but vulnerabilities in their code can expose users and systems to financial loss, service disruption, and security compromise. Detecting vulnerable smart contracts remains challenging because reliable labelling oft...

G. A. Sampedro, Yan-Hui Cheng, Arlene R. Caballero et al. · 0 citations
Conference Aug 2026

Automated Smart Contract Vulnerability Detection using Hybrid Deep Learning and Language Models

With the emergence of block chain and smart contracts, security of the smart contract at any stage of its use is very relevant to prevent risks of finance and operations. The automated methods of finding vulnerabilities in smart contracts give a dependable and scalable solution. In this research, we employ the annotate...

Koyyati Rajini, SwapnaSiddamsetti · 0 citations
Aug 2026

Smart contract vulnerability detection using opcode sequences with variable length

A novel neural network model is proposed that accommodates variable-length input sequences and advances the state-of-the-art by enabling truncation-free processing of long sequences, demonstrating superior performance over baselines reliant on fixed inputs.

Peiqian Li, Guojun Wang, Xuelei Liu et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.