Automated Repair of Smart Contract Vulnerabilities: A Systematic Literature Review
Open Access
- 6 October 2024
- journal article
- review article
- Published by MDPI AG in Electronics
- Vol. 13 (19) , 3942
Abstract
The substantial value held by smart contracts (SCs) makes them an enticing target for malicious attacks. The process of fixing vulnerabilities in SCs is intricate, primarily due to the immutability of blockchain technology. This research paper introduces a systematic literature review (SLR) that evaluates rectification systems designed to patch vulnerabilities in SCs. Following the guidelines set forth by the PRISMA statement, this SLR meticulously reviews a total of 31 papers. In this context, we classify recently published SC automated repair frameworks based on their methodologies for automatic program repair (APR), rewriting strategies, and tools for vulnerability detection. We argue that automated patching enhances the reliability and adoption of SCs, thereby allowing developers to promptly address identified vulnerabilities. Furthermore, existing automated repair tools are capable of addressing only a restricted range of vulnerabilities, and in some cases, patches may not be effective in preventing the targeted vulnerabilities. Another key point that should be taken into account is the simplicity of the patch and the gas consumption of the modified program. Alternatively, large language models (LLMs) have opened new avenues for automatic patch generation, and their performance can be improved by innovative methodologies.Keywords
This publication has 52 references indexed in Scilit:
- An overview of blockchain smart contract execution mechanismJournal of Industrial Information Integration, 2024
- ReenRepair: Automatic and semantic equivalent repair of reentrancy in smart contractsJournal of Systems and Software, 2024
- A novel approach to optimizing transaction processing rate and space requirement of blockchain via off-chain architectureInternational Journal of Information Technology, 2024
- Improving Coverage and Vulnerability Detection in Smart Contract Testing Using Self-Adaptive Learning GAIETE Journal of Research, 2023
- Tips: towards automating patch suggestion for vulnerable smart contractsAutomated Software Engineering, 2023
- A bytecode‐based integrated detection and repair method for reentrancy vulnerabilities in smart contractsIET Blockchain, 2023
- An empirical study on real bug fixes from solidity smart contract projectsJournal of Systems and Software, 2023
- SRP: An Efficient Runtime Protection Framework for Blockchain-based Smart ContractsJournal of Network and Computer Applications, 2023
- A survey on smart contract vulnerabilities: Data sources, detection and repairInformation and Software Technology, 2023
- A large‐scale empirical study of low‐level function use in Ethereum smart contracts and automated replacementSoftware: Practice and Experience, 2022