Commission is not added at point of adding validator hence stakers that stake before the first checkpoint would always use the current commission
When a new validator is added, no commission checkpoint is created, so stakers who stake before the first checkpoint have their commission calculated using the current commission rate rather than the rate at the time of staking. This can cause a deficit for the treasury if the current commission is lower than the initial, or overcharge stakers if the current commission is higher.
Originally disclosed on Immunefi
- Disclosed after under an hour
52667 sc high commission is not added at point of adding validator hence stakers that stake before the first checkpoint would always use the current commission
Submitted on Aug 12th 2025 at 10:58:35 UTC by @silver_eth for Attackathon | Plume Network
- Report ID: #52667
- Report Type: Smart Contract
- Report severity: High
- Target: https://github.com/immunefi-team/attackathon-plume-network/blob/main/plume/src/facets/ValidatorFacet.sol
- Impacts: Theft of unclaimed yield
Description
Brief / Intro
When a new validator is added, a commission checkpoint is not pushed. During the period before a commission checkpoint exists, commission is always calculated as the current commission. As a result, stakers who staked before the first commission checkpoint can end up accruals computed with a different commission than the validator actually accrued, creating discrepancies that can lead to a shortfall or unfair loss of rewards.
Vulnerability Details
Factors that make this issue possible:
- When a new validator is added, a commission checkpoint is not pushed; only a reward rate checkpoint is pushed.
- In PlumeRewardLogic, when there is no checkpoint for the selected past time, the code returns the current commission rate: https://github.com/immunefi-team/attackathon-plume-network/blob/580cc6d61b08a728bd98f11b9a2140b84f41c802/plume/src/lib/PlumeRewardLogic.sol#L620-L622
- User rewards are not accrued at the same time as the validator commission.
Consequence: users who stake before the first commission checkpoint will have their commissions for that pre-checkpoint period calculated using the current commission rate (which may differ from the initial commission). For example:
- If the initial commission when the validator was added was 20%, but the current commission later is 10%, the validator will have rightly accrued 20% of total rewards for that earlier period, but users updating/claiming afterward will be charged only 10% — creating a deficit the treasury must cover.
- Conversely, if the current commission is greater than the initial (e.g., initial 20% → current 30%), stakers could be overcharged for the prior period, losing rewards improperly.
Impact Details
- Protocol insolvency risk if the current commission is smaller than the initial (treasury may be insufficient to cover validator's rightful commission).
- Loss of rewards for stakers if the current commission is larger than the initial.
- A validator (or a colluding party) could exploit timing to create or benefit from the discrepancy.
{% hint style="warning" %} The issue affects both on-chain accounting and user-facing reward calculations and can be exploited by validators or administrators who change commissions after stakes/rewards accrue but before stakers' states are updated. {% endhint %}
References
<details> <summary>Relevant code references</summary>- PlumeRewardLogic commission lookup (example lines):
https://github.com/immunefi-team/attackathon-plume-network/blob/580cc6d61b08a728bd98f11b9a2140b84f41c802/plume/src/lib/PlumeRewardLogic.sol#L620-L622 - Additional reference mention in report:
https://github.com/immunefi-team/attackathon-plume-network/blob/580cc6d61b08a728bd98f11b9a2140b84f41c802/plume/src/lib/PlumeRewardLogic.sol#L477-L482
Proof of Concept
{% stepper %} {% step %}
Step
Protocol adds a new validator with commission = 20%. {% endstep %}
{% step %}
Step
Bob stakes to this validator totalling 100_000 plume and some rewards accrue; for this example, 1000 plume. {% endstep %}
{% step %}
Step
Validator admin sets new commission to 10%. This settles the validator commission for the previous time period at 20% — i.e., 200 plume is recorded as the validator's commission. {% endstep %}
{% step %}
Step
Bob claims his rewards in the same block but after the commission is changed. Because the current commission is now 10%, Bob receives 900 plume. {% endstep %}
{% step %}
Step
Validator admin requests and claims their 200 plume, leaving the treasury with a 100 plume deficit. {% endstep %} {% endstepper %}
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the missing commission checkpoint when a validator is added causes the reward logic to fall back to the current commission rate for any period before the first checkpoint.
Impact
The protocol could face insolvency if the current commission is lower than the initial, or stakers could lose rewards if the current commission is higher; a validator or colluding party could exploit timing to benefit from the discrepancy.
What the attacker needed
Validator added without commission checkpoint; staker stakes before first checkpoint; commission changed before staker claims
How it was found
- Protocol adds a new validator with commission = 20%.
- Bob stakes to this validator totalling 100,000 plume and some rewards accrue; for this example, 1000 plume.
- Validator admin sets new commission to 10%. This settles the validator commission for the previous time period at 20% — i.e., 200 plume is recorded as the validator's commission.
- Bob claims his rewards in the same block but after the commission is changed. Because the current commission is now 10%, Bob receives 900 plume.
- Validator admin requests and claims their 200 plume, leaving the treasury with a 100 plume deficit.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A commission is a fee that validators take from staking rewards. This report says that if you stake before the validator's commission is first recorded, the system uses whatever the commission is at the time you claim, not what it was when you staked. That can mean you get too little or too much, and the protocol might not have enough funds to pay everyone correctly.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.