Search papers, labs, and topics across Lattice.
This paper tackles the rising threat of rug pull scams in the Ethereum-based decentralized finance ecosystem by developing a robust detection model that incorporates multi-dimensional behavioral and contractual features. By addressing limitations of traditional detection methods, the authors construct a comprehensive feature system and employ a Multi-Layer Perceptron (MLP) model enhanced with techniques like SMOTE oversampling and Focal Loss, achieving impressive accuracy and F1 scores. The resulting web-based detection system not only provides real-time risk assessments but also facilitates high-risk ranking and result export, significantly improving investor security in the DeFi space.
Rug pull scams can now be detected with over 92% accuracy, transforming how we protect investors in the volatile DeFi landscape.
As the blockchain and decentralized finance (DeFi) ecosystems continue to expand and mature, rug pull scams involving meme coins are occurring with increasing frequency, posing a threat to the security of investors'assets and the healthy development of the industry. Rug Pull scams are characterized by extremely low deployment costs, covert execution, rapid fund transfers, and high detection difficulty. Traditional manual reviews or fixed rules struggle to meet real-time early warning requirements, and existing detection methods generally suffer from issues such as a single feature dimension, inadequate handling of class imbalance, and weak model generalization and interpretability. To address these shortcomings, this paper focuses on the detection of Ethereum-based rug pull scams. First, we clarify their definitions, types, and harm mechanisms, and construct a multi-dimensional feature system based on dimensions such as malicious smart contract design, on-chain transaction anomalies, liquidity manipulation, and social media disclosures. Next, using the"Second Uncle Coin"(token symbol: BOBU) case as an example, we reconstruct the attack process and derive quantitative detection metrics. Subsequently, a risk detection model based on a Multi-Layer Perceptron (MLP) is designed. We employ a combined strategy of SMOTE oversampling and Focal Loss to address the issue of sample imbalance, dynamically search for optimal thresholds to balance precision and recall, and incorporate gradient pruning and early stopping to enhance training stability. Experiments show that the model achieves an accuracy of 0.927, an F1 score of 0.787, and an AUC-ROC of 0.952 on the test set, outperforming traditional methods. Finally, a visualizable web-based detection system is developed using the Flask framework, enabling batch risk assessment, high-risk ranking display, and result export functions.