DittoETH

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

Privilege Escalation in Mint/Burn

Summary

The mint and burnFrom functions allow the diamond contract full privilege.

Vulnerability Details

The onlyDiamond modifier gives the diamond contract total control to mint/burn tokens arbitrarily.

A compromise of the diamond could allow an attacker to gain these privileges.

Impact

Attacker could mint unlimited tokens if the diamond is compromised.

Tools Used

Manual

Recommendations

  • Separate minting/burning to another contract

  • Use a multisig wallet instead of single diamond address

  • Add mint/burn caps

Updates

Lead Judging Commences

0xnevi Lead Judge
almost 2 years ago
0xnevi Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

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