ID:
godwoken-chain-1307
100 pts
Platform:
Type:
Category:
Method:
Data Sources:
Godwoken
Layer 2
Layer 2
Rewards - Bug Bounties
Extended Method:
Incorrect implementation of evmone EVM
Days in Operation:
0





100 pts each
Yaron Velner of RiskDAO reported a critical vulnerability in Godwoken Chain where it is possible to undo the effect of EVM reverts. This discovery led to the possibility to execute flash loan to drain the DEX TVL without paying it back.
Godwoken chain is a Layer 2 built using Nervos' Layer 1. It is an inherently multi-chain solution utilizing advanced account abstraction that allows for flexible wallet support, or traditional user accounts, for an internet-like experience.
The critical issue was patched by the Godwoken team and an undisclosed bounty was awarded.
The root cause for the bug is that evmone (the EVM implementation Godwoken is using) requires the ‘host’ to revert the call failure (include logs, account state, and other state changes make inside the call), in the buggy version they ignored this mechanism (and assumed the evmone will do the reverting job between calls), and only handled the whole transaction level reverting.
DISCLAIMER: While web3rekt has used the best efforts in aggregating and maintaining this database, this web site makes no representations or warranties with respect to the accuracy or completeness of its information and data herein, and specifically disclaim any implied warranties of merchantability or fitness for any particular purpose.
Under no circumstances, shall web3rekt be liable for any loss of profit or funds, any regulatory or governmental penalties, any legal costs, or any other commercial and non-commercial damages, including but not limited to special, incidental, consequential, or other damages from any or all usage of the data and information derived from this database.