Skip to content
Business logic Audit finding Intermediate

The validator admin might claim less commission token when ValidatorFacet.requestCommissionClaim is called.

The commission claim function checks that the reward token is currently active, so once a token is removed from the active list, any validator admin who has not yet claimed can no longer claim their accrued commission for that token. This leaves previously earned commission permanently unclaimable for those admins.

jasonxiale Follow

Originally disclosed on Immunefi

  • Disclosed after under an hour

52527 sc high the validator admin might claim less commission token when validatorfacet requestcommissionclaim is called

Submitted on Aug 11th 2025 at 12:11:23 UTC by @jasonxiale for Attackathon | Plume Network

Description

The validator admin might be prevented from claiming accrued commission for a reward token if that token is removed from the active reward tokens list before their claim transaction is executed. This can cause some validators to be unable to claim commission for tokens that were previously accruing rewards.

Vulnerability Details

ValidatorFacet.requestCommissionClaim uses the _validateIsToken modifier to check whether the provided token is an active reward token.

Modifier definition:

Solidity
126     modifier _validateIsToken(
127         address token
128     ) {
129         if (!PlumeStakingStorage.layout().isRewardToken[token]) {
130             revert TokenDoesNotExist(token);
131         }
132         _;
133     }

If a reward token is removed by calling RewardsFacet.removeRewardToken, the mapping $.isRewardToken[token] is set to false:

Solidity
210     function removeRewardToken(
211         address token
212     ) external onlyRole(PlumeRoles.REWARD_MANAGER_ROLE) {
    ...
244 
245         // Update the mapping
246         $.isRewardToken[token] = false;
    ...
250     }

Because _validateIsToken requires the token to be currently active, after removeRewardToken is called any subsequent calls to ValidatorFacet.requestCommissionClaim for that token will revert with TokenDoesNotExist(token). That prevents admins of other validators (who have not yet claimed) from claiming commission for that removed token.

Impact Details

Example scenario:

{% stepper %} {% step %}

Setup

  • At T0, two reward tokens exist in the system: Token0 and Token1.
  • At T1, two validators are added: validator0 (admin: Alice) and validator1 (admin: Bob).
  • Over time both validator0 and validator1 accrue commission in Token0 and Token1. {% endstep %}

{% step %}

Sequence

  • At T2, a governance/manager call removes Token0 by calling RewardsFacet.removeRewardToken, which sets isRewardToken[Token0] = false.
  • Suppose Alice called ValidatorFacet.requestCommissionClaim(Token0) just before removeRewardToken was mined; her claim succeeds.
  • After the removal transaction is mined, Bob calls ValidatorFacet.requestCommissionClaim(Token0). His call reverts due to _validateIsToken requiring the token to be active. {% endstep %} {% endstepper %}

Result: Bob cannot claim his accrued Token0 commission after Token0 has been removed, causing some accrued rewards to remain unclaimable.

Proof of Concept

The sequence above demonstrates the issue: a validator admin who does not submit (or whose transaction is not mined before) the removeRewardToken call will be unable to claim previously-accrued commissions for that token, because requestCommissionClaim validates current active status of the token.

References

The original report as published on Immunefi, by jasonxiale. 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

Likely the claim path reuses an active-token check instead of checking the admin's accrued commission balance for that token, so removal of the token blocks legitimate claims.

Impact

Validator admins who have not claimed before a token is removed could permanently lose access to their accrued commission for that token.

What the attacker needed

A validator admin role; reward token removed before claim; no fix in place

How it was found

  1. Two reward tokens exist and two validators accrue commission in both.
  2. A manager removes one reward token, setting its active flag to false.
  3. One admin claims just before removal and succeeds.
  4. The other admin claims after removal and the call reverts because the token is no longer active.

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 staking system lets validator admins earn a small cut (commission) in various reward tokens. The claim function only works while the token is still on the approved list. If an administrator removes a token from that list, any admin who had not yet claimed their cut for that token can no longer do so, and the earned amount is stuck.

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 by jasonxiale

View all

25 more disclosed reports, best first.

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.