The setThePredicter() function in ScoreBoard.sol lacks a check for a zero address, allowing the possibility of setting an invalid address as the predicter. This can lead to unintended consequences and potential vulnerabilities within the protocol.
Without a zero address check, an invalid address can be assigned as the predictor, leading to erroneous behavior in the protocol.
Manual
require(_thePredicter != address(0), "Invalid Address")
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.