The nRoutes
counter in StrategyMainnet
can grow without bounds as new routes are added through the addRoute
function. There is no maximum limit on the number of routes or way to remove old routes. This could lead to denial of service if too many routes are added, as iterating through them would consume too much gas.
https://github.com/Cyfrin/2024-12-alchemix/blob/82798f4891e41959eef866bd1d4cb44fc1e26439/src/StrategyMainnet.sol#L64
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.