Centralization Risk for trusted owners
Having a single EOA as the only owner of contracts is a large centralization risk
and a single point of failure. A single private key may be taken in a hack, or the
sole holder of the key may become unable to retrieve the key when necessary.
Also, the owners with privileged rights to perform admin tasks needs to be
trusted to not perform malicious updates or drain funds.
Instances (3):
Link to code - https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/tree/main/src/DecentralizedStableCoin.sol
Marking this as medium as both the following medium criteria satisfy:
Funds are indirectly at risk
Disruption of protocol functionality or availability
Source: https://docs.codehawks.com/rewards-and-judging
Manual inspection
Consider changing to a multi-signature setup, or having a role-based authorization model.
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.