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.
- 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
- Report ID: #52931
- Report Type: Smart Contract
- Report severity: High
- Target: https://github.com/immunefi-team/attackathon-plume-network/blob/main/plume/src/facets/ValidatorFacet.sol
- Impacts:
- Permanent freezing of funds
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:
// 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:
function requestCommissionClaim(
uint16 validatorId,
address token
)
external
onlyValidatorAdmin(validatorId)
nonReentrant
_validateValidatorExists(validatorId)
_validateIsToken(token)
The _validateIsToken modifier implementation:
modifier _validateIsToken(address token) {
if (!PlumeStakingStorage.layout().isRewardToken[token]) {
revert TokenDoesNotExist(token);
}
_;
}
Problem flow:
{% stepper %} {% step %}
Token removal and settling
- Token is removed →
$.isRewardToken[token] = false. - Validator commission is settled and stored in
$.validatorAccruedCommission[validatorId][token]. {% endstep %}
{% step %}
Claim attempt
- Validator calls
requestCommissionClaim(validatorId, removedToken). _validateIsToken(removedToken)checks$.isRewardToken[removedToken]→ returnsfalse.- Function reverts with
TokenDoesNotExist(token). {% endstep %} {% endstepper %}
While users can claim rewards from removed tokens because RewardsFacet._validateTokenForClaim() includes fallback logic:
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 %}
- Call
removeRewardToken(...)→$.isRewardToken[token] = false. - 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)
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
- Remove a reward token, which sets its active flag to false and settles validator commission into storage.
- A validator calls the commission claim function for that removed token.
- 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.