The closePot function in Pot.sol does not have the nonReentrant modifier
The closePot function in Pot.sol does not use the nonReentrant modifier, which makes it susceptible to reentrancy attacks. This lack of protection allows the function to be executed multiple times in quick succession, even after the 91-day period has elapsed.
Since it lacks the nonReentrant modifier, the function is exposed to potential reentrancy attacks.
Unit Tests
Add the nonReentrant modifier to the depositMany function to ensure that reentrancy is not possible.
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.