mediumLogic errorEVM-Solidity
LoopFi: `PositionAction.sol#_deposit` incorrectly checks `auxSwap.assetIn` should be equal to `collateralParams.targetToken`
- Payout
- $0
- Protocol
- LoopFi
- Disclosed
- Feb 17, 2025
- Source
- code4rena
LoopFi's `PositionAction.sol#_deposit` imposes an equality check requiring `auxSwap.assetIn` to equal `collateralParams.targetToken` whenever a swap is configured. Since the swap is meant to convert an input token (e.g. USDC) into the vault's actual collateral …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-07-loopfi-findings/issues/85
- 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.