Papers1 provider Ā· 1 record
July 6, 2023Ā· 2023 14th International Conference on Computing Communication and Networking Technologies (ICCCNT)
conference-paper

Function Locking Fused with Hashing Technique to Mitigate Re-entrancy Attacks in Smart Contract

Authors:Shiyam Sundar SM. Swapna

Abstract

Reentrancy attacks have been a significant threat to smart contracts on blockchain platforms. This attack allows an attacker to repeatedly call a vulnerable function in a contract, leading to unexpected behavior and loss of funds. In this research paper, we propose a preventive approach to mitigate the reentrancy attack by introducing a locking mechanism. Our proposed method involves the use of a lock that prevents a contract from being called again until the previous execution is completed. We implement and evaluate our proposed approach on the Ethereum blockchain platform using various benchmarks. Our results show that our approach effectively prevents reentrancy attacks while incurring a low overhead cost. Our proposed approach can be integrated into smart contract development to enhance security and protect against reentrancy attacks by implementing the Function locking technique and Verifying by hashing technique.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.