All reports
mediumLogic errorEVM-Solidity

LoopFi: `PositionAction.decreaseLever()` fails to consider the loan fee in Flashlender when calculating `loanAmount`, as a result, the functionality will not work when `protocolFee != 0`

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

LoopFi's leverage-decrease flow mis-sizes the flash-loan principal because it uses the fee-inclusive swap output as the borrow principal instead of subtracting the flash lender's protocol fee. The same error repeats in the onCreditFlashLoan callback, which red …

Similar reports

  • No close matches yet.

References

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