Honeypot Contract Risk Warning on Ethereum Smart Contracts

被引:15
|
作者
Chen, Weili [1 ]
Guo, Xiongfeng [1 ]
Chen, Zhiguang [1 ]
Zheng, Zibin [1 ]
Lu, Yutong [1 ]
Li, Yin [2 ]
机构
[1] Sun Yat Sen Univ, Sch Data & Comp Sci, Guangzhou, Peoples R China
[2] Chinese Acad Sci, Inst Software Applicat Technol Guangzhou, Guangzhou, Peoples R China
基金
国家重点研发计划; 中国国家自然科学基金; 中国博士后科学基金;
关键词
Blockchain; Ethereum; Smart contract; Honeypot; LightGBM;
D O I
10.1109/JCC49151.2020.00009
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
As Ethereum's smart contracts have boomed, it has become an integral part of the blockchain ecosystem. Unfortunately, some malicious users also find the opportunity to use fraudulent means to profit. A new reported approach is to lure new users or other attackers into the contract in an attempt to make a profit by exposing seemingly obvious flaws in the contract. But in fact, the contract contains a hidden trap that ultimately benefits the creator of the contract. Such contracts are known as honeypot contracts in the blockchain ecosystem. Previous studies proposed two methods to identify such smart contracts by using symbolic execution and contract behaviors. However, these methods either make it difficult to discover new categories or fail to warn users before they lose money. To solve this problem, we propose a machine learning model to detect honeypot contracts based on N-gram features and LightGBM. Extensive experiments show that our proposed model performs well in different conditions.
引用
收藏
页码:1 / 8
页数:8
相关论文
共 50 条
  • [21] The Risks and Challenges of Implementing Ethereum Smart Contracts
    Harris, Christopher G.
    2019 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN AND CRYPTOCURRENCY (ICBC), 2019, : 104 - 107
  • [22] A Framework and DataSet for Bugs in Ethereum Smart Contracts
    Zhang, Pengcheng
    Xiao, Feng
    Luo, Xiapu
    2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2020), 2020, : 139 - 150
  • [23] Not so Immutable: Upgradeability of Smart Contracts on Ethereum
    Salehi, Mehdi
    Clark, Jeremy
    Mannan, Mohammad
    FINANCIAL CRYPTOGRAPHY AND DATA SECURITY. FC 2022 INTERNATIONAL WORKSHOPS, 2023, 13412 : 539 - 554
  • [24] Gas Estimation and Optimization for Smart Contracts on Ethereum
    Li, Chunmiao
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021, 2021, : 1082 - 1086
  • [25] A Survey of Tools for Analyzing Ethereum Smart Contracts
    di Angelo, Monika
    Salzer, Gernot
    2019 IEEE INTERNATIONAL CONFERENCE ON DECENTRALIZED APPLICATIONS AND INFRASTRUCTURES (DAPPCON), 2019, : 69 - 78
  • [26] Library Usage Detection in Ethereum Smart Contracts
    Hefele, Alexander
    Gallersdoerfer, Ulrich
    Matthes, Florian
    ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS: OTM 2019 CONFERENCES, 2019, 11877 : 310 - 317
  • [27] A Modeling and Verification Framework for Ethereum Smart Contracts
    Valentini, Simone
    Braghin, Chiara
    Riccobene, Elvinia
    RIGOROUS STATE-BASED METHODS, ABZ 2024, 2024, 14759 : 201 - 207
  • [28] SAFEVM: A Safety Verifier for Ethereum Smart Contracts
    Albert, Elvira
    Correas, Jesus
    Gordillo, Pablo
    Roman-Diez, Guillermo
    Rubio, Albert
    PROCEEDINGS OF THE 28TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA '19), 2019, : 386 - 389
  • [29] An Extensive Security Analysis on Ethereum Smart Contracts
    Ashouri, Mohammadreza
    SECURITY AND PRIVACY IN COMMUNICATION NETWORKS, SECURECOMM 2021, PT I, 2021, 398 : 144 - 163
  • [30] Fitting and Regression for Distributions of Ethereum Smart Contracts
    Alharby, Maher
    van Moorsel, Aad
    2020 2ND CONFERENCE ON BLOCKCHAIN RESEARCH & APPLICATIONS FOR INNOVATIVE NETWORKS AND SERVICES (BRAINS), 2020, : 248 - 255