Blockchain technology is revolutionizing digital asset exchange by eliminating the need for central authority control. However, the decentralized nature of blockchain attracts malicious actors, leading to the proliferation of financial scams, with Ponzi schemes being particularly prevalent. Consequently, there is a growing need to develop automatic detection mechanisms for such scams. So far, the problem has been tackled by considering only classifier performances and paying little attention to explaining and interpreting the results. However, interpretability and explainability are crucial when classifier decisions may have economic consequences. This paper introduces X-SPIDE (XAI Smart Ponzi Identification and Detection), an explainable machine learning pipeline for Ponzi scheme detection within Ethererum blockchain that aims to find the trade-off between performance and explainability. X-SPIDE allows comparing the results of different classifiers; computing a small set of features providing good performance; and understanding how such features contribute to classification, highlighting specific characteristics of malicious contracts. Moreover, we introduce and make publicly available a new comprehensive dataset comprising 7446 smart contracts, incorporating features derived from transaction history, creation, and deployment bytecodes to train and test our pipeline.

X-SPIDE: an eXplainable machine learning pipeline for detecting smart Ponzi contracts in ethereum

Pinelli Fabio;Galletta Letterio
2025-01-01

Abstract

Blockchain technology is revolutionizing digital asset exchange by eliminating the need for central authority control. However, the decentralized nature of blockchain attracts malicious actors, leading to the proliferation of financial scams, with Ponzi schemes being particularly prevalent. Consequently, there is a growing need to develop automatic detection mechanisms for such scams. So far, the problem has been tackled by considering only classifier performances and paying little attention to explaining and interpreting the results. However, interpretability and explainability are crucial when classifier decisions may have economic consequences. This paper introduces X-SPIDE (XAI Smart Ponzi Identification and Detection), an explainable machine learning pipeline for Ponzi scheme detection within Ethererum blockchain that aims to find the trade-off between performance and explainability. X-SPIDE allows comparing the results of different classifiers; computing a small set of features providing good performance; and understanding how such features contribute to classification, highlighting specific characteristics of malicious contracts. Moreover, we introduce and make publicly available a new comprehensive dataset comprising 7446 smart contracts, incorporating features derived from transaction history, creation, and deployment bytecodes to train and test our pipeline.
2025
Anomaly Detection
Blockchain
Code features
eXplainable AI
Fraud Detection
File in questo prodotto:
File Dimensione Formato  
X-SPIDE_An_eXplainable_Machine_Learning_Pipeline_for_Detecting_Smart_Ponzi_Contracts_in_Ethereum.pdf

accesso aperto

Descrizione: X-SPIDE: An eXplainable Machine Learning Pipeline for Detecting Smart Ponzi Contracts in Ethereum
Tipologia: Versione Editoriale (PDF)
Licenza: Creative commons
Dimensione 2.75 MB
Formato Adobe PDF
2.75 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.11771/34579
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
social impact