Park: accelerating smart contract vulnerability detection via parallel-fork symbolic execution
Peilin Zheng, Zibin Zheng, Xiapu Luo
Abstract
Symbolic detection has been widely used to detect vulnerabilities in smart contracts. Unfortunately, as reported, existing symbolic tools cost too much time, since they need to execute all paths to detect vulnerabilities. Thus, their accuracy is limited by time. To tackle this problem, in this paper, we propose Park, the first general framework of parallel-fork symbolic execution for smart contracts. The main idea is to use multiple processes during symbolic execution, leveraging multiple CPU cores to enhance efficiency. Firstly, we propose a fork-operation based dynamic forking algorithm to achieve parallel symbolic contract execution. Secondly, to address the SMT performance loss problem in parallelization, we propose an adaptive processes restriction and adjustment algorithm. Thirdly, we design a shared-memory based global variable reconstruction method to collect and rebuild the global variables from different processes. We implement Park as a plug-in and apply it to two popular symbolic execution tools for smart contracts: Oyente and Mythril. The experimental results with third-party datasets show that Park-Oyente and Park-Mythril can provide up to 6.84x and 7.06x speedup compared to original tools, respectively.
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.
7 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
- FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation cites Making Smart Contracts Smarter
- FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation cites sFuzz: an efficient adaptive fuzzer for solidity smart contracts
- FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation cites Securify: Practical Security Analysis of Smart Contracts
- Enhancing Smart Contract Security Analysis with Execution Property Graphs cites FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation
- Enhancing Smart Contract Security Analysis with Execution Property Graphs cites Making Smart Contracts Smarter
- Enhancing Smart Contract Security Analysis with Execution Property Graphs cites sFuzz: an efficient adaptive fuzzer for solidity smart contracts
- Enhancing Smart Contract Security Analysis with Execution Property Graphs cites Securify: Practical Security Analysis of Smart Contracts
- Efficiently Detecting Reentrancy Vulnerabilities in Complex Smart Contracts cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- Efficiently Detecting Reentrancy Vulnerabilities in Complex Smart Contracts cites Making Smart Contracts Smarter
- Efficiently Detecting Reentrancy Vulnerabilities in Complex Smart Contracts cites sFuzz: an efficient adaptive fuzzer for solidity smart contracts
- Efficiently Detecting Reentrancy Vulnerabilities in Complex Smart Contracts cites Securify: Practical Security Analysis of Smart Contracts
- sFuzz: an efficient adaptive fuzzer for solidity smart contracts cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- sFuzz: an efficient adaptive fuzzer for solidity smart contracts cites Making Smart Contracts Smarter
- Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts cites Making Smart Contracts Smarter
- Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts cites Securify: Practical Security Analysis of Smart Contracts
- Safeguarding DeFi Smart Contracts against Oracle Deviations cites FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation
- Safeguarding DeFi Smart Contracts against Oracle Deviations cites Making Smart Contracts Smarter
- Safeguarding DeFi Smart Contracts against Oracle Deviations cites sFuzz: an efficient adaptive fuzzer for solidity smart contracts
- Safeguarding DeFi Smart Contracts against Oracle Deviations cites Securify: Practical Security Analysis of Smart Contracts
- Securify: Practical Security Analysis of Smart Contracts cites Making Smart Contracts Smarter
Cited by top-tier papers7
- Efficiently Detecting Reentrancy Vulnerabilities in Complex Smart ContractsZexu Wang, Jiachi Chen, Yanlin Wang, Yu Zhang et al.FSE 2024 · 27 citations
- DeepInfer: Deep Type Inference from Smart Contract BytecodeKunsong Zhao, Zihao Li, Jianfeng Li, He Ye et al.FSE 2023 · 24 citations
- FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven ApproximationZhiyang Chen, Sidi Mohamed Beillahi, Fan LongICSE 2024 · 21 citations
- Safeguarding DeFi Smart Contracts against Oracle DeviationsXun Deng, Sidi Mohamed Beillahi, Cyrus Minwalla, Han Du et al.ICSE 2024 · 12 citations
- Enhancing Smart Contract Security Analysis with Execution Property GraphsKaihua Qin, Zhe Ye, Zhun Wang, Weilin Li et al.ISSTA 2025 · 1 citation
Builds on9
- 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
- Empirical review of automated analysis tools on 47, 587 Ethereum smart contractsThomas Durieux, João F. Ferreira, Rui Abreu, Pedro CruzICSE 2020 · 373 citations
- teEther: Gnawing at Ethereum to Automatically Exploit Smart ContractsJohannes Krupp, Christian RossowUSENIX Security 2018 · 345 citations
- sFuzz: an efficient adaptive fuzzer for solidity smart contractsTai D. Nguyen, Long H. Pham, Jun Sun, Yun Lin et al.ICSE 2020 · 260 citations
Related papers
- SmartDagger: a bytecode-based static analysis approach for detecting cross-contract vulnerabilityZeqin Liao, Zibin Zheng, Xiao Chen, Yuhong NanISSTA 2022 · 64 citations
- SmarTrim: Symbolic Execution for Smart Contracts Powered by Redundant Transaction-Sequence PruningHyegeun Song, Jiseong Han, Sunbeom SoFSE 2026 · 1 citation
- FORAY: Towards Effective Attack Synthesis against Deep Logical Vulnerabilities in DeFi ProtocolsHongbo Wen, Hanzhi Liu, Jiaxin Song, Yanju Chen et al.CCS 2024 · 6 citations
- LENT-SSE: Leveraging Executed and Near Transactions for Speculative Symbolic Execution of Smart ContractsPeilin Zheng, Bowei Su, Xiapu Luo, Ting Chen et al.ISSTA 2024 · 1 citation
- Summary-Based Symbolic Evaluation for Smart ContractsYu Feng, Emina Torlak, Rastislav BodíkASE 2020 · 15 citations
