mediumLogic errorEVM-Solidity
LoopFi: `PositionAction.sol#onCreditFlashLoan` may have leftover tokens after conducting `leverParams.auxSwap`
- Payout
- $0
- Protocol
- LoopFi
- Disclosed
- Feb 17, 2025
- Source
- code4rena
LoopFi's PositionAction.decreaseLever reserves the exact amount of debt repayment via a mandatory EXACT_OUT primary swap of collateral to debt token, leaving an unpredictable residual collateral balance. When an auxSwap is enabled it runs EXACT_IN with a user- …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-07-loopfi-findings/issues/87
- https://github.com/code-423n4/2024-07-loopfi-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.