If the _initStrategy function is inherited by a malicious contract, the router address might be manipulated and could be catastrophic.
The _initStrategy function assigns a specific router address and calls safeApprove to approve the router for interacting with the underlying token.
The function is internal, meaning it can only be called by the contract or inherited contracts. However, if _initStrategy is inadvertently exposed through public or external functions, it could be misused to overwrite the router or execute unexpected behavior.
**POC**
The network is prone to unexpected behavior if the router is successfully manipulated via susceptible external/public functions.
Manual Review & foundry Test suite.
The _initStrategy function should be protected with access control mechanisms.
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.