The startSession()
function fails to enforce a minimum _cutOffScore
requirement, coupled with no student score validation in graduateAndUpgrade()
. This allows students with failing grades (below 70) to graduate, undermining the educational integrity of the protocol.
File: levelOne.sol
Functions:
startSession(uint256 _cutOffScore)
graduateAndUpgrade(address _levelTwo, bytes memory)
No Minimum Cutoff Enforcement:
Current implementation accepts any arbitrary _cutOffScore
Graduation Without Validation:
graduateAndUpgrade()
processes payments without checking student scores
Students could graduate with scores as low as 60 (after 4 failing reviews)
Protocol Logic Flaw:
With 4 weekly reviews, maximum possible score reduction is -40 (100 → 60)
Without minimum cutoff enforcement, students can fail all reviews and still graduate
Renders the review system meaningless
Allows academically unqualified students to graduate
Devalues the credentialing system
Could lead to protocol reputation damage
Manual code analysis
1) Enforce Minimum Cutoff in startSession()
:
2)Add Score Validation in graduateAndUpgrade()
:
All students are graduated when the graduation function is called as the cut-off criteria is not applied.
All students are graduated when the graduation function is called as the cut-off criteria is not applied.
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.