The LevelOne contract does not follow the Checks-Effects-Interactions (CEI) pattern, which can lead to reentrancy vulnerabilities. The issue is not direct threat, but it is a good practice to follow the CEI pattern to prevent potential reentrancy attacks.
A malicious contract could re-enter the LevelOne contract during a function call.
Manual review.
Refactor the LevelOne::enroll function to follow the CEI pattern. Ensure that all state updates are performed before any external calls.
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.