Whenever swaps needed protocol use uniswap for optimal swaps. Which uses direct hardcoded direct path from input token to final token. This can result in greater slippage since direct path won't be always optimal path for swapping the tokens
This is swap params which does not include paths
Direct Hardcoded path won't be optimal path always. There can be different optimal path for swaps but keeper will be loosing funds to make swap from this hardcoded paths
This will affect more to compounded tokens since for compounded tokens protocol won't able to select best pools
Keeper will loose funds in every funds for not choosing optimal paths.
For Bluechip assets it can be optimal but there has been many instance where swaping becomes costly on direct paths
For Compounds, Keeper won't able to find optimal path and will lost funds for swapping directly.
Manual Review
Consider adding path param which can be used by keeper easily.
Keeper can do offchain simulation and opt for best path to save slippage funds from swaps
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.