highLogic errorEVM-Solidity
Superposition: Users are incorrectly refunded when liquidity is insufficient
- Payout
- $0
- Protocol
- Superposition
- Disclosed
- Jan 7, 2025
- Source
- code4rena
In Superposition's swap_2_internal AMM flow, when the first pool lacks sufficient liquidity to cover the full user-supplied amount, the contract correctly takes only the reduced amount_in from the sender — but then still executes a refund branch that transfers …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-10-superposition-findings/issues/5
- https://github.com/code-423n4/2024-10-superposition-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.