Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize function not gated - Medium Severity #59

Open
olahfemi opened this issue Mar 26, 2023 · 0 comments
Open

Initialize function not gated - Medium Severity #59

olahfemi opened this issue Mar 26, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@olahfemi
Copy link
Collaborator

Description:
the function init() was not gated. this function can be called by any person and and passed a malicious address which can be dangerous to running to the contract.

Context:
PreCertificateToken.sol SLOC 59

Recommendation:
The function init() should be gated to allow only valid admin to call it and initialise the contract.

@olahfemi olahfemi added the bug Something isn't working label Mar 26, 2023
@olahfemi olahfemi changed the title Initialize function not gated - Medium Risk Initialize function not gated - Medium Severity Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants