Hawk High

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

Unlimited Reviews Due to Missing Review Count Increment

Summary

The reviewCount mapping is never incremented, rendering the check reviewCount[_student] < 5 ineffective.

Vulnerability Details

giveReview function in LevelOne

Check out the giveReview

Impact

Teachers can submit unlimited reviews for a student as long as they wait a week between each, bypassing the intended 5-review limit.

Tools Used

manual code review

Recommendations

update the review-mapping when teacher give review.

Updates

Lead Judging Commences

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

reviewCount not updated

`reviewCount` for students is not updated after each review session

Support

FAQs

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