The review system fails to prevent teachers from modifying student scores even after graduation and system upgrade, creating potential for malicious score manipulation that could retroactively invalidate already-approved graduations.
File: levelOne.sol
Function: giveReview(address _student, bool review)
Missing Session Status Check:
Reviews can be given indefinitely after session ends
No protection against post-graduation modifications
Temporal Validation Failure:
Only checks time since last review, not absolute session bounds
Allows infinite review cycles beyond intended 4-week session
Graduation Integrity Risk:
Final scores aren't truly final
Test Case:
Test Result:
Compromises finality of academic records
Enables retroactive invalidation of graduations
Undermines trust in credentialing system
Foundry (forge test)
1) Enforce Session Bounds or 2) Implement graduation lock
`inSession` not updated after during upgrade
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.