Their is a unused boolean variable in the QuantAMMVarianceBasedRule contract.
The above given variable is not used any there in the contract.
As it is a boolean variable, the name suggests that it acts as a flag to protect user access of a function when set to false.
Not using this flag may allow unauthorized users to access the protected functions.
Manual Review
Use the variable ( flag ) at appropriate place to stop unauthorized access.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.