{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,19]],"date-time":"2026-11-19T12:10:20Z","timestamp":1795090220048,"version":"4.10.2"},"reference-count":52,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T00:00:00Z","timestamp":1750291200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/legalcode"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2025,6,19]]},"abstract":"<jats:p>\n                    Ethereum smart contracts determine state transition results not only by the previous states, but also by a mutable global state consisting of storage variables. This has resulted in state-inconsistency bugs, which grant an attacker the ability to modify contract states either through recursive function calls to a contract (reentrancy), or by exploiting transaction order dependence (TOD). Current studies have determined that identifying data races on global storage variables can capture\n                    <jats:italic toggle=\"yes\">all<\/jats:italic>\n                    state-inconsistency bugs. Nevertheless, eliminating false positives poses a significant challenge, given the extensive number of execution paths that could potentially cause a data race.\n                  <\/jats:p>\n                  <jats:p>\n                    For simplicity, existing research considers a data race to be\n                    <jats:italic toggle=\"yes\">vulnerable<\/jats:italic>\n                    as long as the variable involved could have\n                    <jats:italic toggle=\"yes\">inconsistent values<\/jats:italic>\n                    under\n                    <jats:italic toggle=\"yes\">different execution orders<\/jats:italic>\n                    . However, such a data race could be\n                    <jats:italic toggle=\"yes\">benign<\/jats:italic>\n                    when the inconsistent value does not affect any critical computation or decision-making process in the program. Besides, the data race could also be\n                    <jats:italic toggle=\"yes\">infeasible<\/jats:italic>\n                    when there is no valid state in the contract that allows the execution of both orders.\n                  <\/jats:p>\n                  <jats:p>\n                    In this paper, we aim to appreciably reduce these false positives without introducing false negatives. We present\n                    <jats:sc>DivertScan<\/jats:sc>\n                    , a precise framework to detect exploitable state-inconsistency bugs in smart contracts. We first introduce the use of\n                    <jats:italic toggle=\"yes\">flow divergence<\/jats:italic>\n                    to check where the involved variable may flow to. This allows\n                    <jats:sc>DivertScan<\/jats:sc>\n                    to precisely infer the potential effects of a data race and determine whether it can be exploited for inducing unexpected program behaviors. We also propose\n                    <jats:italic toggle=\"yes\">multiplex symbolic execution<\/jats:italic>\n                    to examine different execution orders in one time of solving. This helps\n                    <jats:sc>DivertScan<\/jats:sc>\n                    to determine whether a common starting state could potentially exist. To address the scalability issue in symbolic execution,\n                    <jats:sc>DivertScan<\/jats:sc>\n                    utilizes an overapproximated pre-checking and a selective exploration strategy. As a result, it only needs to explore a limited state space.\n                  <\/jats:p>\n                  <jats:p>\n                    <jats:sc>DivertScan<\/jats:sc>\n                    significantly outperformed state-of-the-art tools by improving the precision rate by 20.72% to 74.93% while introducing no false negatives. It also identified five exploitable real-world vulnerabilities that other tools missed. The detected vulnerabilities could potentially lead to a loss of up to $68.2M, based on trading records and rate limits.\n                  <\/jats:p>","DOI":"10.1145\/3715712","type":"journal-article","created":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T11:16:02Z","timestamp":1750331762000},"page":"22-43","source":"Crossref","is-referenced-by-count":8,"title":["Detecting Smart Contract State-Inconsistency Bugs via Flow Divergence and Multiplex Symbolic Execution"],"prefix":"10.1145","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-8054-474X","authenticated-orcid":false,"given":"Yinxi","family":"Liu","sequence":"first","affiliation":[{"name":"Rochester Institute of Technology, Rochester, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8260-3304","authenticated-orcid":false,"given":"Wei","family":"Meng","sequence":"additional","affiliation":[{"name":"Chinese University of Hong Kong, Hong Kong, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7585-1075","authenticated-orcid":false,"given":"Yinqian","family":"Zhang","sequence":"additional","affiliation":[{"name":"Southern University of Science and Technology, Shenzhen, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,6,19]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"2020. Proceedings of the 29th USENIX Security Symposium (Security). Virtual Event."},{"key":"e_1_3_1_3_2","volume-title":"Proceedings of the 35th IEEE\/ACM International Conference on Automated Software Engineering (ASE)","year":"2020","unstructured":"2020. Proceedings of the 35th IEEE\/ACM International Conference on Automated Software Engineering (ASE). Melbourne, Australia."},{"key":"e_1_3_1_4_2","volume-title":"Proceedings of the 42nd International Conference on Software Engineering (ICSE)","year":"2020","unstructured":"2020. Proceedings of the 42nd International Conference on Software Engineering (ICSE). Seoul, Korea."},{"key":"e_1_3_1_5_2","unstructured":"2021. Proceedings of the 30th USENIX Security Symposium (Security). Virtual Event."},{"key":"e_1_3_1_6_2","volume-title":"Proceedings of the 43nd IEEE Symposium on Security and Privacy (Oakland)","year":"2022","unstructured":"2022. Proceedings of the 43nd IEEE Symposium on Security and Privacy (Oakland). San Francisco, CA, USA."},{"key":"e_1_3_1_7_2","doi-asserted-by":"crossref","unstructured":"Priyanka Bose Dipanjan Das Yanju Chen Yu Feng Christopher Kruegel and Giovanni Vigna. 2022. Sailfish: Vetting smart contract state-inconsistency bugs in seconds See [5].","DOI":"10.2139\/ssrn.4106945"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3385990"},{"key":"e_1_3_1_9_2","unstructured":"Lexi Brent Anton Jurisevic Michael Kong Eric Liu Francois Gauthier Vincent Gramoli Ralph Holz and Bernhard Scholz. 2018. Vandal: A scalable security analysis framework for smart contracts. arXiv preprint arXiv:1809.03981 (2018)."},{"key":"e_1_3_1_10_2","volume-title":"Proceedings of the 42nd IEEE Symposium on Security and Privacy (Oakland)","author":"Cecchetti Ethan","year":"2021","unstructured":"Ethan Cecchetti, Siqiu Yao, Haobin Ni, and Andrew C Myers. 2021. Compositional security for reentrant applications. In Proceedings of the 42nd IEEE Symposium on Security and Privacy (Oakland). San Francisco, CA, USA."},{"key":"e_1_3_1_11_2","volume-title":"Proceedings of the 2020 Annual Network and Distributed System Security Symposium (NDSS)","author":"Chen Ting","year":"2020","unstructured":"Ting Chen, Rong Cao, Ting Li, Xiapu Luo, Guofei Gu, Yufei Zhang, Zhou Liao, Hang Zhu, Gang Chen, Zheyuan He, et al. 2020. SODA: A Generic Online Detection Framework for Smart Contracts.. In Proceedings of the 2020 Annual Network and Distributed System Security Symposium (NDSS). San Diego, CA, USA."},{"key":"e_1_3_1_12_2","volume-title":"Proceedings of the 36th IEEE\/ACM International Conference on Automated Software Engineering (ASE)","author":"Choi Jaeseung","year":"2021","unstructured":"Jaeseung Choi, Doyeon Kim, Soomin Kim, Gustavo Grieco, Alex Groce, and Sang Kil Cha. 2021. Smartian: Enhancing smart contract fuzzing with static and dynamic data-flow analyses. In Proceedings of the 36th IEEE\/ACM International Conference on Automated Software Engineering (ASE). Melbourne, Australia."},{"key":"e_1_3_1_13_2","unstructured":"Consensys. [n. d.]. Mythril: a security analysis tool for EVM bytecode. https:\/\/github.com\/Consensys\/mythril. [accessed 10\/2023]."},{"key":"e_1_3_1_14_2","unstructured":"Crytic. [n. d.]. Echidna: Ethereum smart contract fuzzer. https:\/\/github.com\/crytic\/echidna. [accessed 10\/2023]."},{"key":"e_1_3_1_15_2","volume-title":"Proceedings of the 41st IEEE Symposium on Security and Privacy (Oakland)","author":"Daian Philip","year":"2020","unstructured":"Philip Daian, Steven Goldfeder, Tyler Kell, Yunqi Li, Xueyuan Zhao, Iddo Bentov, Lorenz Breidenbach, and Ari Juels. 2020. Flash boys 2.0: Frontrunning in decentralized exchanges, miner extractable value, and consensus instability. In Proceedings of the 41st IEEE Symposium on Security and Privacy (Oakland). San Francisco, CA, USA."},{"key":"e_1_3_1_16_2","doi-asserted-by":"crossref","unstructured":"Thomas Durieux Jo\u00e3o F Ferreira Rui Abreu and Pedro Cruz. 2020. Empirical review of automated analysis tools on 47 587 ethereum smart contracts See [3].","DOI":"10.1145\/3377811.3380364"},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.1109\/WETSEB.2019.00008"},{"key":"e_1_3_1_18_2","unstructured":"Yu Feng Emina Torlak and Rastislav Bodik. 2019. Precise attack synthesis for smart contracts. arXiv preprint arXiv:1902.06067 (2019)."},{"key":"e_1_3_1_19_2","doi-asserted-by":"crossref","unstructured":"Yu Feng Emina Torlak and Rastislav Bod\u00edk. 2020. Summary-based symbolic evaluation for smart contracts See [2].","DOI":"10.1145\/3324884.3416646"},{"key":"e_1_3_1_20_2","unstructured":"Joel Frank Cornelius Aschermann and Thorsten Holz. 2020. {ETHBMC}: A bounded model checker for smart contracts See [1]."},{"key":"e_1_3_1_21_2","volume-title":"Proceedings of the 29th International Symposium on Software Testing and Analysis (ISSTA)","author":"Pattabiraman Karthik","year":"2020","unstructured":"Asem Ghaleb and Karthik Pattabiraman. 2020. How effective are smart contract analysis tools? evaluating smart contract static analysis tools using bug injection. In Proceedings of the 29th International Symposium on Software Testing and Analysis (ISSTA). Los Angeles, CA, USA."},{"key":"e_1_3_1_22_2","doi-asserted-by":"crossref","unstructured":"Asem Ghaleb Julia Rubin and Karthik Pattabiraman. 2023. AChecker: Statically Detecting Smart Contract Access Control Vulnerabilities. (May 2023).","DOI":"10.1109\/ICSE48619.2023.00087"},{"key":"e_1_3_1_23_2","doi-asserted-by":"crossref","unstructured":"Neville Grech Michael Kong Anton Jurisevic Lexi Brent Bernhard Scholz and Yannis Smaragdakis. 2018. Madmax: Surviving out-of-gas conditions in ethereum smart contracts. (Nov. 2018).","DOI":"10.1145\/3276486"},{"key":"e_1_3_1_24_2","doi-asserted-by":"crossref","unstructured":"Shelly Grossman Ittai Abraham Guy Golan-Gueta Yan Michalevsky Noam Rinetzky Mooly Sagiv and Yoni Zohar. 2017. Online detection of effectively callback free objects with applications to smart contracts. (Jan. 2017).","DOI":"10.1145\/3158136"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/3319535.3363230"},{"key":"e_1_3_1_26_2","unstructured":"Immunefi. [n. d.]. Immunefi: Web3\u2019s leading bug bounty platform. https:\/\/immunefi.com\/. [accessed 10\/2023]."},{"key":"e_1_3_1_27_2","volume-title":"Proceedings of the 33rd IEEE\/ACM International Conference on Automated Software Engineering (ASE)","author":"Jiang Bo","year":"2018","unstructured":"Bo Jiang, Ye Liu, and Wing Kwong Chan. 2018. Contractfuzzer: Fuzzing smart contracts for vulnerability detection. In Proceedings of the 33rd IEEE\/ACM International Conference on Automated Software Engineering (ASE). Montpellier, France."},{"key":"e_1_3_1_28_2","volume-title":"Proceedings of the 2018 Annual Network and Distributed System Security Symposium (NDSS)","author":"Kalra Sukrit","year":"2018","unstructured":"Sukrit Kalra, Seep Goel, Mohan Dhawan, and Subodh Sharma. 2018. Zeus: analyzing safety of smart contracts.. In Proceedings of the 2018 Annual Network and Distributed System Security Symposium (NDSS). San Diego, CA, USA."},{"key":"e_1_3_1_29_2","volume-title":"Proceedings of the 28th International Symposium on Software Testing and Analysis (ISSTA)","author":"Kolluri Aashish","year":"2019","unstructured":"Aashish Kolluri, Ivica Nikolic, Ilya Sergey, Aquinas Hobor, and Prateek Saxena. 2019. Exploiting the laws of order in smart contracts. In Proceedings of the 28th International Symposium on Software Testing and Analysis (ISSTA). Beijing, China."},{"key":"e_1_3_1_30_2","volume-title":"Proceedings of the 27th USENIX Security Symposium (Security)","author":"Rossow Christian","year":"2018","unstructured":"Johannes Krupp and Christian Rossow. 2018. {teEther}: Gnawing at ethereum to automatically exploit smart contracts. In Proceedings of the 27th USENIX Security Symposium (Security). Baltimore, MD, USA."},{"key":"e_1_3_1_31_2","volume-title":"Proceedings of the 31th International Symposium on Software Testing and Analysis (ISSTA)","author":"Liao Zeqin","year":"2022","unstructured":"Zeqin Liao, Zibin Zheng, Xiao Chen, and Yuhong Nan. 2022. SmartDagger: a bytecode-based static analysis approach for detecting cross-contract vulnerability. In Proceedings of the 31th International Symposium on Software Testing and Analysis (ISSTA). Online."},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/2976749.2978309"},{"key":"e_1_3_1_33_2","doi-asserted-by":"crossref","unstructured":"L\u00e9onard Lys Arthur Micoulet and Maria Potop-Butucaru. 2020. Atomic cross chain swaps via relays and adapters. In Proceedings of the 3rd Workshop on Cryptocurrencies and Blockchains for Distributed Systems. 59\u201364.","DOI":"10.1145\/3410699.3413799"},{"key":"e_1_3_1_34_2","doi-asserted-by":"crossref","unstructured":"Chenyang Ma Wei Song and Jeff Huang. 2023. TransRacer: Function Dependence-Guided Transaction Race Detection for Smart Contracts. In Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering. 947\u2013959.","DOI":"10.1145\/3611643.3616281"},{"key":"e_1_3_1_35_2","doi-asserted-by":"crossref","unstructured":"Robert HB Netzer and Barton P Miller. 1991. Improving the accuracy of data race detection. In Proceedings of the third ACM SIGPLAN symposium on Principles and practice of parallel programming. 133\u2013144.","DOI":"10.1145\/109625.109640"},{"key":"e_1_3_1_36_2","doi-asserted-by":"crossref","unstructured":"Tai D Nguyen Long H Pham Jun Sun Yun Lin and Quang Tran Minh. 2020. sfuzz: An efficient adaptive fuzzer for solidity smart contracts See [3].","DOI":"10.1145\/3377811.3380334"},{"key":"e_1_3_1_37_2","unstructured":"Trail of Bits. [n. d.]. Manticore: A symbolic execution tool. https:\/\/github.com\/trailofbits\/manticore\/. [accessed 10\/2023]."},{"key":"e_1_3_1_38_2","unstructured":"Daniel Perez and Benjamin Livshits. 2021. Smart contract vulnerabilities: Vulnerable does not imply exploited See [4]."},{"key":"e_1_3_1_39_2","unstructured":"Kaihua Qin Liyi Zhou and Arthur Gervais. 2022. Quantifying blockchain extractable value: How dark is the forest? See [5]."},{"key":"e_1_3_1_40_2","doi-asserted-by":"crossref","unstructured":"Michael Rodler Wenting Li Ghassan O Karame and Lucas Davi. 2019. Sereum: Protecting existing smart contracts against re-entrancy attacks. (Feb. 2019).","DOI":"10.14722\/ndss.2019.23413"},{"key":"e_1_3_1_41_2","doi-asserted-by":"crossref","first-page":"478","DOI":"10.1007\/978-3-319-70278-0_30","volume-title":"Financial Cryptography and Data Security: FC 2017 International Workshops, WAHC, BITCOIN, VOTING, WTSC, and TA, Sliema, Malta, April 7, 2017, Revised Selected Papers 21","author":"Sergey Ilya","year":"2017","unstructured":"Ilya Sergey and Aquinas Hobor. 2017. A concurrent perspective on smart contracts. In Financial Cryptography and Data Security: FC 2017 International Workshops, WAHC, BITCOIN, VOTING, WTSC, and TA, Sliema, Malta, April 7, 2017, Revised Selected Papers 21. Springer, 478\u2013493."},{"key":"e_1_3_1_42_2","unstructured":"Sunbeom So Seongjoon Hong and Hakjoo Oh. 2021. {SmarTest}: Effectively hunting vulnerable transaction sequences in smart contracts through language {Model-Guided} symbolic execution See [4]."},{"key":"e_1_3_1_43_2","doi-asserted-by":"crossref","first-page":"51","DOI":"10.1109\/DSN.2018.00018","volume-title":"2018 48th annual IEEE\/IFIP international conference on dependable systems and networks (DSN)","author":"Sousa Joao","year":"2018","unstructured":"Joao Sousa, Alysson Bessani, and Marko Vukolic. 2018. A byzantine fault-tolerant ordering service for the hyperledger fabric blockchain platform. In 2018 48th annual IEEE\/IFIP international conference on dependable systems and networks (DSN). IEEE, 51\u201358."},{"key":"e_1_3_1_44_2","doi-asserted-by":"crossref","unstructured":"Sergei Tikhomirov Ekaterina Voskresenskaya Ivan Ivanitskiy Ramil Takhaviev Evgeny Marchenko and Yaroslav Alexandrov. 2018. Smartcheck: Static analysis of ethereum smart contracts. In Proceedings of the 1st international workshop on emerging trends in software engineering for blockchain. 9\u201316.","DOI":"10.1145\/3194113.3194115"},{"key":"e_1_3_1_45_2","unstructured":"Christof Ferreira Torres Ramiro Camino et al. 2021. Frontrunner jones and the raiders of the dark forest: An empirical study of frontrunning on the ethereum blockchain See [4]."},{"key":"e_1_3_1_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/3243734.3243780"},{"key":"e_1_3_1_47_2","doi-asserted-by":"crossref","unstructured":"Shuai Wang Chengyu Zhang and Zhendong Su. 2019. Detecting nondeterministic payment bugs in ethereum smart contracts. (Oct. 2019).","DOI":"10.1145\/3360615"},{"key":"e_1_3_1_48_2","volume-title":"Proceedings of the 28th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC\/FSE)","author":"W\u00fcstholz Valentin","year":"2020","unstructured":"Valentin W\u00fcstholz and Maria Christakis. 2020. Harvey: A greybox fuzzer for smart contracts. In Proceedings of the 28th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC\/FSE). Sacramento, CA, USA."},{"key":"e_1_3_1_49_2","doi-asserted-by":"crossref","unstructured":"Valentin W\u00fcstholz and Maria Christakis. 2020. Targeted greybox fuzzing with static lookahead analysis See [3].","DOI":"10.1145\/3377811.3380388"},{"key":"e_1_3_1_50_2","unstructured":"Yinxing Xue Mingliang Ma Yun Lin Yulei Sui Jiaming Ye and Tianyong Peng. 2020. Cross-contract static analysis for detecting practical reentrancy vulnerabilities in smart contracts See [2]."},{"key":"e_1_3_1_51_2","unstructured":"Victor Zakhary Divyakant Agrawal and Amr El Abbadi. 2019. Atomic commitment across blockchains. arXiv preprint arXiv:1905.02847 (2019)."},{"key":"e_1_3_1_52_2","unstructured":"Mengya Zhang Xiaokuan Zhang Yinqian Zhang and Zhiqiang Lin. 2020. {TXSPECTOR}: Uncovering attacks in ethereum from transactions See [1]."},{"key":"e_1_3_1_53_2","doi-asserted-by":"crossref","unstructured":"Wuqi Zhang Lili Wei Shing-Chi Cheung Yepang Liu Shuqing Li Lu Liu and Michael R Lyu. 2023. Combatting Front-Running in Smart Contracts: Attack Mining Benchmark Construction and Vulnerability Detector Evaluation. IEEE Transactions on Software Engineering (2023).","DOI":"10.1109\/TSE.2023.3270117"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3715712","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T11:06:20Z","timestamp":1787483180000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3715712"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,19]]},"references-count":52,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2025,6,19]]}},"alternative-id":["10.1145\/3715712"],"URL":"https:\/\/doi.org\/10.1145\/3715712","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,19]]}}}