The strategies perform price checks for DEX swaps using only the simple comparison minOut > _amount
, which assumes 1:1 pricing plus a small premium. However, there's no actual oracle integration to validate true market prices. Example from StrategyArb.sol
:
The commented code suggests oracle integration was planned but not implemented. This poses risks as:
The strategy could swap at unfavorable prices during high volatility
No mechanism exists to detect and prevent swaps during market manipulation events
The simple 1:1+ check may not reflect true market conditions
https://github.com/Cyfrin/2024-12-alchemix/blob/82798f4891e41959eef866bd1d4cb44fc1e26439/src/StrategyArb.sol#L84
https://github.com/Cyfrin/2024-12-alchemix/blob/82798f4891e41959eef866bd1d4cb44fc1e26439/src/StrategyOp.sol#L98
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.