verifyScrvusdByBlockHash( is an external function & an authorized entity that can call the function is not defined therefore making the code vulnerable as it can be called by anyone.
The code below verifies the validity of a block header by comparing its hash with an oracle's hash, extracts parameters from a proof, and is designed to return a value related to the price update based on the extracted parameters.
However , there is no special authorized entitity like an Admin for example to be given full access to call the function instead anybody can gain access to manipulate the verification of the validity of a block header by manipulating its hash comparism.
Unauthorized users could manipulate the function's behavior thereby giving rise to a wrong value or price update.
Manual Review
Add access control to restrict who can call the function
```
Invalid, all state roots and proofs must be verified by the OOS `StateProofVerifier` inherited as `Verifier`, so there is no proof that a permisionless `verify`functions allow updating malicious prices
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.