Skip to content

Code4rena

veToken Finance contest

Every publicly disclosed report for veToken Finance contest and what kind of bugs they were.

disclosed reports
31
most reported class
Business logic
bug classes found
4
first disclosure
2022
Find veToken Finance contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what veToken Finance contest chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
VE3DRewardPool.sol is incompatible with Bal/veBal Business logic Medium – – – 25 Oct 2022
No check for existing extraRewards during push Business logic Medium – – – 25 Oct 2022
User can lose extra rewards Business logic Medium – – – 25 Oct 2022
VE3DRewardPool and VE3DLocker adds to an unbounded array which may potentially lock all rewards in the contract DoS Medium – – – 25 Oct 2022
Incorrectly set _maxTime to be in line with the locking maxTime of each veToken could render the deposit of this contract to be unfunctional or even freeze assets inside the contract Business logic Medium – – – 25 Oct 2022
Misconfiguration of Fees Incentive Might Cause Tokens To Be Stuck In Booster Contract Business logic Medium – – – 25 Oct 2022
Deposited staking tokens can be lost if rewards token info added by mistake in addReward() in VE3DRewardPool and there is no checking to ensure this would not happen (ve3Token for one reward was equal to stacking token) Business logic Medium – – – 25 Oct 2022
Contracts should be robust to upgrades of underlying gauges and eventually changes of the underlying tokens Business logic Medium – – – 25 Oct 2022
Missing sane bounds on asset weights Business logic Medium – – – 25 Oct 2022
Booster’s shutdownPool can freeze user funds Business logic Medium – – – 25 Oct 2022
Consistently check account balance before and after transfers for Fee-On-Transfer discrepancies Business logic Medium – – – 25 Oct 2022
BaseRewardPool’s rewardPerTokenStored can be inflated and rewards can be stolen Business logic Medium – – – 25 Oct 2022
Incorrect deployment parameters Business logic Medium – – – 25 Oct 2022
Centralisation RIsk: VoterProxy owner may set the operate to an address they own and drain all token balances Access control Medium – – – 25 Oct 2022
ExtraRewardStashV2’s stashRewards can become unavailable DoS Medium – – – 25 Oct 2022
VE3DLocker.sol Wrong implementation of inversely traverse for loops always reverts DoS Medium – – – 25 Oct 2022
User can lose funds Business logic Medium – – – 25 Oct 2022
VE3DRewardPool allows the same reward address to be added multiple times to the extraRewards array Business logic Medium – – – 25 Oct 2022
VoterProxy incorrectly assumes a 1-1 mapping between the gauge and the LP tokens. Business logic Medium – – – 25 Oct 2022
VE3DRewardPool claim in loop depend on pausable token DoS Medium – – – 25 Oct 2022
Governance can arbitrarily burn VeToken from any address Access control Medium – – – 25 Oct 2022
Admin Privilege in minting to arbitrary address allows operator to dilute tokens Access control Medium – – – 25 Oct 2022
Malicious operator can rug pull Access control Medium – – – 25 Oct 2022
compromised owner can drain funds from VeTokenMinter.sol Access control Medium – – – 25 Oct 2022
Unable To Get Rewards If Admin Withdraws $VE3D tokens From VeTokenMinter Contract Business logic Medium – – – 25 Oct 2022
in notifyRewardAmount() of VE3DRewardPool and BaseRewardPool some tokes will be locked and not distributed becasue of rounding error Smart contracts Medium – – – 25 Oct 2022
Not updating totalWeight when operator is removed in VeTokenMinter Smart contracts Medium – – – 25 Oct 2022
Duplicate LP token could lead to incorrect deposits Business logic Medium – – – 25 Oct 2022
Owner should be allowed to change feeManager Access control Medium – – – 25 Oct 2022
Unused rewards(because of totalSupply()==0 for some period) will be locked forever in VE3DRewardPool and BaseRewardPool Business logic Medium – – – 25 Oct 2022