Code4rena
Vader Protocol contest
Every publicly disclosed report for Vader Protocol contest and what kind of bugs they were.
- disclosed reports
- 117
- most reported class
- Business logic
- bug classes found
- 6
- first disclosure
- 2021
Disclosed reports
Newest first. Only what Vader Protocol contest chose to make public.
-
TWAPOracle.getRate does not scale the ratio
Medium Audit finding
-
Unclear TwapOracle.consult algorithm
Business logic Medium Audit finding
-
Tokens with fee on transfer are not supported
Business logic Medium Audit finding
-
No way to remove GasThrottle after deployment
DoS Medium Audit finding
-
Users Can Reset Bond Depositor’s Vesting Period
Business logic Medium Audit finding
-
VaderPoolV2.mintFungible exposes users to unlimited slippage
Business logic High Audit finding
-
Early user can break addLiquidity
Business logic High Audit finding
-
Wrong design/implementation of addLiquidity() allows attacker to steal funds from the liquidity pool
Business logic High Audit finding
-
Unrestricted vestFor
Access control High Audit finding
-
Unused slippage params
Business logic High Audit finding
-
Minting and burning synths exposes users to unlimited slippage
Business logic High Audit finding
-
TwapOracle doesn’t calculate VADER:USDV exchange rate correctly
Smart contracts High Audit finding
-
Paying IL protection for all VaderPool pairs allows the reserve to be drained.
Business logic High Audit finding
-
USDV and VADER rate can be wrong
Smart contracts High Audit finding
-
calculate Loss is vulnerable to flashloan attack
Business logic High Audit finding
-
(dex-v1) BasePool.mint() function can be frontrun
Race condition High Audit finding
-
Anyone Can Arbitrarily Mint Synthetic Assets In VaderPoolV2.mintSynth()
Access control High Audit finding
-
Anyone Can Arbitrarily Mint Fungible Tokens In VaderPoolV2.mintFungible()
Access control High Audit finding
-
VaderRouter.calculateOutGivenIn calculates wrong swap
Business logic High Audit finding
-
Attacker can claim more IL by manipulating pool price then removeLiquidity
Business logic High Audit finding
-
Covering impermanent loss allows profiting off asymmetric liquidity provision at expense of reserve holdings
Business logic High Audit finding
-
Unbounded loop in TwapOracle.update can result in oracle being locked
DoS Medium Audit finding
-
Permissioned nature of TwapOracle allows owner to manipulate oracle
Access control Medium Audit finding
-
Missing hasStarted modifier, can lead to user vesting before the owner begin the vesting
Access control Medium Audit finding
-
The first lp provider can destroy the pool
DoS Medium Audit finding
-
TWAP Oracle inflexible _updatePeriod
Smart contracts Medium Audit finding
-
BasePool.mint() Is Callable By Anyone
Access control Medium Audit finding
-
Lacking Validation Of Chainlink’ Oracle Queries
Medium Audit finding
-
Vests can be denied
Business logic Medium Audit finding