Skip to content
Business logic Audit finding Intermediate

Validators can not claim their commissions after the reward token removal.

After a reward token is removed, validators cannot claim commission that was already accrued in that token because the claim function rejects any token no longer marked as active. This permanently locks the validators' earned commission.

Slayer Follow

Originally disclosed on Immunefi

  • Disclosed after under an hour

52931 sc high validators can not claim their commissions after the reward token removal

Submitted on Aug 14th 2025 at 11:49:48 UTC by @Slayer for Attackathon | Plume Network

Description

Brief/Intro

The requestCommissionClaim function prevents validators from claiming earned commission after a reward token has been removed from the system. While the removeRewardToken function correctly updates accrued validator commissions, the commission claim process requires the token to still be active, creating a permanent lock on validator funds.

Vulnerability Details

When a reward token is removed:

Solidity
// RewardsFacet.sol:removeRewardToken()
for (uint256 i = 0; i < $.validatorIds.length; i++) {
    uint16 validatorId = $.validatorIds[i];

    // Final update to current time to settle all rewards up to this point
    PlumeRewardLogic.updateRewardPerTokenForValidator($, token, validatorId);

    // Create a final checkpoint with a rate of 0 to stop further accrual definitively
    PlumeRewardLogic.createRewardRateCheckpoint($, token, validatorId, 0);
}

// Update the mapping
$.isRewardToken[token] = false;

The function correctly:

  • Settles all pending validator commission up to the removal timestamp
  • Stores commission in $.validatorAccruedCommission[validatorId][token]
  • Sets $.isRewardToken[token] = false

However, when validators try to claim this commission:

Solidity
function requestCommissionClaim(
    uint16 validatorId,
    address token
)
    external
    onlyValidatorAdmin(validatorId)
    nonReentrant
    _validateValidatorExists(validatorId)
    _validateIsToken(token)

The _validateIsToken modifier implementation:

Solidity
modifier _validateIsToken(address token) {
    if (!PlumeStakingStorage.layout().isRewardToken[token]) {
        revert TokenDoesNotExist(token);
    }
    _;
}

Problem flow:

{% stepper %} {% step %}

Token removal and settling

  1. Token is removed → $.isRewardToken[token] = false.
  2. Validator commission is settled and stored in $.validatorAccruedCommission[validatorId][token]. {% endstep %}

{% step %}

Claim attempt

  1. Validator calls requestCommissionClaim(validatorId, removedToken).
  2. _validateIsToken(removedToken) checks $.isRewardToken[removedToken] → returns false.
  3. Function reverts with TokenDoesNotExist(token). {% endstep %} {% endstepper %}

While users can claim rewards from removed tokens because RewardsFacet._validateTokenForClaim() includes fallback logic:

Solidity
if (!isActive) {
    // Check if there are previously earned/stored rewards
    // ... fallback logic for removed tokens
    if (!hasRewards) {
        revert TokenDoesNotExist(token);
    }
}

validators have no such mechanism.

Impact Details

Validators lose all accrued commission from removed reward tokens — effectively permanent freezing of those funds.

Proof of Concept

{% stepper %} {% step %}

  1. Call removeRewardToken(...) → $.isRewardToken[token] = false.
  2. Validator commission is updated and stored in $.validatorAccruedCommission[validatorId][token]. {% endstep %}

{% step %} 3. Validator calls requestCommissionClaim(validatorId, removedToken). 4. _validateIsToken(removedToken) checks $.isRewardToken[removedToken] → returns false. 5. Function reverts with TokenDoesNotExist(token), blocking the claim. {% endstep %} {% endstepper %}

References

(Add any relevant links to documentation or code)

The original report as published on Immunefi, by Slayer. Images and videos are our own copies; raw HTML is shown as text. View it on Immunefi.

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 commission claim path uses a token-validity check that only accepts currently active reward tokens, unlike the user reward claim path which has a fallback for removed tokens with stored balances.

Impact

Validators permanently lose access to all commission accrued in removed reward tokens, effectively freezing those funds.

What the attacker needed

A reward token is removed; validator has accrued commission in that token

The fix

The commission claim function should allow claiming stored commission for removed tokens, mirroring the fallback logic used for user reward claims.

How it was found

  1. Remove a reward token, which sets its active flag to false and settles validator commission into storage.
  2. A validator calls the commission claim function for that removed token.
  3. The token validation check sees the token is inactive and reverts, blocking the claim.

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 validator is a participant who helps run the network and earns a commission. When the system stops supporting a particular reward token, it still records what each validator earned in that token, but the function that lets them withdraw it refuses to work because the token is no longer on the active list. So the recorded earnings stay stuck in the contract.

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.

More from Plume Network

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.