Code4rena
Yieldy contest
Every publicly disclosed report for Yieldy contest and what kind of bugs they were.
- disclosed reports
- 31
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2022
Disclosed reports
Newest first. Only what Yieldy contest chose to make public.
-
Denial of Service by wrong BatchRequests.removeAddress logic
DoS High Audit finding
-
Unsecure transferFrom
Smart contracts Medium Audit finding
-
MINTER BURNER ROLE can burn any amount of Yieldy from an arbitrary address
Access control Medium Audit finding
-
Arbitrage on stake()
Business logic Medium Audit finding
-
Withdrawals initiated after cycle withdrawal request won’t be withdrawn in the correct cycle
Business logic Medium Audit finding
-
No way to set CURVE_POOL approval after setting new curve pool address
Business logic Medium Audit finding
-
Inconsistent balance when fee-on transfer tokens.
Business logic Medium Audit finding
-
Incorrect rebase percentage calculation
Business logic Medium Audit finding
-
Removal of liquidity from the reserve can be griefed
DoS Medium Audit finding
-
User fund lose in addLiquidity() of LiquidityReserve by increasing (totalLockedValue / totalSupply()) to very large number by attacker
Business logic Medium Audit finding
-
Incorrect withdrawal requested
Business logic Medium Audit finding
-
Staking preSign could use some basic validations
Business logic Medium Audit finding
-
coolDown & warmUp period do not work when a low _firstEpochEndTime is passed to initialize
Business logic Medium Audit finding
-
instantUnstake fee can be avoided
Business logic Medium Audit finding
-
instantUnstake function can be frontrunned with fee increase
Business logic Medium Audit finding
-
User can initiate withdraw for previous epoch if rebase hasn’t been called since end of epoch
Business logic Medium Audit finding
-
Burn access control can be bypassed
Access control Medium Audit finding
-
Cannot mint to exactly max supply using _mint function
Business logic Medium Audit finding
-
MINIMUM_LIQUIDITY checks missing - Bringing Liquidity below required min
Business logic Medium Audit finding
-
No withdrawal possible for ETH TOKE pool
Business logic High Audit finding
-
Staking.sol#stake() DoS by staking 1 wei for the recipient when warmUpPeriod > 0
DoS High Audit finding
-
Yield of LiquidityReserve can be stolen
Business logic High Audit finding
-
It’s possible to perform DOS and fund lose in Stacking by transferring tokens directly to contract
DoS Medium Audit finding
-
Possible DOS (out-of-gas) on loops.
DoS Medium Audit finding
-
Rebases can be frontrun with very little token downtime even when warmUpPeriod > 0
Business logic Medium Audit finding
-
Users of Migration.sol may forfeit rebase rewards
Business logic Medium Audit finding
-
Sending batch withdrawal requests can possibly DoS
DoS Medium Audit finding
-
_storeRebase() is called with the wrong parameters
Business logic Medium Audit finding
-
Staking: rebase() does not rebase according to the status of the current epoch.
Business logic Medium Audit finding