publications
publications by categories in reversed chronological order. generated by jekyll-scholar.
2026
- Revealing the Dark Side of Smart Accounts: An Empirical Study of EIP-7702 Incurred Risks in Blockchain EcosystemMingyuan Huang, Han Liu, Shuo Yang, Daoyuan Wu, and 1 more authorIn 35th USENIX Security Symposium (USENIX Security 26) (CCF-A) , Aug 2026
The introduction of smart accounts by EIP-7702 represents a major advancement for blockchain account abstraction, enabling externally owned accounts (EOAs) to be upgraded into programmable accounts while still preserving their original addresses. This advancement significantly enhances both account functionality and usability, but also redefines blockchain trust boundaries between EOAs and smart contract accounts (CAs), thereby altering security assumptions and creating opportunities for novel types of attack. To systematically examine these risks, we classify smart account-based risks into three categories according to the type of victim accounts: EOA-targeted, CA-targeted, and composite attacks. We then develop specialized detection tools that combine large-scale transaction analysis with cross-contract static analysis to identify malicious behaviors. Applying these tools across seven blockchains that support EIP-7702, we detect 924 malicious contract accounts, including several previously unreported zero-day cases. These attacks have led to more than 2.3 million in losses and exposed over 10 million to potential compromise. We uncover multiple key insights into attacker behaviors. Specifically, we find that over 63% of EIP-7702 authorization transactions are associated with malicious EOA-targeted attacks, and nearly half of the most frequently authorized contracts are controlled by attackers. In addition, we identify existing evasion tactics that attackers use to circumvent detection, attack impacts observed in real-world incidents, and potential risks that may emerge in future deployments, underscoring the urgency of addressing smart account security in blockchain ecosystems.
@inproceedings{yang2026eip7702, title = {Revealing the Dark Side of Smart Accounts: An Empirical Study of EIP-7702 Incurred Risks in Blockchain Ecosystem}, author = {Huang, Mingyuan and Liu, Han and Yang, Shuo and Wu, Daoyuan and Wang, Shuai}, booktitle = {35th USENIX Security Symposium (USENIX Security 26)}, year = {2026}, month = aug, publisher = {USENIX Association}, }
2025
- Who Is Pulling the Strings: Unveiling Smart Contract State Manipulation Attacks Through State-Aware Dataflow AnalysisShuo Yang, Jiachi Chen, Lei Xiao, Jinyuan Hu, and 4 more authorsIEEE Transactions on Software Engineering (CCF-A) , Oct 2025
Recently, the increasing complexity of smart contracts and their interactions has led to more sophisticated strategies for executing attacks. Hackers often need to deploy attacker contracts as delegators to automate these attacks on their behalf. Existing identification methods for attacker contracts either rely on simple patterns (e.g., recursive callback control flow) that suffer from high false-positive rates and limited extraction of interaction and call information, or lack fully automated detection capabilities. Consequently, these limitations reduce the effectiveness of current solutions in identifying modern, intricate attacks. To overcome these challenges, we introduce the concept of state manipulation attacks, which abstracts the exploitation of problematic state dependencies arising from contract interactions. During these attacks, hackers first alter the storage state of one contract (the manipulated contract), which determines the profit they can gain. They then call another contract (the victim contract) to exploit its dependency on the altered state and maximize their profits. We present SMAsher, a tool designed to automatically identify state manipulation attacker contracts. SMAsher leverages fine-grained state-aware dataflow analysis to detect exploitation traces and exploited state dependencies among contracts, focusing on recovering the call path and interaction semantics. Our extensive experiments on 1.38 million real-world contracts demonstrate that SMAsher successfully identifies 311 state manipulation attacker contracts with 100% precision, resulting in $6.95 million in losses. Our findings also reveal some notable malicious characteristics of hackers’ accounts through their deployed attacker contracts. Additionally, we have provided 10 PoCs (Proof-of-Concepts) for previously unidentified attacks, all of which have been confirmed and released to the community.
@article{yang2025smasher, title = {Who Is Pulling the Strings: Unveiling Smart Contract State Manipulation Attacks Through State-Aware Dataflow Analysis}, author = {Yang, Shuo and Chen, Jiachi and Xiao, Lei and Hu, Jinyuan and Lin, Dan and Wu, Jiajing and Zhang, Tao and Zheng, Zibin}, journal = {IEEE Transactions on Software Engineering}, volume = {51}, number = {10}, pages = {2942--2956}, year = {2025}, month = oct, publisher = {IEEE}, doi = {10.1109/TSE.2025.3605145}, } - NumScout: Unveiling Numerical Defects in Smart Contracts Using LLM-Pruning Symbolic ExecutionJiachi Chen, Zhenzhe Shao, Shuo Yang, Yiming Shen, and 4 more authorsIEEE Transactions on Software Engineering (CCF-A) , May 2025
In recent years, the Ethereum platform has witnessed a proliferation of smart contracts, accompanied by exponential growth in total value locked (TVL). High-TVL smart contracts often require complex numerical computations, particularly in mathematical financial models used by many decentralized applications (DApps). Improper calculations can introduce numerical defects, posing potential security risks. Existing research primarily focuses on traditional numerical defects like integer overflow, and there is currently a lack of systematic research and effective detection methods targeting new types of numerical defects. In this paper, we identify five new types of numerical defects through the analysis of 1,199 audit reports by utilizing the open card method. Each defect is defined and illustrated with a code example to highlight its features and potential consequences. We also propose NumScout, a symbolic execution-based tool designed to detect these five defects. Specifically, the tool combines information from source code and bytecode, analyzing key operations such as comparisons and transfers, to effectively locate defects and report them based on predefined detection patterns. Furthermore, NumScout uses a large language model (LLM) to prune functions which are unrelated to numerical operations. This step allows symbolic execution to quickly enter the target function and improve runtime speed by 28.4%. We run NumScout on 6,617 real-world contracts and evaluated its performance based on manually labeled results. We find that 1,774 contracts contained at least one of the five defects, and the tool achieved an overall precision of 89.7%.
@article{chen2025numscout, title = {NumScout: Unveiling Numerical Defects in Smart Contracts Using LLM-Pruning Symbolic Execution}, author = {Chen, Jiachi and Shao, Zhenzhe and Yang, Shuo and Shen, Yiming and Wang, Yanlin and Chen, Ting and Shan, Zhenyu and Zheng, Zibin}, journal = {IEEE Transactions on Software Engineering}, volume = {51}, number = {5}, pages = {1538--1553}, year = {2025}, month = may, publisher = {IEEE}, doi = {10.1109/TSE.2025.3555622}, } - Hyperion: Unveiling DApp Inconsistencies Using LLM and Dataflow-Guided Symbolic ExecutionShuo Yang, Xingwei Lin, Jiachi Chen, Qingyuan Zhong, and 4 more authorsIn Proceedings of the IEEE/ACM 47th International Conference on Software Engineering (CCF-A) , Apr 2025
The rapid advancement of blockchain platforms has significantly accelerated the growth of decentralized applications (DApps). Similar to traditional applications, DApps integrate front-end descriptions that showcase their features to attract users, and back-end smart contracts for executing their business logic. However, inconsistencies between the features promoted in front-end descriptions and those actually implemented in the contract can confuse users and undermine DApps’s trustworthiness. In this paper, we first conducted an empirical study to identify seven types of inconsistencies, each exemplified by a real-world DApp. Furthermore, we introduce Hyperion, an approach designed to automatically identify inconsistencies between front-end descriptions and back-end code implementation in DApps. This method leverages a fine-tuned large language model LLaMA2 to analyze DApp descriptions and employs dataflow-guided symbolic execution for contract bytecode analysis. Finally, Hyperion reports the inconsistency based on predefined detection patterns. The experiment on our ground truth dataset consisting of 54 DApps shows that Hyperion reaches 84.06% overall recall and 92.06% overall precision in reporting DApp inconsistencies. We also implement Hyperion to analyze 835 real-world DApps. The experimental results show that Hyperion discovers 459 real-world DApps containing at least one inconsistency.
@inproceedings{yang2025hyperion, title = {Hyperion: Unveiling DApp Inconsistencies Using LLM and Dataflow-Guided Symbolic Execution}, author = {Yang, Shuo and Lin, Xingwei and Chen, Jiachi and Zhong, Qingyuan and Xiao, Lei and Huang, Renke and Wang, Yanlin and Zheng, Zibin}, booktitle = {Proceedings of the IEEE/ACM 47th International Conference on Software Engineering}, series = {ICSE '25}, pages = {2125--2137}, year = {2025}, month = apr, publisher = {IEEE}, doi = {10.1109/ICSE55347.2025.00015}, } - WakeMint: Detecting Sleepminting Vulnerabilities in NFT Smart ContractsLei Xiao, Shuo Yang*, Wen Chen, and Zibin ZhengIn IEEE International Conference on Software Analysis, Evolution and Reengineering (CCF-B) , Mar 2025
The non-fungible tokens (NFTs) market has evolved over the past decade, with NFTs serving as unique digital identifiers on a blockchain that certify ownership and authenticity. The trading attributes of NFTs have drawn many users and investors. However, their high value also attracts attackers who exploit vulnerabilities in NFT smart contracts for illegal profits, thereby harming the NFT ecosystem. One notable vulnerability in NFT smart contracts is sleepminting, which allows attackers to illegally transfer others’ tokens. Although some research has been conducted on sleepminting, these studies are basically qualitative analyses or based on historical transaction data. There is a lack of understanding from the contract code perspective, which is crucial for identifying such issues and preventing attacks before they occur. To address this gap, in this paper, we categorize the sleepminting issue and find four distinct types of sleepminting in NFT smart contracts. Each type is accompanied by a comprehensive definition and illustrative code examples to provide a clear understanding of how these vulnerabilities manifest within the contract code. Furthermore, to help detect the defined defects before the sleepminting problem occurrence, we propose a tool named WakeMint, which is built on a symbolic execution framework. WakeMint is designed to be compatible with both high and low versions of Solidity, ensuring broad applicability across various smart contracts. The tool also employs a pruning strategy to shorten the detection period. Additionally, WakeMint gathers some key information, such as the owner of an NFT and emissions of events related to the transfer of the NFT’s ownership during symbolic execution. Then, it analyzes the features of the transfer function based on this information so that it can judge the existence of sleepminting. We ran WakeMint on 11,161 real-world NFT smart contracts and evaluated the results. We found 115 instances of sleepminting issues in total, and the precision of our tool is 87.8%.
@inproceedings{xiao2025wakemint, title = {WakeMint: Detecting Sleepminting Vulnerabilities in NFT Smart Contracts}, author = {Xiao, Lei and Yang, Shuo and Chen, Wen and Zheng, Zibin}, booktitle = {IEEE International Conference on Software Analysis, Evolution and Reengineering}, series = {SANER '25}, pages = {740--750}, year = {2025}, month = mar, publisher = {IEEE}, doi = {10.1109/SANER64311.2025.00075}, }
2024
- Uncover the Premeditated Attacks: Detecting Exploitable Reentrancy Vulnerabilities by Identifying Attacker ContractsShuo Yang, Jiachi Chen, Mingyuan Huang, Zibin Zheng, and 1 more authorIn Proceedings of the IEEE/ACM 46th International Conference on Software Engineering (CCF-A) , Apr 2024
Reentrancy, a notorious vulnerability in smart contracts, has led to millions of dollars in financial loss. However, current smart contract vulnerability detection tools suffer from a high false positive rate in identifying contracts with reentrancy vulnerabilities. Moreover, only a small portion of the detected reentrant contracts can actually be exploited by hackers, making these tools less effective in securing the Ethereum ecosystem in practice. In this paper, we propose BlockWatchdog, a tool that focuses on detecting reentrancy vulnerabilities by identifying attacker contracts. These attacker contracts are deployed by hackers to exploit vulnerable contracts automatically. By focusing on attacker contracts, BlockWatchdog effectively detects truly exploitable reentrancy vulnerabilities by identifying reentrant call flow. Additionally, BlockWatchdog is capable of detecting new types of reentrancy vulnerabilities caused by poor designs when using ERC tokens or user-defined interfaces, which cannot be detected by current rule-based tools. We implement BlockWatchdog using cross-contract static dataflow techniques based on attack logic obtained from an empirical study that analyzes attacker contracts from 281 attack incidents. BlockWatchdog is evaluated on 421,889 Ethereum contract bytecodes and identifies 113 attacker contracts that target 159 victim contracts, leading to the theft of Ether and tokens valued at approximately 908.6 million USD. Notably, only 18 of the identified 159 victim contracts can be reported by current reentrancy detection tools.
@inproceedings{yang2024blockwatchdog, title = {Uncover the Premeditated Attacks: Detecting Exploitable Reentrancy Vulnerabilities by Identifying Attacker Contracts}, author = {Yang, Shuo and Chen, Jiachi and Huang, Mingyuan and Zheng, Zibin and Huang, Yuan}, booktitle = {Proceedings of the IEEE/ACM 46th International Conference on Software Engineering}, series = {ICSE '24}, pages = {1--12}, year = {2024}, month = apr, publisher = {ACM}, doi = {10.1145/3597503.3639153}, } - FunFuzz: A Function-Oriented Fuzzer for Smart Contract Vulnerability Detection with High Effectiveness and EfficiencyMingxi Ye, Yuhong Nan, Hong-Ning Dai, Shuo Yang, and 2 more authorsACM Transactions on Software Engineering and Methodology (CCF-A) , Sep 2024
With the increasing popularity of Decentralized Applications (DApps) in blockchain, securing smart contracts has been a long-term, high-priority subject in the domain. Among the various research directions for vulnerability detection, fuzzing has received extensive attention because of its high effectiveness. However, with the increasing complexity of smart contracts, existing fuzzers may waste substantial time exploring locations irrelevant to smart contract vulnerabilities. In this article, we present FunFuzz, a function-oriented fuzzer, which is dedicatedly tailored for detecting smart contract vulnerability with high effectiveness and efficiency. The key observation in our research is that most smart contract vulnerabilities exist in specific functions rather than randomly distributed in all program code like other traditional software. To this end, unlike traditional fuzzers which mainly target code coverage, FunFuzz identifies risky functions while pruning non-risky ones in smart contracts. In this way, it significantly narrows down the exploration scope during the fuzzing process. In addition, FunFuzz employs three unique strategies to direct itself toward effectively discovering vulnerabilities specific to smart contracts (e.g., reentrancy, block dependency, and gasless send). Extensive experiments on 170 real-world contracts demonstrate that FunFuzz outperforms state-of-the-art fuzzers in terms of effectiveness and efficiency.
@article{ye2024funfuzz, title = {FunFuzz: A Function-Oriented Fuzzer for Smart Contract Vulnerability Detection with High Effectiveness and Efficiency}, author = {Ye, Mingxi and Nan, Yuhong and Dai, Hong-Ning and Yang, Shuo and Luo, Xiapu and Zheng, Zibin}, journal = {ACM Transactions on Software Engineering and Methodology}, volume = {33}, number = {7}, pages = {1--20}, year = {2024}, month = sep, publisher = {ACM}, doi = {10.1145/3674725}, } - Toward Understanding Asset Flows in Crypto Money Laundering Through the Lenses of Ethereum HeistsJiajing Wu, Dan Lin, Qishuang Fu, Shuo Yang, and 3 more authorsIEEE Transactions on Information Forensics and Security (CCF-A) , 2024
With the overall momentum of the blockchain industry, financial crimes related to blockchain crypto-assets are becoming increasingly prevalent. After committing a crime, the main goal of cybercriminals is to obfuscate the source of the illicit funds in order to convert them into cash and get away with it. Many studies have analyzed money laundering (ML) in the field of the traditional financial sector. However, in terms of the emerging blockchain crypto-asset ecosystem, there is currently only one public anti-money laundering (AML) dataset for Bitcoin—the Elliptic dataset, whose binary labels (licit vs. illicit transactions) cannot cover the ML behaviors in the evergrowing crypto-asset market. To fill this gap, in this paper, we propose a framework named XBlockFlow which identifies ML addresses starting from Ethereum heist incidents and obtains the first detailed Ethereum ML dataset named EthereumHeist, and then conducts a comprehensive feature and evolution analysis on the EthereumHeist dataset according to the three main phases of ML. We first search for the source cybercriminal accounts including exchange hackers, DeFi exploiters, and scammers. Then, employing the idea of taint analysis, we track the diverse downstream transactions and addresses layer by layer. At the end of tracking, we identify and categorize service providers, and go a step further to investigate advanced ML methods that do not exist in the Bitcoin scenario, e.g. token swap and counterfeit token creation. Based on the ML identification results, we obtain many interesting findings about crypto-asset money laundering, observing the escalating money laundering methods such as creating counterfeit tokens and masquerading as speculators.
@article{wu2023ethereumheist, title = {Toward Understanding Asset Flows in Crypto Money Laundering Through the Lenses of Ethereum Heists}, author = {Wu, Jiajing and Lin, Dan and Fu, Qishuang and Yang, Shuo and Chen, Ting and Zheng, Zibin and Song, Bowen}, journal = {IEEE Transactions on Information Forensics and Security}, volume = {19}, pages = {1994--2009}, year = {2024}, publisher = {IEEE}, doi = {10.1109/TIFS.2023.3346276}, }
2023
- Definition and Detection of Defects in NFT Smart ContractsShuo Yang, Jiachi Chen, and Zibin ZhengIn Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis (CCF-A) , Jul 2023
Recently, the birth of non-fungible tokens (NFTs) has attracted great attention. NFTs are capable of representing users’ ownership on the blockchain and have experienced tremendous market sales due to their popularity. Unfortunately, the high value of NFTs also makes them a target for attackers. The defects in NFT smart contracts could be exploited by attackers to harm the security and reliability of the NFT ecosystem. Despite the significance of this issue, there is a lack of systematic work that focuses on analyzing NFT smart contracts, which may raise worries about the security of users’ NFTs. To address this gap, in this paper, we introduce 5 defects in NFT smart contracts. Each defect is defined and illustrated with a code example highlighting its features and consequences, paired with possible solutions to fix it. Furthermore, we propose a tool named NFTGuard to detect our defined defects based on a symbolic execution framework. Specifically, NFTGuard extracts the information of the state variables from the contract abstract syntax tree (AST), which is critical for identifying variable-loading and storing operations during symbolic execution. Furthermore, NFTGuard recovers source-code-level features from the bytecode to effectively locate defects and report them based on predefined detection patterns. We run NFTGuard on 16,527 real-world smart contracts and perform an evaluation based on the manually labeled results. We find that 1,331 contracts contain at least one of the 5 defects, and the overall precision achieved by our tool is 92.6%.
@inproceedings{yang2023nftdefects, title = {Definition and Detection of Defects in NFT Smart Contracts}, author = {Yang, Shuo and Chen, Jiachi and Zheng, Zibin}, booktitle = {Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis}, series = {ISSTA '23}, pages = {373--384}, year = {2023}, month = jul, publisher = {ACM}, doi = {10.1145/3597926.3598063}, }
2022
- WaLi: Control-Flow-Based Analysis of Wasm Smart ContractsShuo Yang, Huizhong Li, and Zibin ZhengIn International Conference on Blockchain and Trustworthy Systems (CCF-C) , 2022
With the proliferation of various types of blockchain applications, smart contracts are getting more and more essential in developing decentralized applications due to their powerful expressing capabilities. However, security vulnerabilities of smart contracts keep arising in recent years, which has attracted a lot of attention. Most of the related research mainly focuses on smart contracts deployed on Ethereum. But in the meantime, more and more types of smart contracts adopt Wasm as their bytecode format due to its smaller size and higher operating efficiency in blockchain. To avoid the recurrence of exploited vulnerabilities in Wasm smart contracts, we develop WaLi, a control-flow-based analyzer for security vulnerabilities. In particular, we first construct a control flow graph based on the Wasm bytecode and define a critical path identification method to locate possible paths that may contain vulnerabilities. Then we adopt a Wasm virtual machine to simulate a runtime environment when tracing the critical paths and report the result based on our vulnerability detection patterns. We choose Liquid smart contracts on FISCO-BCOS to illustrate our approach and the experimental results show that WaLi performs well in detecting the access control vulnerabilities.
@inproceedings{yang2022wali, title = {WaLi: Control-Flow-Based Analysis of Wasm Smart Contracts}, author = {Yang, Shuo and Li, Huizhong and Zheng, Zibin}, booktitle = {International Conference on Blockchain and Trustworthy Systems}, series = {Communications in Computer and Information Science}, volume = {1679}, pages = {322--335}, year = {2022}, publisher = {Springer Nature Singapore}, doi = {10.1007/978-981-19-8043-5_23}, }