Lack of two-step ownership transfer process.
The current implementation of the collection_transfer_ownership
function allows for an immediate transfer of ownership without requiring confirmation from the new owner. This single-step process increases the risk of transferring ownership to an invalid or unintended address.
The current implementation transfers ownership directly to the new_owner
address without any confirmation step.
Ownership could be transferred to an unintended address.
Manual review
Implement a two-step ownership transfer process.
Please, do not suppose impacts, think about the real impact of the bug and check the CodeHawks documentation to confirm: https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity A PoC always helps to understand the real impact possible.
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.