StrategyOp::claimAndSwap is used to generate yield for the strategy by swapping WETH for alETH when the trade is profitable (WETH can be swapped for alETH at a premium). The issue is that when the price of alETH is below the peg for an extended period, the deposited alETH is being transmuted into WETH. Transmuted alETH isn't the problem. The problem is that WETH cannot be withdrawn by either users or the protocol, resulting in the WETH becoming stuck in the Transmuter contract.
Currently, in the strategy contract, the claimAndSwap function is the only method that can claim transmuted WETH. However, when the price of alETH is below the peg, the WETH becomes stuck due to lack of WETH handling implementation. Users are only allowed to withdraw untransmuted and loose assets (alETH). If the strategy keeper is unable to perform swaps due to a lack of premium, the deposited alETH will be transmuted into WETH, which cannot be claimed.
claimAndSwap is currently the only function that can claim and swap WETH for alETH. If this function cannot be called, as outlined in the report, all transmuted WETH will become stuck in the Transmuter contract, leading to loss of funds for users. Additionally, users will be unable to withdraw alETH, as it has already been transmuted into WETH.
This issue is different than front-running claimAndSwap as this issue describes scenario where the price of alETH is below the peg. alETH is currently below peg an can it can be for extended time period in which all of the alETH will be transmuted into WETH.
WETH cannot be claimed, swapped, or redistributed to users as yield, resulting in a loss of funds.
It is important to note that this report specifically addresses the vulnerability in the StrategyOp contract.
Manual review
Consider implementing a new function to manage WETH in a way that allows users to withdraw their funds under fair conditions.
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.