SourceP: Smart Ponzi Schemes Detection on Ethereum Using Pre-training Model with Data Flow

06/02/2023
by   Pengcheng Lu, et al.
0

As blockchain technology becomes more and more popular, a typical financial scam, the Ponzi scheme, has also emerged in the blockchain platform Ethereum. This Ponzi scheme deployed through smart contracts, also known as the smart Ponzi scheme, has caused a lot of economic losses and negative impacts. Existing methods for detecting smart Ponzi schemes on Ethereum mainly rely on bytecode features, opcode features, account features, and transaction behavior features of smart contracts, and such methods lack interpretability and sustainability. In this paper, we propose SourceP, a method to detect smart Ponzi schemes on the Ethereum platform using pre-training models and data flow, which only requires using the source code of smart contracts as features to explore the possibility of detecting smart Ponzi schemes from another direction. SourceP reduces the difficulty of data acquisition and feature extraction of existing detection methods while increasing the interpretability of the model. Specifically, we first convert the source code of a smart contract into a data flow graph and then introduce a pre-training model based on learning code representations to build a classification model to identify Ponzi schemes in smart contracts. The experimental results show that SourceP achieves 87.2% recall and 90.7% F-score for detecting smart Ponzi schemes within Ethereum's smart contract dataset, outperforming state-of-the-art methods in terms of performance and sustainability. We also demonstrate through additional experiments that pre-training models and data flow play an important contribution to SourceP, as well as proving that SourceP has a good generalization ability.

READ FULL TEXT
research
05/31/2021

A Bytecode-based Approach for Smart Contract Classification

With the development of blockchain technologies, the number of smart con...
research
03/14/2023

Code Will Tell: Visual Identification of Ponzi Schemes on Ethereum

Ethereum has become a popular blockchain with smart contracts for invest...
research
01/12/2023

Sharpening Ponzi Schemes Detection on Ethereum with Machine Learning

Blockchain technology has been successfully exploited for deploying new ...
research
08/31/2023

Improving Robustness and Accuracy of Ponzi Scheme Detection on Ethereum Using Time-Dependent Features

The rapid development of blockchain has led to more and more funding pou...
research
06/16/2022

Dual-channel Early Warning Framework for Ethereum Ponzi Schemes

Blockchain technology supports the generation and record of transactions...
research
04/17/2021

Ponzi Scheme Detection in EthereumTransaction Network

With the rapid growth of blockchain, an increasing number of users have ...
research
08/20/2021

Data-driven Smart Ponzi Scheme Detection

A smart Ponzi scheme is a new form of economic crime that uses Ethereum ...

Please sign up or login with your details

Forgot password? Click here to reset