Do not rug on me: Zero-dimensional Scam Detection

01/16/2022
by   Bruno Mazorra, et al.
0

Uniswap, like 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 makes 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 existed in traditional finance but has become more relevant in DeFi. Various projects such as [34,37] 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 in [44]. 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 data set 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 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 an 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.

READ FULL TEXT

page 10

page 20

research
12/06/2021

Detecting DeFi Securities Violations from Token Smart Contract Code with Random Forest Classification

Decentralized Finance (DeFi) is a system of financial products and servi...
research
09/01/2021

Demystifying Scam Tokens on Uniswap Decentralized Exchange

The prosperity of the cryptocurrency ecosystem drives the needs for digi...
research
09/09/2023

From Programming Bugs to Multimillion-Dollar Scams: An Analysis of Trapdoor Tokens on Decentralized Exchanges

We investigate in this work a recently emerging type of scam token calle...
research
03/04/2018

The ICO Phenomenon and Its Relationships with Ethereum Smart Contract Environment

Initial Coin Offerings (ICO) are public offers of new cryptocurrencies i...
research
02/12/2023

A Theoretical Understanding of shallow Vision Transformers: Learning, Generalization, and Sample Complexity

Vision Transformers (ViTs) with self-attention modules have recently ach...
research
09/14/2021

Wrapping trust for interoperability. A study of wrapped tokens

As known, blockchains are traditionally blind to the real world. This im...
research
02/13/2018

Substation Signal Matching with a Bagged Token Classifier

Currently, engineers at substation service providers match customer data...

Please sign up or login with your details

Forgot password? Click here to reset