Skip to content

Code4rena

Trader Joe v2 contest

Every publicly disclosed report for Trader Joe v2 contest and what kind of bugs they were.

disclosed reports
12
most reported class
Business logic
bug classes found
3
first disclosure
2022
Find Trader Joe v2 contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Trader Joe v2 contest chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Transfering funds to yourself increases your balance Smart contracts High – – – 22 Dec 2022
LBRouter.removeLiquidity returning wrong values Business logic Medium – – – 22 Dec 2022
Wrong implementation of function LBPair.setFeeParameter can break the funcionality of LBPair and make user’s tokens locked Smart contracts High – – – 22 Dec 2022
Attacker can keep fees max at no cost Business logic Medium – – – 22 Dec 2022
Flashloan fee collection mechanism can be easily manipulated Business logic Medium – – – 22 Dec 2022
Incorrect fee calculation on LBPair (fees collected on swaps are less than what they “should” be) Business logic Medium – – – 22 Dec 2022
Calling swapAVAXForExactTokens function while sending excess amount cannot refund such excess amount Smart contracts Medium – – – 22 Dec 2022
Very critical Owner privileges can cause complete destruction of the project in a possible privateKey exploit Access control Medium – – – 22 Dec 2022
beforeTokenTransfer called with wrong parameters in LBToken._burn Business logic Medium – – – 22 Dec 2022
Attacker can steal entire reserves by abusing fee calculation Business logic High – – – 22 Dec 2022
Wrong calculation in function LBRouter._getAmountsIn make user lose a lot of tokens when swap through JoePair (most of them will gifted to JoePair freely) Business logic High – – – 22 Dec 2022
Incorrect output amount calculation for Trader Joe V1 pools Business logic High – – – 22 Dec 2022