DittoETH

Ditto
DeFiFoundryOracle
55,000 USDC
View results
Submission Details
Severity: medium
Invalid

ENFORCING CONTRACT OWNER IN THE DIAMOND

Summary

In the Diamond.sol constructor, there is no check which prevents other users from been an admin. This can be seen as redundant and also increase gas cost; however, this reduces the possibility of a non-admin claiming access through malicious means. This can be also possibly be fixed by calling the enforceIsContractOwner() from the LibDiamond.sol library in the constructor.

Updates

Lead Judging Commences

0xnevi Lead Judge
over 1 year ago
0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

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