EVMPatch: Timely and Automated Patching of Ethereum Smart Contracts
Michael Rodler, Wenting Li, Ghassan O. Karame, Lucas Davi

TL;DR
EVMPatch is a framework that automatically and instantly patches vulnerable Ethereum smart contracts by rewriting bytecode, significantly reducing manual effort and attack success while maintaining contract functionality.
Contribution
This paper introduces EVMPatch, a novel automated bytecode rewriting framework for instant smart contract patching, addressing the delay and error-proneness of manual upgrades.
Findings
Successfully blocks attack transactions on 14,000 vulnerable contracts
Reduces contract upgrade time by 97.6%
Maintains functional equivalence after patching
Abstract
Recent attacks exploiting errors in smart contract code had devastating consequences thereby questioning the benefits of this technology. It is currently highly challenging to fix errors and deploy a patched contract in time. Instant patching is especially important since smart contracts are always online due to the distributed nature of blockchain systems. They also manage considerable amounts of assets, which are at risk and often beyond recovery after an attack. Existing solutions to upgrade smart contracts depend on manual and error-prone processes. This paper presents a framework, called EVMPatch, to instantly and automatically patch faulty smart contracts. EVMPatch features a bytecode rewriting engine for the popular Ethereum blockchain, and transparently/automatically rewrites common off-the-shelf contracts to upgradable contracts. The proof-of-concept implementation of EVMPatch…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBlockchain Technology Applications and Security · Security and Verification in Computing · Advanced Malware Detection Techniques
