You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The init function is not guarded enough which can cause a random user to interract with it and set a malicious diamond address before the authorised user implement the init function which can lead to loss of power an attacker.
Recommendation
since the contract has the owner being set at the deployment, the init function is advisable to be guided for only an autourised owner to trigger the function.
The text was updated successfully, but these errors were encountered:
Description
The init function is not guarded enough which can cause a random user to interract with it and set a malicious diamond address before the authorised user implement the init function which can lead to loss of power an attacker.
Context:
DAOToken.sol SLOC 106
Recommendation
since the contract has the owner being set at the deployment, the init function is advisable to be guided for only an autourised owner to trigger the function.
The text was updated successfully, but these errors were encountered: