Do Not Rug on Me: Leveraging Machine Learning Techniques for Automated Scam Detection

被引:22
|
作者
Mazorra, Bruno [1 ]
Adan, Victor [2 ]
Daza, Vanesa [1 ]
机构
[1] Pompeu Fabra Univ, Dept Informat & Commun Technol, Tanger Bldg, Barcelona 08018, Spain
[2] Univ Barcelona, Fac Econ & Business, Barcelona 08034, Spain
关键词
ethereum; DeFi; DEX; scam detection;
D O I
10.3390/math10060949
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
Uniswap, as with other DEXs, has gained much attention this year because it is a non-custodial and publicly verifiable exchange that allows users to trade digital assets without trusted third parties. However, its simplicity and lack of regulation also make it easy to execute initial coin offering scams by listing non-valuable tokens. This method of performing scams is known as rug pull, a phenomenon that already exists in traditional finance but has become more relevant in DeFi. Various projects have contributed to detecting rug pulls in EVM compatible chains. However, the first longitudinal and academic step to detecting and characterizing scam tokens on Uniswap was made. The authors collected all the transactions related to the Uniswap V2 exchange and proposed a machine learning algorithm to label tokens as scams. However, the algorithm is only valuable for detecting scams accurately after they have been executed. This paper increases their dataset by 20K tokens and proposes a new methodology to label tokens as scams. After manually analyzing the data, we devised a theoretical classification of different malicious maneuvers in the Uniswap protocol. We propose various machine-learning-based algorithms with new, relevant features related to the token propagation and smart contract heuristics to detect potential rug pulls before they occur. In general, the models proposed achieved similar results. The best model obtained accuracy of 0.9936, recall of 0.9540, and precision of 0.9838 in distinguishing non-malicious tokens from scams prior to the malicious maneuver.
引用
收藏
页数:24
相关论文
共 50 条
  • [1] Machine Learning Techniques for Automated Melanoma Detection
    Vocaturo, Eugenio
    Perna, Diego
    Zumpano, Ester
    2019 IEEE INTERNATIONAL CONFERENCE ON BIOINFORMATICS AND BIOMEDICINE (BIBM), 2019, : 2310 - 2317
  • [2] Machine Learning Techniques for Automated and Early Detection of Brain Tumor
    Zamani, Abu Sarwar
    Deepa, S.
    Meenakshi
    Kaliyaperumal, Karthikeyan
    Bangare, Manoj L.
    Ritonga, Mahyudin
    INTERNATIONAL JOURNAL OF NEXT-GENERATION COMPUTING, 2022, 13 (03): : 412 - 420
  • [3] Automated Detection of COVID-19 in Chest Radiographs: Leveraging Machine Learning Approaches
    Batool, Raheela
    Raza, Ghulam Musa
    Khalid, Usman
    Kim, Byung-Seo
    IEIE Transactions on Smart Processing and Computing, 2024, 13 (06): : 572 - 578
  • [4] Machine Learning Techniques for the Detection of Shockable Rhythms in Automated External Defibrillators
    Figuera, Carlos
    Irusta, Unai
    Morgado, Eduardo
    Aramendi, Elisabete
    Ayala, Unai
    Wik, Lars
    Kramer-Johansen, Jo
    Eftestol, Trygve
    Alonso-Atienza, Felipe
    PLOS ONE, 2016, 11 (07):
  • [5] An Automated System for ECG Arrhythmia Detection Using Machine Learning Techniques
    Sraitih, Mohamed
    Jabrane, Younes
    Hajjam El Hassani, Amir
    JOURNAL OF CLINICAL MEDICINE, 2021, 10 (22)
  • [6] Automated detection of offshore wave power using machine learning techniques
    Aslan, Narin
    Koca, Gonca Ozmen
    Dogan, Sengul
    OCEAN ENGINEERING, 2022, 259
  • [7] Automated Detection of Polycystic Ovary Syndrome Using Machine Learning Techniques
    Abu Adla, Yasmine A.
    Raydan, Dalia G.
    Charaf, Mohammad-Zafer J.
    Saad, Roua A.
    Nasreddine, Jad
    Diab, Mohammad O.
    2021 SIXTH INTERNATIONAL CONFERENCE ON ADVANCES IN BIOMEDICAL ENGINEERING (ICABME), 2021, : 208 - 212
  • [8] Automated Detection of Retinopathy of Prematurity Using Quantum Machine Learning and Deep Learning Techniques
    Sankari, V. M. Raja
    Snekhalatha, U.
    Alasmari, Sultan
    Aslam, Shabnam Mohamed
    IEEE ACCESS, 2023, 11 : 94306 - 94321
  • [9] Breast cancer detection by leveraging Machine Learning
    Vaka, Anji Reddy
    Soni, Badal
    Reddy, Sudheer K.
    ICT EXPRESS, 2020, 6 (04): : 320 - 324
  • [10] An Android Malware Detection Leveraging Machine Learning
    Shatnawi, Ahmed S.
    Jaradat, Aya
    Yaseen, Tuqa Bani
    Taqieddin, Eyad
    Al-Ayyoub, Mahmoud
    Mustafa, Dheya
    WIRELESS COMMUNICATIONS & MOBILE COMPUTING, 2022, 2022