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