Deteksi Anomali Jaringan Transaksi Token ERC20 di Blockchain Ethereum Menggunakan Graph Neural Network

Authors

  • Nazhif Alaudin Fahmi Universitas Pembangunan Nasional Veteran Yogyakarta image/svg+xml
  • Andrey Ferriyan Universitas Pembangunan Nasional Veteran Yogyakarta image/svg+xml

DOI:

https://doi.org/10.14421/jiska.6065

Keywords:

Anomaly Detection, Blockchain, ERC20, Graph Neural Network, GraphSAGE

Abstract

The rapid development of Decentralized Finance (DeFi) on the Ethereum blockchain has increased ERC20 token transaction volumes but also triggered a surge in anomalous activities such as Ice Phishing, NFT Scams, and Reward Scams. Conventional detection methods on tabular data often fail to capture complex relational patterns between accounts. This study proposes a Graph Neural Network (GNN) approach using the GraphSAGE architecture to detect anomalies in ERC20 transaction networks. Transaction datasets were acquired from Etherscan, processed into graphs with additional structural features (PageRank, degree), and imbalance was handled using class weighting. Based on testing using 33,848 transactions, the model yielded an average accuracy of 95.92% and a macro F1-score of 82.62%. These results prove that GraphSAGE is effective in learning feature representations and graph structures to detect various ERC20 fraud modes simultaneously.

References

Azad, P., Coskunuzer, B., Kantarcioglu, M., & Akcora, C. G. (2025). Chainlet Orbits: Topological Address Embedding for Blockchain. Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1, 25–36. https://doi.org/10.1145/3690624.3709322

Bahtiar, A., Hutomo, M. I. P., Widiyanto, A., & Khomsah, S. (2025). Class Weighting Approach for Handling Imbalanced Data on Forest Fire Classification Using EfficientNet-B1. JISKA (Jurnal Informatika Sunan Kalijaga), 10(1), 63–73. https://doi.org/10.14421/jiska.2025.10.1.63-73

Chen, Z., Liu, S.-Z., Huang, J., Xiu, Y.-H., Zhang, H., & Long, H.-X. (2024). Ethereum Phishing Scam Detection Based on Data Augmentation Method and Hybrid Graph Neural Network Model. Sensors, 24(12), Article ID: 4022. https://doi.org/10.3390/s24124022

Du, H., Che, Z., Shen, M., Zhu, L., & Hu, J. (2024). Breaking the Anonymity of Ethereum Mixing Services Using Graph Feature Learning. IEEE Transactions on Information Forensics and Security, 19, 616–631. https://doi.org/10.1109/TIFS.2023.3326984

Dyson, S. F., Buchanan, W. J., & Bell, L. (2020). Scenario-Based Creation and Digital Investigation of Ethereum ERC20 Tokens. Forensic Science International: Digital Investigation, 32, Article ID: 200894. https://doi.org/10.1016/j.fsidi.2019.200894

He, H., & Garcia, E. A. (2009). Learning from Imbalanced Data. IEEE Transactions on Knowledge and Data Engineering, 21(9), 1263–1284. https://doi.org/10.1109/TKDE.2008.239

Han, B., Wei, Y., Wang, Q., Collibus, F. M. De, & Tessone, C. J. (2024). MT^2AD: Multi-Layer Temporal Transaction Anomaly Detection in Ethereum Networks with GNN. Complex & Intelligent Systems, 10(1), 613–626. https://doi.org/10.1007/s40747-023-01126-z

Hemis, M., Kheddar, H., Ghanem, M. C., & Boudraa, B. (2025). Hierarchical Graph Neural Network for Compressed Speech Steganalysis. Array, 28, Article ID: 100510. https://doi.org/10.1016/j.array.2025.100510

Huang, H., Zhang, X., Wang, J., Gao, C., Li, X., Zhu, R., & Ma, Q. (2024). PEAE-GNN: Phishing Detection on Ethereum via Augmentation Ego-Graph Based on Graph Neural Network. IEEE Transactions on Computational Social Systems, 11(3), 4326–4339. https://doi.org/10.1109/TCSS.2023.3349071

Jeong, J., & Yoon, J. W. (2025). GNN-based Detection of Malicious Transactions in Ethereum Networks: Leveraging Tornado Cash Transaction Patterns. Proceedings of the 7th ACM International Symposium on Blockchain and Secure Critical Infrastructure, 1–8. https://doi.org/10.1145/3709016.3737795

Li, P., Xie, Y., Xu, X., Zhou, J., & Xuan, Q. (2022). Phishing Fraud Detection on Ethereum using Graph Neural Network. http://arxiv.org/abs/2204.08194

Li, S., Xu, F., Wang, R., & Zhong, S. (2021). Self-supervised Incremental Deep Graph Learning for Ethereum Phishing Scam Detection. http://arxiv.org/abs/2106.10176

Lubis, A. (2023). Implementation of PageRank Algorithm for Visualization and Weighting of Keyword Networks in Scientific Papers. Journal of Applied Data Sciences, 4(4), 382–391. https://doi.org/10.47738/jads.v4i4.138

Rahimian, R., Eskandari, S., & Clark, J. (2019). Resolving the Multiple Withdrawal Attack on ERC20 Tokens. http://arxiv.org/abs/1907.00903

Seo, M., Kim, J., You, M., Shin, S., & Kim, J. (2024). gShock: A GNN-Based Fingerprinting System for Permissioned Blockchain Networks Over Encrypted Channels. IEEE Access, 12, 146328–146342. https://doi.org/10.1109/ACCESS.2024.3469583

Seon, J., Lee, S., Sun, Y. G., Kim, S. H., Kim, D. I., & Kim, J. Y. (2023). GraphSAGE with Contrastive Encoder for Efficient Fault Diagnosis in Industrial IoT Systems. ICT Express, 9(6), 1226–1232. https://doi.org/10.1016/j.icte.2023.07.012

Wang, K., Wang, Q., & Boneh, D. (2022). ERC-20R and ERC-721R: Reversible Transactions on Ethereum. http://arxiv.org/abs/2208.00543

Wang, Z., Jin, H., Dai, W., Choo, K.-K. R., & Zou, D. (2021). Ethereum Smart Contract Security Research: Survey and Future Research Opportunities. Frontiers of Computer Science, 15(2), Article ID: 152802. https://doi.org/10.1007/s11704-020-9284-9

Wongoutong, C. (2024). The Impact of Neglecting Feature Scaling in K-Means Clustering. PLOS ONE, 19(12), Article ID: e0310839. https://doi.org/10.1371/journal.pone.0310839

Xiong, A., Tong, Y., Jiang, C., Guo, S., Shao, S., Huang, J., Wang, W., & Qi, B. (2024). Ethereum Phishing Detection Based on Graph Neural Networks. IET Blockchain, 4(3), 226–234. https://doi.org/10.1049/blc2.12031

Zhang, J., & Luo, Y. (2017). Degree Centrality, Betweenness Centrality, and Closeness Centrality in Social Network. 2017 2nd International Conference on Modelling, Simulation and Applied Mathematics (MSAM2017), 300–303. https://doi.org/10.2991/msam-17.2017.68

Zhang, Y., & Liu, D. (2022). Toward Vulnerability Detection for Ethereum Smart Contracts Using Graph-Matching Network. Future Internet, 14(11), Article ID: 326. https://doi.org/10.3390/fi14110326

Downloads

Published

2026-09-25

How to Cite

Deteksi Anomali Jaringan Transaksi Token ERC20 di Blockchain Ethereum Menggunakan Graph Neural Network. (2026). JISKA (Jurnal Informatika Sunan Kalijaga), 11(3), 339-349. https://doi.org/10.14421/jiska.6065

Similar Articles

51-57 of 57

You may also start an advanced similarity search for this article.