Unprotected call to a function sending Ether to an arbitrary address.
Dangerous calls in ThePredicter::withdraw()
:
External calls in ThePredicter::cancelRegistration()
:
The means of how the calls are used make the functions vulnerable to reentrancy attacks.
Slither
Ensure that an arbitrary user cannot withdraw unauthorized funds. Use ReentrancyGuard
from OpenZeppelin or checks-effects-interactions pattern.
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.