mediumLogic errorEVM-Solidity
Perpetual: No slippage control on maker LP `deposit()`/`withdraw()`
- Payout
- $0
- Protocol
- Perpetual
- Disclosed
- Mar 18, 2024
- Source
- sherlock
Perpetual's OracleMaker exposes whitelisted-LP deposit()/withdraw() functions that take only an input quantity (amountXCD or shares) and no slippage parameter, with no preview functions, so the collateral returned is decided entirely by the Pyth oracle price a …
Similar reports
- No close matches yet.
References
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.