Skip to content

Code4rena

bveCVX by BadgerDAO contest

Every publicly disclosed report for bveCVX by BadgerDAO contest and what kind of bugs they were.

disclosed reports
3
most reported class
Business logic
bug classes found
1
first disclosure
2021
Find bveCVX by BadgerDAO contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what bveCVX by BadgerDAO contest chose to make public.

Business logic

CvxLocker.setBoost wrong validation

The setBoost function validated existing storage variables instead of the new parameters, allowing incorrect boost values to be set. Once set, these values could not be changed, breaking core contract functionality.

bveCVX by BadgerDAO contest

Medium
Business logic

veCVXStrategy.manualRebalance has wrong logic

The manualRebalance function in veCVXStrategy compares two values that represent different things: a percentage and a token amount. This broken comparison causes the rebalancing logic to lock nearly all tokens when the total balance is high.

bveCVX by BadgerDAO contest

High
Business logic

SettV3.transferFrom block lock can be circumvented

The block lock in SettV3.transferFrom only checks the caller's address, not the token holder's, so an attacker can bypass it by using a second account to transfer tokens and then withdraw in the same block. This defeats the intended protection against flashloan attacks.

bveCVX by BadgerDAO contest

Medium