English

Scam Detection for Ethereum Smart Contracts: Leveraging Graph Representation Learning for Secure Blockchain

Machine Learning 2025-03-20 v5 Artificial Intelligence Cryptography and Security Distributed, Parallel, and Cluster Computing Social and Information Networks

Abstract

As more and more attacks have been detected on Ethereum smart contracts, it has seriously affected finance and credibility. Current anti-fraud detection techniques, including code parsing or manual feature extraction, still have some shortcomings, although some generalization or adaptability can be obtained. In the face of this situation, this paper proposes to use graphical representation learning technology to find transaction patterns and distinguish malicious transaction contracts, that is, to represent Ethereum transaction data as graphs, and then use advanced ML technology to obtain reliable and accurate results. Taking into account the sample imbalance, we treated with SMOTE-ENN and tested several models, in which MLP performed better than GCN, but the exact effect depends on its field trials. Our research opens up more possibilities for trust and security in the Ethereum ecosystem.

Keywords

Cite

@article{arxiv.2412.12370,
  title  = {Scam Detection for Ethereum Smart Contracts: Leveraging Graph Representation Learning for Secure Blockchain},
  author = {Yihong Jin and Ze Yang and Xinhe Xu},
  journal= {arXiv preprint arXiv:2412.12370},
  year   = {2025}
}

Comments

Accepted to ISCAIT 2025

R2 v1 2026-06-28T20:37:58.800Z