In AaavDIVAWrapper when contract is being deployed the owner of the contract is being initialised but there is no way to transfer ownership in case the owner address has been compromised
InAaveDIVAWrapper we can see that it inherits the AaveDIVAWrapperCore which contains the core functionality of the protocol.
Within this core contract we can see it initializes an owner via openzeppelin's ownable function and as a result any contract inheriting this absttract contract is supposed to provide the owner address so the contract can initialize the desired owner.
But the issue here is, After the initialization of the owner there is no way for the owner to be changed or ownership privileges to be transferred. This is a concern because whenever owner is compromised, there will be no way to recover the protocol back and as a result will lead to further complications
Whenever owner is being compromised the owner rights cannot be transferred to a new address therefore leading to difficulty in recovering the protocol
manual review
Implement a two-step ownership transfer function.
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.