GMXVault's current implementation sets the gmxOracle
and exchangeRouter
addresses at deployment with no capability to update them. Given that GMX documentation suggests the potential for these addresses to change in the future, the lack of an update mechanism could result in operational issues if and when an update is required.
”If using contracts such as the ExchangeRouter, Oracle or Reader do note that their addresses will change as new logic is added”
The GMXVault contract is initially configured with the gmxOracle
and exchangeRouter
addresses, during the construction of the contract. However there is no functionality to change these addresses down the line.
The inability to update these addresses means that GMXVault risks becoming incompatible with newer versions of related contracts or could continue to rely on outdated or potentially insecure versions.
Manual analysis
Add owner-only functions that enable the updating of the gmxOracle
and exchangeRouter
addresses.
Impact: High Likelihood: Low
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.