Hawk High

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

Principal can bypass session requirements via direct upgradeToAndCall

Summary

The principal can upgrade the contract by calling upgradeToAndCall() directly, bypassing all business logic and payment requirements enforced by graduateAndUpgrade() function.

Impact

  • Principal lose their own pay

  • Teachers lose their wages

  • System upgrade happens without proper session completion

Tools Used

Manual review

Recommendations

Restrict upgradeToAndCall() to emergency use only.

Updates

Lead Judging Commences

yeahchibyke Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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