Exploits
Solidity Attack Vector #1: Self-Destruct Exploits
SecurityInfinity Research•5 min read
Solidity Attack Vector #1: Self-Destruct Exploits
The selfdestruct opcode is the ultimate weapon for force-feeding Ether to a contract that doesn't want it.
The Vulnerability
Using balance checks as security gates.
Defense
Internal accounting variables are your only shield against selfdestruct.