53072 sc high ceil vs floor rounding mismatch causes systematic underpayment and unclaimed yield leakage
Description
Brief / Intro
Vulnerability Details
// Use regular division (floor) for validator's accrued commission
uint256 commissionDeltaForValidator = (
grossRewardForValidatorThisSegment * commissionRateForSegment
) / PlumeStakingStorage.REWARD_PRECISION;Impact Details
Proof of Concept
References
Notes / Remediation Suggestions (observational)
Previous53077 sc high permanent fund lock due to flawed remainder logic in distributeyieldNext53071 sc insight okxhelper function incompatible with the uniswap v3 swap to with permit selector
Was this helpful?