Code4rena
Velodrome Finance contest
Every publicly disclosed report for Velodrome Finance contest and what kind of bugs they were.
- disclosed reports
- 23
- most reported class
- Business logic
- bug classes found
- 5
- first disclosure
- 2022
Disclosed reports
Newest first. Only what Velodrome Finance contest chose to make public.
-
Gauge set can be front run if bribe and gauge constructors aren’t run atomically
Race condition Medium Audit finding
-
Bribe Rewards Struck In Contract If Deposited During First Epoch
Business logic High Audit finding
-
VotingEscrow ’s merge and withdraw aren’t available for approved users
Access control High Audit finding
-
Owner’s delegates should be decreased in _burn()
DoS Medium Audit finding
-
RedemptionSender should estimate fees to prevent failed transactions
Business logic Medium Audit finding
-
Bribe.sol is not meant to handle fee-on-transfer tokens
Business logic Medium Audit finding
-
Alter velo receptions computation
Business logic Medium Audit finding
-
Wrong reward distribution in Bribe because deliverReward() won’t set tokenRewardsPerEpoch[token][epochStart] to 0
Business logic Medium Audit finding
-
Griefing Attack By Extending The Reward Duration
Business logic Medium Audit finding
-
Wrong DOMAIN_TYPEHASH definition
Smart contracts Medium Audit finding
-
VeloGovernor : proposalNumerator and team are updated by team, not governance
Access control Medium Audit finding
-
WeVE (FTM) may be lost forever if redemption process is failed
Business logic Medium Audit finding
-
Wrong calculation for the new rewardRate[token] can cause some of the late users can not get their rewards
Business logic Medium Audit finding
-
Bribe Rewards Not Collected In Current Period Will Be Lost Forever
Business logic Medium Audit finding
-
Rewards aren’t updated before user’s balance change in Gauge’s withdrawToken
Business logic Medium Audit finding
-
Temporary DOS by calling notifyRewardAmount() in Bribe/Gauge with malicious tokens
DoS Medium Audit finding
-
Voting tokens may be lost when given to non-EOA accounts
Business logic Medium Audit finding
-
Attacker can block LayerZero channel
DoS High Audit finding
-
Voting overwrites checkpoint.voted in last checkpoint, so users can just vote right before claiming rewards
Business logic High Audit finding
-
User rewards stop accruing after any _writeCheckpoint calling action
Business logic High Audit finding
-
Users can get unlimited votes
Smart contracts High Audit finding