USDC rewards will not be distributed if `_updateRewardsStates` is triggered too often
Symmio, Staking and Vesting
HighSherlock
Every publicly disclosed report for Symmio, Staking and Vesting and what kind of bugs they were.
Newest first. Only what Symmio, Staking and Vesting chose to make public.
Symmio, Staking and Vesting
HighWhen a reward token is removed and later re-added, the contract retains the old reward accounting state. Users who deposited while the token was absent have a zero reward debt, so after re-adding they can claim rewards that were earned before their deposit, taking them from other users.
Symmio, Staking and Vesting
MediumThe SymmStaking contract allows anyone to call notifyRewardAmount with any amount, and each call recalculates the reward rate by dividing the total remaining rewards by the fixed duration. An attacker can repeatedly add tiny amounts (e.g., 1 wei) to dilute the reward rate, delaying stakers from receiving their full rewards.
Symmio, Staking and Vesting
MediumThe Vesting contract's initializer function uses the `initializer` modifier instead of `onlyInitializing`, so when inherited by SymmVesting, only one of the two initializers can run. This prevents the inheriting contract from completing initialization, potentially blocking deployment of critical protocol components.
Symmio, Staking and Vesting
MediumThe `_resetVestingPlans` function in `Vesting.sol` contains a check that reverts when a user tries to increase their locked tokens if the new amount is not greater than the total unlocked tokens. This prevents users from adding additional liquidity to `SymmVesting.sol` after a certain number of their LP tokens have been unlocked.
Symmio, Staking and Vesting
MediumThe vesting reset function sets a user's claimed amount back to zero without accounting for a withdrawal that happened just before the reset. A user could therefore claim the same tokens twice, draining funds meant for other users.
Symmio, Staking and Vesting
Medium