When management calls `setRouter()` with intends to change router being used by protocol, The uint256.max approval given to the old router is not revoked but it should be since it has been changed
In StrategyOp::setRouter
and StrategyArb::setRouter
the function is being implemented as below
So from this function we can see that management
has the potential to change the router in use
However, as said in the previous section, whenever a new router is set the allowance of the old router is not revoked and this can lead to complications since approval is set to uint256 max.
Old router still has max approval and can be abused
manual review
Revoke approval of old router
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.