MinaFoundation / mina-fungible-token

https://minafoundation.github.io/mina-fungible-token/
Apache License 2.0
18 stars 8 forks source link

Centralisation Risk #77

Closed kantp closed 2 months ago

kantp commented 3 months ago

The admin contract determines who can mint tokens, or pause transfers. The default contract uses a single private key, which is dangerous: it that private key were stolen, a hacker would have access to sensitive functionality that could compromise the integrity of the token.

Furthermore, with default account permissions, both contract upgradeability and contract permissions may be changed by the contract deployer. If that user is compromised, then the token balances will also become compromised.

The documentation and examples do not take this into account.

We should change the documentation to point out the following: