Towards an Ethereum Smart Contract Fuzz Testing Tool
Mariam Lahami, Moez Krichen, Moez Krichen, Mohamed Mnassar, Racem Mrabet, Mohamed Ben Rhouma
2024
Abstract
The widespread and well-known blockchain platform that makes use of smart contracts is Ethereum. The key feature of these computer programs is that once deployed, they cannot be updated anymore. Therefore, it is highly necessary to efficiently test smart contracts before their deployment. This paper presents a Web-based testing tool called LeoKai that makes it easy to automatically generate test inputs and also unit test templates to detect bugs and vulnerabilities in Ethereum smart contracts. It helps developers to perform manual UI tests by invoking smart contracts deployed on the Ganache blockchain. Furthermore, it supports black-box fuzz testing and randomly generates test inputs. Blockchain developers may use the unit test template generator to generate unit tests. It also includes a code coverage module that highlights their efficiency by assessing function, branch, and line coverage. Finally, the prototype and its implementation details are illustrated.
DownloadPaper Citation
in Harvard Style
Lahami M., Krichen M., Mnassar M., Mrabet R. and Ben Rhouma M. (2024). Towards an Ethereum Smart Contract Fuzz Testing Tool. In Proceedings of the 19th International Conference on Software Technologies - Volume 1: ICSOFT; ISBN 978-989-758-706-1, SciTePress, pages 137-144. DOI: 10.5220/0012785400003753
in Bibtex Style
@conference{icsoft24,
author={Mariam Lahami and Moez Krichen and Mohamed Mnassar and Racem Mrabet and Mohamed Ben Rhouma},
title={Towards an Ethereum Smart Contract Fuzz Testing Tool},
booktitle={Proceedings of the 19th International Conference on Software Technologies - Volume 1: ICSOFT},
year={2024},
pages={137-144},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0012785400003753},
isbn={978-989-758-706-1},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 19th International Conference on Software Technologies - Volume 1: ICSOFT
TI - Towards an Ethereum Smart Contract Fuzz Testing Tool
SN - 978-989-758-706-1
AU - Lahami M.
AU - Krichen M.
AU - Mnassar M.
AU - Mrabet R.
AU - Ben Rhouma M.
PY - 2024
SP - 137
EP - 144
DO - 10.5220/0012785400003753
PB - SciTePress