Lucene search
+L

1 matches found

Code423n4
Code423n4
•added 2022/08/27 12:00 a.m.•12 views

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
Rows per page
Query Builder