Hawk High

First Flight #39
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Impact: high
Likelihood: high
Invalid

No Acces Control

Summary
in the initialize function, there is no access control

Vulnerability Details
anyone can set the address of the principal meaning anyone can be become the principal...this can lead to the school system failure

Impact
the impact can be high since there is no check on who becomes the school head

Tools Used
manual review

Recommendations
use constructor to se the address of the principal

Updates

Lead Judging Commences

yeahchibyke Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.