Smart contract repair

Smart contracts are automated or self-enforcing contracts that can be used to exchange assets without having to place trust in third parties. Many commercial transactions use smart contracts due to their potential benefits in terms of secure peer-to-peer transactions independent of external parties....

Full description

Saved in:
Bibliographic Details
Main Authors: YU, Xiao Liang, AL-BATAINEH, Omar, LO, David, ROYCHOUDHURY, Abhik
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2020
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/5623
https://ink.library.smu.edu.sg/context/sis_research/article/6626/viewcontent/SmartContractRepair_av.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-6626
record_format dspace
spelling sg-smu-ink.sis_research-66262021-05-14T06:36:32Z Smart contract repair YU, Xiao Liang AL-BATAINEH, Omar LO, David ROYCHOUDHURY, Abhik Smart contracts are automated or self-enforcing contracts that can be used to exchange assets without having to place trust in third parties. Many commercial transactions use smart contracts due to their potential benefits in terms of secure peer-to-peer transactions independent of external parties. Experience shows that many commonly used smart contracts are vulnerable to serious malicious attacks, which may enable attackers to steal valuable assets of involving parties. There is, therefore, a need to apply analysis and automated repair techniques to detect and repair bugs in smart contracts before being deployed. In this work, we present the first general-purpose automated smart contract repair approach that is also gas-aware. Our repair method is search-based and searches among mutations of the buggy contract. Our method also considers the gas usage of the candidate patches by leveraging our novel notion of gas dominance relationship. We have made our smart contract repair tool SCRepair available open-source, for investigation by the wider community. 2020-09-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/5623 info:doi/10.1145/3402450 https://ink.library.smu.edu.sg/context/sis_research/article/6626/viewcontent/SmartContractRepair_av.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Program repair smart contract Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Program repair
smart contract
Software Engineering
spellingShingle Program repair
smart contract
Software Engineering
YU, Xiao Liang
AL-BATAINEH, Omar
LO, David
ROYCHOUDHURY, Abhik
Smart contract repair
description Smart contracts are automated or self-enforcing contracts that can be used to exchange assets without having to place trust in third parties. Many commercial transactions use smart contracts due to their potential benefits in terms of secure peer-to-peer transactions independent of external parties. Experience shows that many commonly used smart contracts are vulnerable to serious malicious attacks, which may enable attackers to steal valuable assets of involving parties. There is, therefore, a need to apply analysis and automated repair techniques to detect and repair bugs in smart contracts before being deployed. In this work, we present the first general-purpose automated smart contract repair approach that is also gas-aware. Our repair method is search-based and searches among mutations of the buggy contract. Our method also considers the gas usage of the candidate patches by leveraging our novel notion of gas dominance relationship. We have made our smart contract repair tool SCRepair available open-source, for investigation by the wider community.
format text
author YU, Xiao Liang
AL-BATAINEH, Omar
LO, David
ROYCHOUDHURY, Abhik
author_facet YU, Xiao Liang
AL-BATAINEH, Omar
LO, David
ROYCHOUDHURY, Abhik
author_sort YU, Xiao Liang
title Smart contract repair
title_short Smart contract repair
title_full Smart contract repair
title_fullStr Smart contract repair
title_full_unstemmed Smart contract repair
title_sort smart contract repair
publisher Institutional Knowledge at Singapore Management University
publishDate 2020
url https://ink.library.smu.edu.sg/sis_research/5623
https://ink.library.smu.edu.sg/context/sis_research/article/6626/viewcontent/SmartContractRepair_av.pdf
_version_ 1770575532398739456