Journal of Digital Market and Digital Currency
Vol. 3 No. 4 (2026): Regular Issue: December 2026

Explainable Detection of Proxy Smart Contracts Using Ensemble Learning and SHAP Analysis

Iis Setiawan (Doctorate Program of Computer Science, Universitas Kristen Satya Wacana, Central Java, Indonesia)
Annastasya Nabila Elsa Wulandari (Department of Informatics, Harapan Bangsa University, Indonesia)



Article Info

Publish Date
17 Nov 2026

Abstract

Proxy smart contracts have become a fundamental component of modern blockchain applications because they enable contract upgradeability without changing deployed contract addresses. However, identifying proxy contracts manually is challenging due to the complexity of Solidity source code and the diversity of proxy implementation standards. This study proposes an explainable ensemble learning framework for detecting proxy smart contracts using Solidity source code analysis. The proposed approach employs Term Frequency–Inverse Document Frequency (TF-IDF) to extract textual features from smart contract source code and evaluates three ensemble learning models, namely Random Forest, XGBoost, and LightGBM. Furthermore, SHapley Additive exPlanations (SHAP) is utilized to improve model interpretability and identify the most influential features contributing to proxy contract detection. Experiments were conducted on a dataset containing 691 Ethereum smart contracts, including 23 proxy contracts and 668 non-proxy contracts. The results show that Random Forest achieved the best overall performance with an accuracy of 98.56%, an F1-score of 0.800, and a ROC-AUC of 0.999. SHAP analysis revealed that features related to upgradeable smart contract architectures, such as the beacon, ibeacon, erc1967proxy, and implementation, were the most significant indicators of proxy contract behavior. The findings demonstrate that the proposed framework can effectively detect proxy smart contracts while providing interpretable insights into the architectural patterns underlying upgradeable blockchain applications.

Copyrights © 2026






Journal Info

Abbrev

JDMDC

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Economics, Econometrics & Finance

Description

Journal of Digital Market and Digital Currency publishes high-quality research on: Digital Marketing Digital Currencies Cryptocurrency Trends Blockchain Applications Fintech Innovations Our goal is to provide a platform for researchers, practitioners, and policymakers to share innovative findings, ...