The mint
and burnFrom
functions allow the diamond contract full privilege.
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.
Attacker could mint unlimited tokens if the diamond is compromised.
Manual
Separate minting/burning to another contract
Use a multisig wallet instead of single diamond address
Add mint/burn caps
The 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.