The _harvestAndReport
function incorrectly accounts for assets by double counting underlying balances. The function returns:
However, unexchanged
already includes both the unexchanged alETH and unclaimed WETH balances. By adding underlyingBalance
separately, the function overcounts the available assets. This would cause the strategy to report inflated asset values, leading to incorrect share prices and potential loss of funds for users.
https://github.com/Cyfrin/2024-12-alchemix/blob/82798f4891e41959eef866bd1d4cb44fc1e26439/src/StrategyArb.sol#L170
https://github.com/Cyfrin/2024-12-alchemix/blob/82798f4891e41959eef866bd1d4cb44fc1e26439/src/StrategyMainnet.sol#L191
https://github.com/Cyfrin/2024-12-alchemix/blob/82798f4891e41959eef866bd1d4cb44fc1e26439/src/StrategyOp.sol#L173
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.