Please use this identifier to cite or link to this item: https://hdl.handle.net/10316/106152
Title: Using Fault Injection to Assess Blockchain Systems in Presence of Faulty Smart Contracts
Authors: Hajdu, Ákos
Ivaki, Naghmeh 
Kocsis, Imre
Klenik, Attila
Gönczy, László
Laranjeiro, Nuno 
Madeira, Henrique 
Pataricza, András
Keywords: Blockchain systems; dependability; fault injection; formal verification; smart contracts
Issue Date: 20-Jun-2020
Publisher: IEEE
Serial title, monograph or event: IEEE Access
Volume: 8
Abstract: Blockchain has become particularly popular due to its promise to support business-critical services in very different domains (e.g., retail, supply chains, healthcare). Blockchain systems rely on complex middleware, like Ethereum or Hyperledger Fabric, that allow running smart contracts, which specify business logic in cooperative applications. The presence of software defects or faults in these contracts has notably been the cause of failures, including severe security problems. In this paper, we use a software implemented fault injection (SWIFI) technique to assess the behavior of permissioned blockchain systems in the presence of faulty smart contracts. We emulate the occurrence of general software faults (e.g., missing variable initialization) and also blockchain-specific software faults (e.g., missing require statement on transaction sender) in smart contracts code to observe the impact on the overall system dependability (i.e., reliability and integrity). We also study the effectiveness of formal verification (i.e., done by solc-verify) and runtime protections (e.g., using the assert statement) mechanisms in detection of injected faults. Results indicate that formal verification as well as additional runtime protections have to complement built-in platform checks to guarantee the proper dependability of blockchain systems and applications. The work presented in this paper allows smart contract developers to become aware of possible faults in smart contracts and to understand the impact of their presence. It also provides valuable information for middleware developers to improve the behavior (e.g., overall fault tolerance) of their systems.
Description: Authors' manuscript. Published in IEEE Access 2020. The final publication is available at IEEE via http://dx.doi.org/10.1109/ACCESS.2020.3032239
URI: https://hdl.handle.net/10316/106152
ISSN: 2169-3536
DOI: 10.1109/ACCESS.2020.3032239
Rights: openAccess
Appears in Collections:I&D CISUC - Artigos em Revistas Internacionais

Show full item record

WEB OF SCIENCETM
Citations

3
checked on May 2, 2023

Page view(s)

46
checked on Apr 24, 2024

Download(s)

15
checked on Apr 24, 2024

Google ScholarTM

Check

Altmetric

Altmetric


This item is licensed under a Creative Commons License Creative Commons