Behind the booming decentralized finance (DeFi) ecosystem driven by blockchain technology, various financial risks lurking, including money laundering, gambling, Ponzi schemes, and phishing. Due to the decentralization and anonymity of Ethereum, Ponzi schemes can be easily deployed, causing huge economic losses to investors. Existing detection methods based on transaction data are difficult to provide early risk warnings, while detection methods based on smart contract source code and opcodes have insufficient feature fusion at multiple levels. We propose an approach for constructing a multi-level Heterogeneous Semantic Graph (HSG) of smart contracts, and improve the HAN model to detect Ponzi scheme smart contracts based on the Heterogeneous Semantic Graph. The experimental results demonstrate the effectiveness of our approach, achieving an accuracy of 97.21%, a precision of 94.29%, and an F1 score of 90.41%.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Ponzi Scheme Detection in Smart Contracts Using Heterogeneous Semantic Graph

  • Wei Chen,
  • Xinjun Jiang,
  • Tian Lan,
  • Leyuan Liu,
  • Chengyu Li

摘要

Behind the booming decentralized finance (DeFi) ecosystem driven by blockchain technology, various financial risks lurking, including money laundering, gambling, Ponzi schemes, and phishing. Due to the decentralization and anonymity of Ethereum, Ponzi schemes can be easily deployed, causing huge economic losses to investors. Existing detection methods based on transaction data are difficult to provide early risk warnings, while detection methods based on smart contract source code and opcodes have insufficient feature fusion at multiple levels. We propose an approach for constructing a multi-level Heterogeneous Semantic Graph (HSG) of smart contracts, and improve the HAN model to detect Ponzi scheme smart contracts based on the Heterogeneous Semantic Graph. The experimental results demonstrate the effectiveness of our approach, achieving an accuracy of 97.21%, a precision of 94.29%, and an F1 score of 90.41%.