mediumFlash loan attackEVM-Solidity
LoopFi: Invalid handling of risdual amount in `PositionAction::onCreditFlashLoan`, forcing it to revert
- Payout
- $0
- Protocol
- LoopFi
- Disclosed
- Feb 17, 2025
- Source
- code4rena
LoopFi's leverage-decrease path (`decreaseLever` → `onCreditFlashLoan`) mishandles the residual amount left over after swapping collateral into debt tokens. Instead of sending the residual to the configured residualRecipient, the code force-approves and calls …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-10-loopfi-findings/issues/26
- https://github.com/code-423n4/2024-10-loopfi-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.