Papers1 provider · 1 record
January 1, 2022· OASIcs, Volume 105, FMBC 2022
conference-paper

Automatic Generation of Attacker Contracts in Solidity

Abstract

Smart contracts on the Ethereum blockchain continue to suffer from well-published problems. A particular example is the well-known smart contract reentrancy vulnerability, which continues to be exploited. In this article, we present preliminary work on a method which, given a smart contract that may be vulnerable to such a reentrancy attack, proceeds to attempt to automatically derive an "attacker" contract which can be used to successfully attack the vulnerable contract. The method uses property-based testing to generate, semi-randomly, large numbers of potential attacker contracts, and then proceeds to check whether any of them is a successful attacker. The method is illustrated using a case study where an attack is derived for a vulnerable contract.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.