Mainnet oracles are incompatible with wstETH
causing comparison in getWstethEthPrice
fail. Chainlink does not have wstETH oracles and using Uniswap
LP pairs would be very dangerous given their low liquidity.
ChainlinkAdapterOracle only supports single asset price data. This makes it completely incompatible with wstETH because chainlink doesn't have a wstETH oracle on mainnet, you can use it from Lido. And then this price is compared to the wstETH price got from Uniswap oracles which are highly dangerous given their low liquidity.
The comparison between chainlinkPrice
and uniswapPrice
can mostly fail as wstETH LP of Uniswap have low liquidity and can easily be manipulated. If an attacker targets this, price can easily be manipulated and even DOS is also possible with this.
Also there is no other oracle or alternative used other than comparing with Uniswap price. And there is no else
condition in the function too.
Manual Review
Create a special bypass specifically for wstETH utilizing the stETH oracle and it's current exchange rate.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.