IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2201.07220.html
   My bibliography  Save this paper

Do not rug on me: Zero-dimensional Scam Detection

Author

Listed:
  • Bruno Mazorra
  • Victor Adan
  • Vanesa Daza

Abstract

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.

Suggested Citation

  • Bruno Mazorra & Victor Adan & Vanesa Daza, 2022. "Do not rug on me: Zero-dimensional Scam Detection," Papers 2201.07220, arXiv.org.
  • Handle: RePEc:arx:papers:2201.07220
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2201.07220
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Van Vliet, Ben, 2018. "An alternative model of Metcalfe’s Law for valuing Bitcoin," Economics Letters, Elsevier, vol. 165(C), pages 70-72.
    2. Sam M. Werner & Daniel Perez & Lewis Gudgeon & Ariah Klages-Mundt & Dominik Harz & William J. Knottenbelt, 2021. "SoK: Decentralized Finance (DeFi)," Papers 2101.08778, arXiv.org, revised Sep 2022.
    3. Andreas A. Aigner & Gurvinder Dhaliwal, 2021. "UNISWAP: Impermanent Loss and Risk Profile of a Liquidity Provider," Papers 2106.14404, arXiv.org.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Vasily Tolstikov, 2024. "Concentrated Superelliptical Market Maker," Papers 2410.13265, arXiv.org.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Bruno Mazorra & Victor Adan & Vanesa Daza, 2022. "Do Not Rug on Me: Leveraging Machine Learning Techniques for Automated Scam Detection," Mathematics, MDPI, vol. 10(6), pages 1-24, March.
    2. Christie Smith & Aaron Kumar, 2018. "Crypto‐Currencies – An Introduction To Not‐So‐Funny Moneys," Journal of Economic Surveys, Wiley Blackwell, vol. 32(5), pages 1531-1559, December.
    3. Jiahua Xu & Nikhil Vadgama, 2021. "From banks to DeFi: the evolution of the lending market," Papers 2104.00970, arXiv.org, revised Dec 2022.
    4. Kajtazi, Anton & Moro, Andrea, 2019. "The role of bitcoin in well diversified portfolios: A comparative global study," International Review of Financial Analysis, Elsevier, vol. 61(C), pages 143-157.
    5. Andrey Urusov & Rostislav Berezovskiy & Yury Yanovich, 2024. "Backtesting Framework for Concentrated Liquidity Market Makers on Uniswap V3 Decentralized Exchange," Papers 2410.09983, arXiv.org.
    6. Flori, Andrea, 2019. "News and subjective beliefs: A Bayesian approach to Bitcoin investments," Research in International Business and Finance, Elsevier, vol. 50(C), pages 336-356.
    7. Castro-Iragorri, C & Ramírez, J & Vélez, S, 2021. "Financial intermediation and risk in decentralized lending protocols," Documentos de Trabajo 19420, Universidad del Rosario.
    8. Şoiman, Florentina & Dumas, Jean-Guillaume & Jimenez-Garces, Sonia, 2023. "What drives DeFi market returns?," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 85(C).
    9. Canh, Nguyen Phuc & Wongchoti, Udomsak & Thanh, Su Dinh & Thong, Nguyen Trung, 2019. "Systematic risk in cryptocurrency market: Evidence from DCC-MGARCH model," Finance Research Letters, Elsevier, vol. 29(C), pages 90-100.
    10. Bennett, Donyetta & Mekelburg, Erik & Williams, T.H., 2023. "BeFi meets DeFi: A behavioral finance approach to decentralized finance asset pricing," Research in International Business and Finance, Elsevier, vol. 65(C).
    11. Koch, Sophia & Dimpfl, Thomas, 2023. "Attention and retail investor herding in cryptocurrency markets," Finance Research Letters, Elsevier, vol. 51(C).
    12. Kensuke Ito, 2024. "Cryptoeconomics and Tokenomics as Economics: A Survey with Opinions," Papers 2407.15715, arXiv.org.
    13. Aysan, Ahmet Faruk & Caporin, Massimiliano & Cepni, Oguzhan, 2024. "Not all words are equal: Sentiment and jumps in the cryptocurrency market," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 91(C).
    14. Matthias Hafner & Helmut Dietl, 2024. "Impermanent Loss Conditions: An Analysis of Decentralized Exchange Platforms," Papers 2401.07689, arXiv.org, revised Feb 2024.
    15. Yang, Tongbin & Zhou, Bo, 2024. "Local FinTech development, industrial structure, and north-south economic disparity in China," International Review of Financial Analysis, Elsevier, vol. 93(C).
    16. Niccol`o Bardoscia & Alessandro Nodari, 2023. "Liquidity Providers Greeks and Impermanent Gain," Papers 2302.11942, arXiv.org, revised Mar 2023.
    17. Yixin Cao & Chuanwei Zou & Xianfeng Cheng, 2021. "Flashot: A Snapshot of Flash Loan Attack on DeFi Ecosystem," Papers 2102.00626, arXiv.org.
    18. Carlos Castro-Iragorri & Julian Ramirez & Sebastian Velez, 2021. "Financial intermediation and risk in decentralized lending protocols," Papers 2107.14678, arXiv.org.
    19. Arturas Sabalionis & Wenbo Wang & Hail Park, 2021. "What affects the price movements in Bitcoin and Ethereum?," Manchester School, University of Manchester, vol. 89(1), pages 102-127, January.
    20. Bertomeu, Jeremy & Martin, Xiumin & Sall, Ibrahima, 2024. "Measuring DeFi risk," Finance Research Letters, Elsevier, vol. 63(C).

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2201.07220. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.