The TempleGold.sol
and TempleTeleporter.sol
contracts currently importing Ownable.sol
. This single-step ownership transfer process introduces the risk of accidentally setting an incorrect address as an owner.
Single-step ownership transfers add the risk of setting an unwanted owner by accident if the ownership transfer is not done with excessive care.
The two-step ownership transfer pattern offers a robust solution by introducing a two-step process that enhances security and control over ownership transitions.
Pattern Description:
Initiation: The current owner initiates the transfer by specifying the new owner's address.
Confirmation: The new owner confirms the transfer request, completing the ownership transition.
An incorrect address being set as the owner can lead to loss of control over the contract's critical functions.
Manual review.
Use OZ/Ownable2Step.sol.
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.