Description:
The constructor assigns _link
, _keeperRegistry
, and _keeperRegistrar
without zero-address checks, risking broken Chainlink integration.
Impact:
Zero addresses halt minting and automation, rendering the contract unusable.
Requires redeployment, wasting gas and funds.
Proof of Concept:
Deploy with _link = address(0)
.
requestMintWeatherNFT
with _registerKeeper = true
reverts.
Recommended Mitigation:
Add checks:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
View preliminary resultsAppeals are being carefully reviewed by our judges.
The contest is complete and the rewards are being distributed.