Ethereum alarm clock Hack
What happened
In October 2022 at least 24 addresses exploited a gas-refund bug in Ethereum Alarm Clock, a years-old protocol for scheduling Ethereum transactions. When a scheduled transaction request was cancelled, the TransactionRequestCore contract refunded the caller's gas cost, but it overestimated that cost. Callers who cancelled requests with very high gas prices got back more ETH than they had spent.
PeckShield flagged the activity on 19 October 2022, and exploiters had collected about 204 ETH (about $260K). Because the profit rose with gas price, a large share went to block producers through MEV-Boost: reports said miners received about 51% of the gain. No public response from the project's developers was reported.
How it happened
- Ethereum Alarm Clock users schedule a future transaction by creating a request in
TransactionRequestCoreand depositing ETH to pay for its execution. - The contract's
cancel()function reimburses the caller for gas, computed as a gas-used figure (reports cite an 85,000 threshold) multiplied by the caller's gas price. This payout was larger than the fee the call actually cost. - Exploiters called
cancel()on requests with abnormally high gas prices, which scaled up the refund, and kept the difference between the refund and their real fee. - The high gas prices paid block producers, who reportedly received about 51% of each gain through MEV-Boost. Exploiters kept about 204 ETH in total.
Protocol details
Evidence
- report @peckshield incident report twitter.com
- transaction etherscan.io transaction 0x4a84…4e97 etherscan.io
- analysis Ethereum Alarm Clock exploit leads to $260K in stolen gas fees so far cointelegraph.com
- analysis Web Archive archive.ph
- analysis DeFiLlama defillama.com
- analysis $260,000 Worth of ETH Stolen From the Ethereum Alarm Clock Protocol crypto.news
- analysis Ethereum Alarm Clock's smart contract is being targeted by exploiters theblock.co
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.