Papers1 provider Ā· 1 record
September 2, 2024Ā· 2024 IEEE International Conference on Cyber Security and Resilience (CSR)
conference-paper

Static Detection of Missing Validations in Solidity Smart Contracts

Authors:Sundas MunirWalid TahaMirza Sanam Iqbal Baig

Abstract

The Solidity smart contract language is deterministic by design. Nevertheless, some instances of nondeterminism (ND) in smart contracts stem from unpredictable inputs received during execution, such as inputs from asynchronous callbacks of Oracles or externally called contracts that halt unexpectedly. Such values must be validated to meet prespecified criteria before they reach critical program parts; otherwise, they can lead to nondeterministic state outcomes in smart contracts, which we refer to as ND-issues. To detect ND-issues, we propose an information flow-based analysis that tracks the unpredictable inputs and return values that are not validated before reaching critical program parts. We have implemented our proposal in FONOVA and evaluated it using 326 frequently used Ethereum smart contracts. The evaluation shows that FONOVA detects five times more exploitable instances of ND-issues with 12 times shorter analysis time than leading tools like Ethainter, Securify, and Mythril.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.