The safeApprove() function of Openzeppelin SafeERC20 library has been deprecated. As it has been mentioned here : openzeppelin issue
safeApprove() has been used in the following places:
StrategyArb::constructor code
StrategyArb::_initStrategy code
StrategyArb::setRouter code
StrategyOp::constructor code
StrategyOp::_initStrategy code
StrategyOp::setRouter code
StrategyMainnet::constructor code
StrategyMainnet::_initStrategy code
Similar issue : https://github.com/code-423n4/2024-07-reserve-validation/issues/175
As mentioned by Openzeppelin, it makes the function susceptible to frontrunning or sandwich attacks
Manual review
Whenever possible, use safeIncreaseAllowance and safeDecreaseAllowance instead.
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.