Code4rena
MANTRA DEX
Every publicly disclosed report for MANTRA DEX and what kind of bugs they were.
- disclosed reports
- 31
- most reported class
- Business logic
- bug classes found
- 3
- first disclosure
- 2025
Disclosed reports
Newest first. Only what MANTRA DEX chose to make public.
-
Attackers can force the rewards to be stuck in the contract with malicious x/tokenfactory denoms
DoS High Audit finding +4 collaborators
-
Stable swap pools don’t properly handle assets with different decimals, forcing LPs to receive wrong shares
Business logic High Audit finding +4 collaborators
-
Slippage tolerance vulnerability in StableSwap
Business logic Medium Audit finding +1 collaborator
-
Wrong simulation function used in reverse operation path
Business logic Medium Audit finding +1 collaborator
-
Multi-token stableswap pools allow 0 liquidity for tokens, creating bricked pools
Business logic High Audit finding +5 collaborators
-
Amplifiers can’t be ramped allowing loss of funds from the pool
Business logic Medium Audit finding
-
Stablepools return wrong price when they do not converge
Business logic Medium Audit finding
-
In edge cases, create_pool can either be reverted or allow user underpay fees
Business logic Medium Audit finding +3 collaborators
-
User cannot claim rewards or close_position , due to vulnerable division by zero handling
DoS High Audit finding +4 collaborators
-
Protocol allows creating broken tri-crypto CPMM pools
Business logic High Audit finding +8 collaborators
-
User is unable to claim their reward for the expanded epochs if farm is expanded
Business logic Medium Audit finding +2 collaborators
-
Spread calculation does not account for swap fees
Business logic Medium Audit finding +3 collaborators
-
query_reverse_simulation doesn’t account for extra fees when simulating stable reversed swaps
Business logic Medium Audit finding
-
Stableswap does disjoint swaps, breaking the underlying invariant
Business logic High Audit finding +4 collaborators
-
Stableswap pool can be skewed free of fees
Business logic High Audit finding +1 collaborator
-
Block gas limit can be hit due to loop depth
DoS High Audit finding +3 collaborators
-
Farms can be created to start in past epochs
Business logic High Audit finding +4 collaborators
-
Penalty fees can be shared among future farms or expired farms, risks of exploits
Business logic Medium Audit finding +8 collaborators
-
Vulnerable liquidity slippage calculation doesn’t ensure slippage protection due to unscaled assets sum
Business logic Medium Audit finding
-
When a user single-side deposit into a pool, slippage protection is invalid
Business logic Medium Audit finding +1 collaborator
-
Protocol fees are mistakenly configured by protocol pools rather than being imposed
Business logic Medium Audit finding
-
Single sided liquidity can’t be used to lock LP tokens in the farm manager
Business logic Medium Audit finding +5 collaborators
-
Insufficient check on asset decimals input in create_pool allows malicious pool to be created with invalid swap results
Business logic Medium Audit finding
-
withdraw_liquidity lacks slippage protection
Business logic Medium Audit finding +11 collaborators
-
Pool creators can manipulate the slippage calculation for liquidity providers
Business logic High Audit finding +1 collaborator
-
Incorrect slippage_tolerance handling in stableswap provide_liquidty function
Business logic High Audit finding +1 collaborator
-
Liquidity providers can lose tokens due to disproportionate deposits not being properly handled
Business logic Medium Audit finding +6 collaborators
-
Emergency unlocking penalty makes long duration positions economically advantageous
Business logic Medium Audit finding +1 collaborator