Lucene search
+L

2 matches found

Code423n4
Code423n4
•added 2022/09/25 12:0 a.m.•9 views

withheld_amt calculation is done after minting frxETHToken tokens

Lines of code Vulnerability details Proof of concept The submit method in frxETHMinter.sol has the following code // Give the sender frxETH frxETHToken.mintermintrecipient, msg.value; // Track the amount of ETH that we are keeping uint256 withheldamt = 0; if withholdRatio != 0 withheldamt =...

6.7AI score
SaveExploits0
Code423n4
Code423n4
•added 2022/09/25 12:0 a.m.•8 views

recoverEther not updating currentWithheldETH breaks calculation of withheld amount for further deposits

Lines of code Vulnerability details The emergency exit function recoverEther allows the owner to retrieve the ETH in case an issue were to happen. The problem is that this function does not update currentWithheldETH. This means upon deposit starting again after the emergency recovery,...

6.8AI score
SaveExploits0
Rows per page
Query Builder