Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: medium
Invalid

Use of Ownable instead of Ownable2Step in `PuppyRaffle` contract

Summary

The PuppyRaffle contract uses the Ownable contract to manage ownership of the contract. However, it would be more secure to use the Ownable2Step contract instead.The Ownable2Step contract improves the security of ownership transfer by requiring the new owner to accept ownership before the transfer is complete. This helps to prevent the owner from accidentally transferring ownership to a malicious address.

Vulnerability Details

Impact

Tools Used

Manual analysis

Recommendations

The PuppyRaffle contract should be updated to use the Ownable2Step contract instead of the Ownable contract.

Updates

Lead Judging Commences

Hamiltonite Lead Judge about 2 years ago
Submission Judgement Published
Invalidated
Reason: User experience and design improvement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!