All reports
mediumLogic errorEVM-Solidity

LoopFi: `SwapAction::getSwapToken` will return wrong swap token for balancer `EXACT_OUT` swaps

Payout
$0
Protocol
LoopFi
Disclosed
Feb 17, 2025
Source
code4rena

SwapAction.getSwapToken returns the last asset in the assets array for all Balancer swaps, which is only correct for EXACT_IN swaps. Because Balancer batch swaps require assets to be supplied in reverse order for EXACT_OUT, the helper returns the wrong output …

Similar reports

  • No close matches yet.

References

This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.