Zero round-down in slope and bias calculation in VotingPowerLib will cause dust lock can grant permananet voting power.
The vulnerability lies in rounding down to zero in VotingPowerLib.calculateAndUpdatePower:
If initialPower is less than duration, slope will be rounded down to zero, and the position's voting power will never be diminished
Manual Review
Use FixedPointMath library for bias and slope calculations
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.