Removed reward tokens block validator commission claims
Commission claim functions require the reward token to still be active, so when governance removes a reward token, all previously accrued commission becomes unclaimable. Validators lose access to their earned commission until governance reactivates the token.
- Disclosed after under an hour
52104 sc high removed reward tokens block validator commission claims
Submitted on Aug 8th 2025 at 00:57:27 UTC by @jovi for Attackathon | Plume Network
- Report ID: #52104
- Report Type: Smart Contract
- Report severity: High
- Target: https://github.com/immunefi-team/attackathon-plume-network/blob/main/plume/src/facets/ValidatorFacet.sol
Impacts:
- Temporary freezing of funds for at least 24 hours
- Theft of unclaimed yield
Description
Both ValidatorFacet.requestCommissionClaim() and ValidatorFacet.finalizeCommissionClaim() require that the commission token is still active via the _validateIsToken modifier. When governance calls RewardsFacet.removeRewardToken(), the token’s isRewardToken flag is cleared while all previously-accrued commission remains recorded. Every future claim therefore reverts, freezing the funds and stripping validators of their earnings.
Details
How commissions are supposed to work
{% stepper %} {% step %}
Each validator accrues commission
Each validator earns a slice of every active reward token; the amount is tracked to be claimed as commission. {% endstep %}
{% step %}
Claim flow
When the validator admin is ready, they call requestCommissionClaim() and later finalizeCommissionClaim() to receive the payout.
{% endstep %}
{% endstepper %}
Both claim functions enforce the same modifier:
modifier _validateIsToken(address token) {
if (!PlumeStakingStorage.layout().isRewardToken[token]) {
revert TokenDoesNotExist(token);
}
_;
}
As long as isRewardToken[token] is true, claims succeed. If the flag is ever false, the call reverts before any business logic executes.
What happens during token removal
Governance (or the Reward Manager) can retire a reward token:
function removeRewardToken(address token) external … {
…
$.isRewardToken[token] = false; // ① mark as inactive
$.rewardRates[token] = 0; // stop further accrual
…
}
Once step ① runs:
- The next call to
requestCommissionClaim(..., token)orfinalizeCommissionClaim(..., token)hits_validateIsTokenand reverts withTokenDoesNotExist. - The commission becomes unclaimable.
Impact
{% hint style="danger" %}
- Loss of unclaimed commission for all validators when any reward token is removed.
- Governance must reactivate a reward token for validators to be able to claim. {% endhint %}
Proof of Concept
{% stepper %} {% step %}
Initial state
- Deploy contracts.
- Add reward token
TOKEN_A; validators accrue commission inTOKEN_A. - Validator V has
validatorAccruedCommission[V][TOKEN_A] = 1_000. {% endstep %}
{% step %}
Governance action
- Call
RewardsFacet.removeRewardToken(TOKEN_A). {% endstep %}
{% step %}
Attempted claim
- V calls
ValidatorFacet.requestCommissionClaim(V_ID, TOKEN_A)→ revertsTokenDoesNotExist. {% endstep %}
{% step %}
Observation
- Storage still shows
validatorAccruedCommission[V][TOKEN_A] == 1_000, but there is no callable function that will ever succeed, so the funds are frozen. {% 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
The claim functions reuse an active-token check that is meant for new accrual, so removing a token also blocks claims for already-accrued balances.
Impact
Validators could temporarily lose access to unclaimed commission when a reward token is removed, and governance must reactivate the token for claims to succeed.
What the attacker needed
Validator has accrued commission; governance removes the reward token
The fix
The claim functions should not require the token to still be active, or should allow claims for tokens that have been removed.
How it was found
- Deploy contracts and add a reward token so validators accrue commission in it.
- Governance calls removeRewardToken for that token.
- Validator calls requestCommissionClaim for the removed token.
- The call reverts with TokenDoesNotExist, leaving the accrued commission frozen.
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.
Validators earn a share of rewards in various tokens, and they claim these later. The claim function checks that the token is still on an approved list. If the list entry is removed, the check fails and the claim is blocked, even though the earned amount is still recorded. This means the validator cannot get their money until the token is added back.
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.