Variable misuse in the _validatePrice function
contracts/KeeperProxy.sol#L174
In the _validatePrice function, the _check function is called multiple times to check indexTokenPrice, but longTokenPrice is not checked.
This results in the _validatePrice function using an unchecked longTokenPrice.
Recommended fix:
Likelihood: None/Very Low, everytime the keeper send a price via run/runNextAction (sent by the Gamma keeper). Impact: Medium/High, does not check the longTokenPrice, it could go out of range. Keep in mind indexToken == longToken, an error from the keeper could be considered informational.
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.