Skip to content

Code4rena

Yield Witch v2 contest

Every publicly disclosed report for Yield Witch v2 contest and what kind of bugs they were.

disclosed reports
27
most reported class
Business logic
bug classes found
4
first disclosure
2021
Find Yield Witch v2 contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Yield Witch v2 contest chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Incorrect amount of Collateral moves for Auction Business logic High – – – 3 Oct 2022
Someone can create non-liquidatable auction if the collateral asset fails on transferring to address(0) Business logic High – – – 3 Oct 2022
Oracle data feed is insufficiently validated – Medium – – – 4 Mar 2022
Rewards distribution can be disrupted by a early user DoS Medium – – – 4 Mar 2022
Malicious Users Can Transfer Vault Collateral To Other Accounts To Extract Additional Yield From The Protocol Business logic High – – – 4 Mar 2022
Malicious Users Can Duplicate Protocol Earned Yield By Transferring wCVX Tokens To Another Account Business logic High – – – 4 Mar 2022
Rewards accumulated can stay constant and often not increment – High – – – 17 Sep 2021
CompositeMultiOracle returns wrong decimals for prices? Business logic High – – – 17 Sep 2021
No ERC20 safe* versions called Business logic Medium – – – 17 Sep 2021
Rewards squatting - setting rewards in different ERC20 tokens opens various economic attacks. Business logic Medium – – – 17 Sep 2021
Exchange rates from Compound are assumed with 18 decimals Business logic High – – – 17 Sep 2021
TimeLock cannot schedule the same calls multiple times Business logic Medium – – – 17 Sep 2021
ERC20Rewards breaks when setting a different token Business logic High – – – 17 Sep 2021
Use safeTransfer instead of transfer Smart contracts Medium – – – 17 Sep 2021
ERC20Rewards returns wrong rewards if no tokens initially exist Smart contracts High – – – 17 Sep 2021
Uninitialized or Incorrectly set auctionInterval may lead to liquidation engine livelock Business logic Medium – – – 23 Jul 2021
Potential griefing with DoS by front-running vault creation with same vaultID DoS Medium – – – 23 Jul 2021
User can redeem more tokens by artificially increasing the chi accrual Business logic Medium – – – 23 Jul 2021
Users can avoid paying borrowing interest after the fyToken matures Business logic Medium – – – 23 Jul 2021
Witch can’t give back vault after 2x grab Business logic Medium – – – 23 Jul 2021
Possible DoS attack when creating Joins in Wand DoS Medium – – – 23 Jul 2021
auth only works well with external functions Access control Medium – – – 23 Jul 2021
Duplication of Balance Business logic High – – – 23 Jul 2021
auth collision possible Access control High – – – 23 Jul 2021
Violation of implicit constraints in batched operations may break protocol assumptions Business logic Medium – – – 23 Jul 2021
YieldMath.sol / Log2: >= or > ? Smart contracts High – – – 23 Jul 2021
Uniswap Oracle uses wrong prices – Medium – – – 23 Jul 2021