Missing call to _disableInitializers()
in StabilityPool
's constructor.
StabilityPool
is an upgradable contract and is expected to be deployed as a proxy, however, _disableInitializers()
is not called in the implementation contract's constructor.
An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke the _disableInitializers() function in the constructor to automatically lock it when it is deployed.
Manual Review
Consider calling _disableInitializers()
in the constructor.
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.