Skip to content

Code4rena

Sushi Trident contest phase 1

Every publicly disclosed report for Sushi Trident contest phase 1 and what kind of bugs they were.

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

Disclosed reports

Newest first. Only what Sushi Trident contest phase 1 chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
IndexPool pow overflows when weightRatio > 10. DoS High – – – 22 Nov 2021
Flash swap call back prior to transferring tokens in indexPool Business logic High – – – 22 Nov 2021
Index Pool always swap to Zero Smart contracts High – – – 22 Nov 2021
HybridPool ’s reserve is converted to “amount” twice Business logic High – – – 22 Nov 2021
absolute difference is not calculated properly when a > b in MathUtils Smart contracts High – – – 22 Nov 2021
Incorrect usage of _pow in _computeSingleOutGivenPoolIn of IndexPool Smart contracts High – – – 22 Nov 2021
Unsafe cast in IndexPool mint leads to attack Smart contracts High – – – 22 Nov 2021
No bar fees for IndexPools ? Business logic Medium – – – 22 Nov 2021
Router would fail when adding liquidity to index Pool Business logic Medium – – – 22 Nov 2021
withdrawFromWETH always reverts Business logic Medium – – – 22 Nov 2021
HybridPool ’s flashSwap sends entire fee to barFeeTo Business logic Medium – – – 22 Nov 2021
Approximations may finish with inaccurate values – Medium – – – 22 Nov 2021
Users are susceptible to back-running when depositing ETH to TridenRouter Business logic Medium – – – 22 Nov 2021
IndexPool.mint The first liquidity provider is forced to supply assets in the same amount, which may cause a significant amount of fund loss Business logic High – – – 22 Nov 2021
IndexPool initial LP supply computation is wrong Business logic High – – – 22 Nov 2021
ConstantProductPool.burnSingle swap amount computations should use balance Business logic High – – – 22 Nov 2021
Overflow in the mint function of IndexPool causes LPs’ funds to be stolen Smart contracts High – – – 22 Nov 2021
Incorrect multiplication in _computeSingleOutGivenPoolIn of IndexPool Smart contracts High – – – 22 Nov 2021
IndexPool’s INIT_POOL_SUPPLY is not fair. Business logic High – – – 22 Nov 2021
ConstantProductPool & HybridPool : Adding and removing unbalanced liquidity yields slightly more tokens than swap Business logic Medium – – – 22 Nov 2021
Router’s complexPath percentagePaths don’t work as expected Business logic Medium – – – 22 Nov 2021
_depositToBentoBox sometimes uses both ETH and WETH Business logic Medium – – – 22 Nov 2021
hybrid pool uses wrong non_optimal_mint_fee Business logic High – – – 22 Nov 2021
Funds in the pool could be stolen by exploiting flashSwap in HybridPool Business logic High – – – 22 Nov 2021
IndexPool : Poor conversion from Balancer V1’s corresponding functions Smart contracts High – – – 22 Nov 2021
Rounding errors will occur for tokens without decimals – Medium – – – 22 Nov 2021