The WeatherNft:::checkUpkeep
Function Has Missing Access Control.
The WeatherNft:::checkUpkeep
Function Has Missing Access Control.The WeatherNft:::checkUpkeep
should
Only Be Called By The Chainlink Nodes and owner of Token(NFT) .Anyone Can Call checkUpkeep
Function
And can Update The States.The Documentation Says That checkUpkeep
Function Should Only be Called By
ChainLink Keepers For Those Users Who Had registered For Automation.
Impact:
Due To Missing Access Control In WeatherNft:::checkUpkeep
Function.Any Malicious User/Attacker Can Call the Function repeatedly and can update The malicious States and leads to unnecessary gas usage.
After discussion with the sponsor, I have downgraded this to "Informational/Invalid". The `checkUpkeep` function is a view function and it returns if a `tokenId` needs a weather update, it doesn't modify the state and there is no impact of calling this function. The problem is the missing access control in `performUpkeep` function.
After discussion with the sponsor, I have downgraded this to "Informational/Invalid". The `checkUpkeep` function is a view function and it returns if a `tokenId` needs a weather update, it doesn't modify the state and there is no impact of calling this function. The problem is the missing access control in `performUpkeep` function.
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.