The _swapUnderlyingToAsset
function in the StrategyMainnet
contract is susceptible to front-running attacks due to predictable swap parameters.
The function uses predictable swap parameters, making it vulnerable to front-running attacks where attackers can manipulate the order of transactions for profit.
Attackers can manipulate the order of transactions to gain unfair advantages.
Manual Code review
Reduce predictability of swap parameters
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.