Hawk High

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

centralization risk for trusted owners

Summary

  • The function LevelOne::graduateAndUpgrade is owners by onlyPrincipal, who is not a trusted owners , that mean the onlyPrincipal can exploit this function to steal the payPerTeacher!

Vulnerability Details

  • Trusted owners could intentionally act against the interests of users — e.g., pausing the contract, upgrading it to malicious code, or seizing teachers funds & all the fees...

Impact

  • The owner onlyPrincipal can upgraded the contract & add function to steal all the fees .

Tools Used

Foundry

Recommendations

  • Use decentralized oracles (e.g., Chainlink, UMA).


Updates

Lead Judging Commences

yeahchibyke Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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

Give us feedback!