Lucene search
+L

4 matches found

Code423n4
Code423n4
•added 2022/09/25 12:00 a.m.•37 views

First xERC4626 deposit can break the share calculation.

Lines of code Vulnerability details Impact New xERC4626 vault share price can be manipulated right after creation. Which give early depositor greater share portion of the vault during the first cycle. While deposit token also affected by rounding precision due to the exploit showed in the POC tha...

6.9AI score
SaveExploits0
Code423n4
Code423n4
•added 2021/07/31 12:00 a.m.•10 views

_setYieldSource does not reset approval

Handle cmichel Vulnerability details The SwappableYieldSource.setYieldSource function approves the new yield source but does not reset the old yield source's approval to zero. It could be the case that the old yield source is compromised or has a bug and could therefore transfer and steal any...

6.8AI score
SaveExploits0
Code423n4
Code423n4
•added 2021/07/31 12:00 a.m.•10 views

SwappableYieldSource: Missing same deposit token check in transferFunds()

Handle hickuphh3 Vulnerability details Impact transferFunds will transfer funds from a specified yield source yieldSource to the current yield source set in the contract currentYieldSource. However, it fails to check that the deposit tokens are the same. If the specified yield source's assets are...

6.7AI score
SaveExploits0
Code423n4
Code423n4
•added 2021/07/31 12:00 a.m.•6 views

redeemToken can fail for certain tokens

Handle cmichel Vulnerability details The SwappableYieldSource.redeemToken function transfers tokens from the contract back to the sender, however, it uses the ERC20.transferFromaddressthis, msg.sender, redeemableBalance function for this. Some deposit token implementations might fail as...

6.9AI score
SaveExploits0
Rows per page
Query Builder