mediumFlash loan attackEVM-Solidity
LoopFi: `PositionAction.sol#onCreditFlashLoan` may end up with stuck funds for `EXACT_IN` primary swaps
- Payout
- $0
- Protocol
- LoopFi
- Disclosed
- Feb 17, 2025
- Source
- code4rena
LoopFi's PositionAction.onCreditFlashLoan, during a decreaseLever action, executes a primary swap from collateral to debt tokens of type EXACT_IN, meaning all withdrawn collateral is swapped. The swap output is split between repaying the flash loan (and fee) a …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-10-loopfi-findings/issues/3
- 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.