1 matches found
The attacker consumes the contract's balance by controlling the gas-price or gas-used.
Lines of code Vulnerability details Impact The attacker consumes all of the contract's balance by controlling the gasPrice and gasUsed. Proof of Concept function refundGasuint256 startGas internal unchecked uint256 balance = addressthis.balance; if balance == 0 return; uint256 gasPrice =...
6.8AI score
SaveExploits0
20