Link to Affected Code:
Description:\
The BaseGauge documentation explicitly states Slippage protection on weight updates as a feature, however, no implementation of this protection exists in the codebase. The weight update functions in both BaseGauge and GaugeController allow arbitrary weight changes without any bounds checking or protection against sudden large changes.
Impact:
The lack of slippage protection in weight updates could lead to Sudden large weight changes affecting reward distribution
Proof of Concept:
Recommended Mitigation:
Add slippage protection using the defined constant:
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.