
sudo rm -rf --no-preserve-root /|Jul 26, 2025 10:51
There is an interesting new pattern by scammers to make compromised wallets completely break so you can't send any funds to it for any rescues. TL;DR: If you EIP-7702 _self-delegate_ your wallet address you completely brick your wallet. So how does this work? If you set your own EOA wallet as delegation address, the code set at your wallet is `0xef0100 || your_address`. Now according to EIP-7702, the delegation indicator uses the _banned_ opcode `0xef` to indicate that the code must be handled differently than regular code. So all good? You might even think this will create a potential infinite chain/loop of delegations, but no, according to the specs: "clients must retrieve only the first code and then stop following the delegation chain." So what happens is that when you self-delegate to your own address, you invoke effectively the invalid opcode `0xef` for every tx going through your wallet and the transaction will revert.(sudo rm -rf --no-preserve-root /)
Share To
Timeline
HotFlash
APP
X
Telegram
CopyLink