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.
翻译:Uniswap与其他DEX公司一样,今年引起了人们的极大关注,因为这是一个非拘禁和可公开核查的交换,用户可以交易数字资产,而不受信任的第三方信任。然而,它的简单性和缺乏监管也使得通过列出不可估价的象征物来实施最初的硬币提供骗局变得容易。这种骗局的方法被称为地毯拉动,这是传统金融中已经存在的一种现象,但在DeFi中更加相关。各种项目,如[34,37],都有助于发现EVM兼容链中的地毯拉动。然而,发现和描述Uniswap上骗局标记的第一个纵向和学术步骤是[44]。作者们收集了所有与Uniswap V2交换有关的交易,并提出了一个机器学习算法,将标志标为骗局。然而,这种算法仅有助于在传统金融公司执行后准确发现骗局。这份文件以20K表示的模范重恢复了数据,并提出了一个新的方法,将SliesmilicalSyal的标值标值作为骗局。在手工分析数据后,我们设计了对Unswapalwapalalalalalalalalalalalalalalalalalalal ASal 和Saltravelaks regal 10 进行了一种不同的理论分类。我们设计了一种理论分类。我们建议,在Scialking 和Squalking disalking 。我们提出了一系列算算算算算算算算算算算算算。在Sir 。在Spraltaltaltaltaltaltaltalxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx。我们提议前用了比。我们提出各种不同的理论。我们提出了各种机器建议了比。我们提出各种不同的理论。我们提出了各种机器建议,在用的理论,在S。我们提出各种机器建议,在新算算算算算算算算算算