Skip to content

Sherlock

Jala Swap

Every publicly disclosed report for Jala Swap and what kind of bugs they were.

disclosed reports
3
most reported class
Business logic
bug classes found
2
first disclosure
2024
Find Jala Swap on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Jala Swap chose to make public.

Business logic

User wrapped tokens get stuck in master router because of incorrect calculation

The swapExactTokensForETH function in JalaMasterRouter passes the underlying token amount to the router instead of the wrapped token amount, causing the difference to remain stuck in the contract. An attacker could steal these stuck wrapped tokens by calling swapExactTokensForTokens, which uses the entire wrapped token balance of the contract.

Jala Swap

Medium
DoS

JalaPair potential permanent DoS due to overflow

The JalaPair contract's _update function uses Solidity 0.8+ arithmetic, which reverts on overflow, but the code was forked from UniswapV2 where overflow is intentional. This could cause the function to revert permanently after a very long time, breaking mint, burn, and swap, and locking funds.

Jala Swap

Medium