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
Disclosed reports
Newest first. Only what Trader Joe v2 contest chose to make public.
-
Transfering funds to yourself increases your balance
Smart contracts High Audit finding +17 collaborators
-
LBRouter.removeLiquidity returning wrong values
Business logic Medium Audit finding
-
Wrong implementation of function LBPair.setFeeParameter can break the funcionality of LBPair and make user’s tokens locked
Smart contracts High Audit finding +2 collaborators
-
Attacker can keep fees max at no cost
Business logic Medium Audit finding +2 collaborators
-
Flashloan fee collection mechanism can be easily manipulated
Business logic Medium Audit finding +6 collaborators
-
Incorrect fee calculation on LBPair (fees collected on swaps are less than what they “should” be)
Business logic Medium Audit finding +1 collaborator
-
Calling swapAVAXForExactTokens function while sending excess amount cannot refund such excess amount
Smart contracts Medium Audit finding +13 collaborators
-
Very critical Owner privileges can cause complete destruction of the project in a possible privateKey exploit
Access control Medium Audit finding +22 collaborators
-
beforeTokenTransfer called with wrong parameters in LBToken._burn
Business logic Medium Audit finding +13 collaborators
-
Attacker can steal entire reserves by abusing fee calculation
Business logic High Audit finding +1 collaborator
-
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 Audit finding +3 collaborators
-
Incorrect output amount calculation for Trader Joe V1 pools
Business logic High Audit finding +2 collaborators