Code4rena
Frax Ether Liquid Staking contest
Every publicly disclosed report for Frax Ether Liquid Staking contest and what kind of bugs they were.
- disclosed reports
- 27
- most reported class
- Business logic
- bug classes found
- 5
- first disclosure
- 2022
Disclosed reports
Newest first. Only what Frax Ether Liquid Staking contest chose to make public.
-
Liquidator might end up paying much more asset than collateral received
Business logic Medium Audit finding
-
FraxlendPair#setTimeLock: Allows the owner to reset TIME LOCK ADDRESS
Access control Medium Audit finding
-
FraxlendPair.sol is not fully EIP-4626 compliant
Smart contracts Medium Audit finding
-
Decimals limitation limits the tokens that can be used
Business logic Medium Audit finding
-
Fraxlend pair deployment can be front-run by a custom pair deployment
Business logic Medium Audit finding
-
Wrong percent for FraxlendPairCore.dirtyLiquidationFee .
Business logic Medium Audit finding
-
FraxlendPair.changeFee() doesn’t update interest before changing fee.
Business logic Medium Audit finding
-
Impossible to setCreationCode() with code size less than 13K
DoS Medium Audit finding
-
Owner of FraxlendPair can set arbitrary time lock contract address to circumvent time lock
Access control Medium Audit finding
-
Denial of service in globalPause by wrong logic
DoS Medium Audit finding
-
Any borrower with bad debt can be liquidated multiple times to lock funds in the lending pair
Business logic High Audit finding
-
liquidate() doesn’t mark off bad debt, leading to a ‘last lender to withdraw loses’ scenario
Business logic High Audit finding
-
No incentives to write off bad debt when remaining collateral is very small
Business logic Medium Audit finding
-
Penalty rate is used for pre-maturity date as well
Business logic Medium Audit finding
-
Interest can be significantly lower if addInterest isn’t called frequently enough
Business logic Medium Audit finding
-
Withheld ETH shoud not be sent back to the frxETHMinter contract itself
Business logic Medium Audit finding
-
frxETHMinter.depositEther may run out of gas, leading to lost ETH
DoS Medium Audit finding
-
recoverEther not updating currentWithheldETH breaks calculation of withheld amount for further deposits
Business logic Medium Audit finding
-
sfrxETH: The volatile result of previewMint() may prevent mintWithSignature from working
Business logic Medium Audit finding
-
frxETHMinter: Non-conforming ERC20 tokens not recoverable
Business logic Medium Audit finding
-
getNextValidator() error could temporarily make depositEther() inoperable
DoS Medium Audit finding
-
removeValidator() and removeMinter() may fail due to exceeding gas limit
DoS Medium Audit finding
-
frxETH can be depegged due to ETH staking balance slashing
Smart contracts Medium Audit finding
-
Rewards delay release could cause yields steal and loss
Business logic Medium Audit finding
-
Frontrunning by malicious validator
Race condition High Audit finding
-
Wrong accounting logic when syncRewards() is called within beforeWithdraw makes withdrawals impossible
Business logic High Audit finding