We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.SE

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Software Engineering

Title: Using Fault Injection to Assess Blockchain Systems in Presence of Faulty Smart Contracts

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.
Comments: Authors' manuscript. Published in IEEE Access 2020. The final publication is available at IEEE via this http URL
Subjects: Software Engineering (cs.SE)
DOI: 10.1109/ACCESS.2020.3032239
Cite as: arXiv:2006.11597 [cs.SE]
  (or arXiv:2006.11597v2 [cs.SE] for this version)

Submission history

From: Ákos Hajdu [view email]
[v1] Sat, 20 Jun 2020 15:35:55 GMT (1000kb,D)
[v2] Thu, 22 Oct 2020 07:16:51 GMT (998kb,D)

Link back to: arXiv, form interface, contact.