Towards Automated Safety Vetting of Smart Contracts in Decentralized Applications
Yue Duan, Xin Zhao, Yu Pan, Shucheng Li, Minghao Li, Fengyuan Xu, Mu Zhang
Abstract
We propose VetSC, a novel UI-driven, program analysis guided model checking technique that can automatically extract contract semantics in DApps so as to enable targeted safety vetting. To facilitate model checking, we extract business model graphs from contract code that capture its intrinsic business and safety logic. To automatically determine what safety specifications to check, we retrieve textual semantics from DApp user interfaces. To exclude untrusted UI text, we also validate the UI-logic consistency and detect any discrepancies. We have implemented VetSC and applied it to 34 real-world DApps. Experiments have demonstrated that VetSC can accurately interpret smart contract code, enable autonomous safety vetting, and discover safety risks in real-world Dapps. Using our tool, we have successfully discovered 19 new safety risks in the wild, such as expired lottery tickets and double voting.
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.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts cites Making Smart Contracts Smarter
- Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks cites ZEUS: Analyzing Safety of Smart Contracts
- Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks cites Making Smart Contracts Smarter
- Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks cites Securify: Practical Security Analysis of Smart Contracts
- Verifying Declarative Smart Contracts cites Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks
- Verifying Declarative Smart Contracts cites ZEUS: Analyzing Safety of Smart Contracts
- Verifying Declarative Smart Contracts cites Making Smart Contracts Smarter
- Verifying Declarative Smart Contracts cites Securify: Practical Security Analysis of Smart Contracts
- ZEUS: Analyzing Safety of Smart Contracts cites Making Smart Contracts Smarter
- Hyperion: Unveiling DApp Inconsistencies Using LLM and Dataflow-Guided Symbolic Execution cites ZEUS: Analyzing Safety of Smart Contracts
- Hyperion: Unveiling DApp Inconsistencies Using LLM and Dataflow-Guided Symbolic Execution cites Making Smart Contracts Smarter
- Hyperion: Unveiling DApp Inconsistencies Using LLM and Dataflow-Guided Symbolic Execution cites Securify: Practical Security Analysis of Smart Contracts
- SigScope: Detecting and Understanding Off-Chain Message Signing-related Vulnerabilities in Decentralized Applications cites ZEUS: Analyzing Safety of Smart Contracts
- SigScope: Detecting and Understanding Off-Chain Message Signing-related Vulnerabilities in Decentralized Applications cites Making Smart Contracts Smarter
- SigScope: Detecting and Understanding Off-Chain Message Signing-related Vulnerabilities in Decentralized Applications cites Securify: Practical Security Analysis of Smart Contracts
- PromFuzz: Leveraging LLM-Driven and Bug-Oriented Composite Analysis for Detecting Functional Bugs in Smart Contracts cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- PromFuzz: Leveraging LLM-Driven and Bug-Oriented Composite Analysis for Detecting Functional Bugs in Smart Contracts cites ZEUS: Analyzing Safety of Smart Contracts
- PromFuzz: Leveraging LLM-Driven and Bug-Oriented Composite Analysis for Detecting Functional Bugs in Smart Contracts cites Making Smart Contracts Smarter
- PromFuzz: Leveraging LLM-Driven and Bug-Oriented Composite Analysis for Detecting Functional Bugs in Smart Contracts cites Securify: Practical Security Analysis of Smart Contracts
- Characterizing Ethereum Upgradable Smart Contracts and Their Security Implications cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- Characterizing Ethereum Upgradable Smart Contracts and Their Security Implications cites Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks
- Characterizing Ethereum Upgradable Smart Contracts and Their Security Implications cites Making Smart Contracts Smarter
- Securify: Practical Security Analysis of Smart Contracts cites ZEUS: Analyzing Safety of Smart Contracts
- Securify: Practical Security Analysis of Smart Contracts cites Making Smart Contracts Smarter
Cited by top-tier papers8
- Characterizing Ethereum Upgradable Smart Contracts and Their Security ImplicationsXiaofan Li, Jin Yang, Jiaqi Chen, Yuzhe Tang et al.WWW 2024 · 23 citations
- Hyperion: Unveiling DApp Inconsistencies Using LLM and Dataflow-Guided Symbolic ExecutionShuo Yang, Xingwei Lin, Jiachi Chen, Qingyuan Zhong et al.ICSE 2025 · 6 citations
- PromFuzz: Leveraging LLM-Driven and Bug-Oriented Composite Analysis for Detecting Functional Bugs in Smart ContractsXingshuang Lin, Qinge Xie, Binbin Zhao, Yuan Tian et al.ASE 2025 · 5 citations
- Verifying Declarative Smart ContractsHaoxian Chen, Lan Lu, Brendan Massey, Yuepeng Wang et al.ICSE 2024 · 2 citations
- SigScope: Detecting and Understanding Off-Chain Message Signing-related Vulnerabilities in Decentralized ApplicationsSajad Meisami, Hugo Dabadie, Song Li, Yuzhe Tang et al.WWW 2025 · 2 citations
Builds on13
- Making Smart Contracts SmarterLoi Luu, Duc-Hiep Chu, Hrishi Olickel, Prateek Saxena et al.CCS 2016 · 2,306 citations
- Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais et al.CCS 2018 · 1,108 citations
- ZEUS: Analyzing Safety of Smart ContractsSukrit Kalra, Seep Goel, Mohan Dhawan, Subodh SharmaNDSS 2018 · 595 citations
- teEther: Gnawing at Ethereum to Automatically Exploit Smart ContractsJohannes Krupp, Christian RossowUSENIX Security 2018 · 345 citations
- Sereum: Protecting Existing Smart Contracts Against Re-Entrancy AttacksMichael Rodler, Wenting Li, Ghassan O. Karame, Lucas DaviNDSS 2019 · 298 citations
Related papers
- Automated Generation of Security-Centric Descriptions for Smart Contract BytecodeYu Pan, Zhichao Xu, Levi Taiji Li, Yunhe Yang et al.ISSTA 2023 · 9 citations
- Verifying Economic Security of Smart Contracts via Unintended ReturnYi Rong, Xupeng Li, Ronghui GuOOPSLA 2026
- Detecting State Inconsistency Bugs in DApps via On-Chain Transaction Replay and FuzzingMingxi Ye, Yuhong Nan, Zibin Zheng, Dongpeng Wu et al.ISSTA 2023 · 24 citations
- SmartFix: Fixing Vulnerable Smart Contracts by Accelerating Generate-and-Verify Repair using Statistical ModelsSunbeom So, Hakjoo OhFSE 2023 · 20 citations
- Automated Inference on Financial Security of Ethereum Smart ContractsWansen Wang, Wenchao Huang, Zhaoyi Meng, Yan Xiong et al.USENIX Security 2023
