inherit()
function in the smart contract is vulnerable to unauthorized access, allowing anyone to potentially claim ownership or modify critical contract variables (like owner
or isInherited
). The function lacks proper access control, making it a potential target for attackers. If the owner loses their private keys, they are also unable to recover the contract or reclaim control securelyinherit()
function does not implement any mechanism to restrict access to the contract owner or trusted parties. Any address can call this function as long as the conditions (like the deadline) are met, which could allow attackers or unauthorized users to modify the ownership and contract stateonlyOwner
modifier to restrict the inherit()
function to the contract owner or trusted addresses. This would ensure that only the rightful owner can call the function to modify ownership or important contract statesThe 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.