Lune

NDSS2024Top-tier venue

Abusing the Ethereum Smart Contract Verification Services for Fun and Profit

Pengxiang Ma, Ningyu He, Yuhua Huang, Haoyu Wang, Xiapu Luo

Abstract

Smart contracts play a vital role in the Ethereum ecosystem. Due to the prevalence of kinds of security issues in smart contracts, the smart contract verification is urgently needed, which is the process of matching a smart contract's source code to its on-chain bytecode for gaining mutual trust between smart contract developers and users. Although smart contract verification services are embedded in both popular Ethereum browsers (e.g., Etherscan and Blockscout) and official platforms (i.e., Sourcify), and gain great popularity in the ecosystem, their security and trustworthiness remain unclear. To fill the void, we present the first comprehensive security analysis of smart contract verification services in the wild. By diving into the detailed workflow of existing verifiers, we have summarized the key security properties that should be met, and observed eight types of vulnerabilities that can break the verification. Further, we propose a series of detection and exploitation methods to reveal the presence of vulnerabilities in the most popular services, and uncover 19 exploitable vulnerabilities in total. All the studied smart contract verification services can be abused to help spread malicious smart contracts, and we have already observed the presence of using this kind of tricks for scamming by attackers. It is hence urgent for our community to take actions to detect and mitigate security issues related to smart contract verification, a key component of the Ethereum smart contract ecosystem.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • OpDiffer: LLM-Assisted Opcode-Level Differential Testing of Ethereum Virtual Machine cites Finding Consensus Bugs in Ethereum via Multi-transaction Differential Fuzzing
  • OpDiffer: LLM-Assisted Opcode-Level Differential Testing of Ethereum Virtual Machine cites All Your Tokens are Belong to Us: Demystifying Address Verification Vulnerabilities in Solidity Smart Contracts
  • OpDiffer: LLM-Assisted Opcode-Level Differential Testing of Ethereum Virtual Machine cites EOSAFE: Security Analysis of EOSIO Smart Contracts
  • Finding Consensus Bugs in Ethereum via Multi-transaction Differential Fuzzing cites The Art of The Scam: Demystifying Honeypots in Ethereum Smart Contracts
  • The Perils of Flexibility: Uncovering Application-Layer Vulnerabilities in Cosmos SDK Customization Points cites Finding Consensus Bugs in Ethereum via Multi-transaction Differential Fuzzing
  • The Perils of Flexibility: Uncovering Application-Layer Vulnerabilities in Cosmos SDK Customization Points cites EOSAFE: Security Analysis of EOSIO Smart Contracts
  • The Perils of Flexibility: Uncovering Application-Layer Vulnerabilities in Cosmos SDK Customization Points cites Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • The Perils of Flexibility: Uncovering Application-Layer Vulnerabilities in Cosmos SDK Customization Points cites WASAI: uncovering vulnerabilities in Wasm smart contracts
  • All Your Tokens are Belong to Us: Demystifying Address Verification Vulnerabilities in Solidity Smart Contracts cites EOSAFE: Security Analysis of EOSIO Smart Contracts
  • Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts cites The Art of The Scam: Demystifying Honeypots in Ethereum Smart Contracts
  • WASAI: uncovering vulnerabilities in Wasm smart contracts cites EOSAFE: Security Analysis of EOSIO Smart Contracts
  • WASAI: uncovering vulnerabilities in Wasm smart contracts cites The Art of The Scam: Demystifying Honeypots in Ethereum Smart Contracts
  • WASAI: uncovering vulnerabilities in Wasm smart contracts cites Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. All Your Tokens are Belong to Us: Demystifying Address Verification Vulnerabilities in Solidity Smart ContractsTianle Sun, Ningyu He, Jiang Xiao, Yinliang Yue et al.USENIX Security 2024 · 11 citations
  2. Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source ContractsSen Yang, Kaihua Qin, Aviv Yaish, Fan ZhangCCS 2026 · 3 citations
  3. OpDiffer: LLM-Assisted Opcode-Level Differential Testing of Ethereum Virtual MachineJie Ma, Ningyu He, Jinwen Xi, Mingzhe Xing et al.ISSTA 2025 · 2 citations
  4. The Perils of Flexibility: Uncovering Application-Layer Vulnerabilities in Cosmos SDK Customization PointsPengxiang Ma, Ningyu He, Zhongchun Cao, Zihao Li et al.USENIX Security 2026

Builds on8

  1. Empirical review of automated analysis tools on 47, 587 Ethereum smart contractsThomas Durieux, João F. Ferreira, Rui Abreu, Pedro CruzICSE 2020 · 373 citations
  2. The Art of The Scam: Demystifying Honeypots in Ethereum Smart ContractsChristof Ferreira Torres, Mathis Steichen, Radu StateUSENIX Security 2019 · 239 citations
  3. EOSAFE: Security Analysis of EOSIO Smart ContractsNingyu He, Ruiyi Zhang, Haoyu Wang, Lei Wu et al.USENIX Security 2021 · 69 citations
  4. Finding Consensus Bugs in Ethereum via Multi-transaction Differential FuzzingYoungseok Yang, Taesoo Kim, Byung-Gon ChunOSDI 2021 · 57 citations
  5. WASAI: uncovering vulnerabilities in Wasm smart contractsWeimin Chen, Zihan Sun, Haoyu Wang, Xiapu Luo et al.ISSTA 2022 · 43 citations

Related papers

  1. Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais et al.CCS 2018 · 1,108 citations
  2. Automated Inference on Financial Security of Ethereum Smart ContractsWansen Wang, Wenchao Huang, Zhaoyi Meng, Yan Xiong et al.USENIX Security 2023
  3. Large-Scale Study of Vulnerability Scanners for Ethereum Smart ContractsChristoph Sendner, Lukas Petzi, Jasper Stang, Alexandra DmitrienkoS&P 2024 · 19 citations
  4. Clone Detection for Smart Contracts: How Far Are We?Zuobin Wang, Zhiyuan Wan, Yujing Chen, Yun Zhang et al.FSE 2025 · 1 citation
  5. Characterizing Ethereum Upgradable Smart Contracts and Their Security ImplicationsXiaofan Li, Jin Yang, Jiaqi Chen, Yuzhe Tang et al.WWW 2024 · 23 citations
Dusk over the sea between two cliffs drawn in fine vertical lines