15,000 USDC
View results
Submission Details
Severity: low

Use a two-step ownership transfer approach

Summary

Use a two-step ownership transfer approach

Vulnerability Details

There are methods with the onlyOwner modifier to Mint and Burn DSC in "DecentralizedStableCoin.sol", which shows that the owner role is an important one. Make sure to use a two-step ownership transfer approach by using Ownable2Step from OpenZeppelin as opposed to Ownable as it gives you the security of not unintentionally sending the owner role to an address you do not control.

Impact

Low

Tools Used

Manual Review

Recommendations

Make sure to use a two-step ownership transfer approach by using Ownable2Step from OpenZeppelin as opposed to Ownable as it gives you the security of not unintentionally sending the owner role to an address you do not control.

Support

FAQs

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