# Malicious User can dilute staking Rewards to a longer timeframe

Anyone can call notifyRewardAmount with 1 wei, recalculating reward rate and diluting staking rewards over a longer timeframe.

- Payout: Audit contest
- Severity: medium
- Program: Symm Io Stacking
- Found by: 0day
- Disclosed: 2025-03-05
- Write-up quality: 6/10
- Original: https://github.com/sherlock-audit/2025-03-symm-io-stacking-judging/issues/595
- Library page: https://bugbountylibrary.com/r/sherlock%3A2025-03-symm-io-stacking%3AM-4
- Tags: area:web3 domain:web3 impact:dos kind:contest platform:sherlock sev:medium tech:solidity technique:source-review vuln:business-logic vuln:dos

**Target:** SymmStaking contract
**Root cause:** notifyRewardAmount is permissionless and recalculates reward rate as (amount + leftover) / duration, so adding dust resets the rate downward while duration stays fixed.
**Steps:**
1. Alice stakes in SymmStaking and 100 USDC reward is notified.
2. Halfway through, Alice has earned 50 USDC.
3. Attacker calls `notifyRewardAmount(1 wei USDC)`.
4. Reward rate recalculates from `100e6 / 1 week` to `50e6 / 1 week`.
5. Attacker repeats with dust to continuously lower the rate.
**How found:** Observed that notifyRewardAmount is permissionless and recalculates rate using leftover, so dust additions dilute the rate.
**Exploitation:** Attacker repeatedly calls notifyRewardAmount with 1 wei, each time halving the effective reward rate, delaying stakers' reward accrual arbitrarily.
**Insight:** In staking contracts, permissionless reward notification with rate recalculation based on leftover allows griefing by dust injections; check if duration is reset or if minimum amount is enforced.

