Hawk High

First Flight #39
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: high
Valid

Loss of Funds

Summary

after the wages calculation for the principal and the teachers, the rest of the money is not accounted for!

Vulnerability Details
the code base only shows state variables for the wages only....no accountability for where the rest of the bursury goes...this can lead to loss of funds for the scholl which can lead to total system failure

Impact
this leads to the school funds to be totally lost

Tools Used
manual review

Recommendations
add function and state variables to track the amount of fees remamining

Updates

Lead Judging Commences

yeahchibyke Lead Judge 6 months ago
Submission Judgement Published
Validated
Assigned finding tags:

bursary not updated

The bursary is not updated after wages have been paid in `graduateAndUpgrade()` function

Support

FAQs

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