The Credibility
and OneShot
contracts exhibit an initialization timeframe vulnerability. This means that there is a period between contract deployment and the explicit call to setStreetsContract
during which _streetsContract
remains uninitialized.
The impact of this vulnerability is that during the initialization timeframe, the address of the Streets
contract is not set in the _streetsContract
variable and is set to the zero address, potentially exposing the contract to unintended behaviour.
Manual Review
To mitigate the initialization timeframe vulnerability, consider initializing _streetsContract
during the contract's deployment in the constructor
.
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.