Yield distribution could encounter an unexpected revert
The yield distribution functions iterate over holders and transfer yield tokens, but if any holder is blacklisted by the token (e.g., USDC), the entire transaction reverts. An attacker could cause a temporary denial of service by getting a holder blacklisted, as the revert lacks a clear reason.
- Disclosed after under an hour
49800 sc insight yield distribution could encounter an unexpected revert
Submitted on Jul 19th 2025 at 14:19:28 UTC by @a16 for Attackathon | Plume Network
- Report ID: #49800
- Report Type: Smart Contract
- Report severity: Insight
- Target: https://github.com/immunefi-team/attackathon-plume-network/blob/main/arc/src/ArcToken.sol
- Impacts:
- Function call could be DoS
Description
Brief/Intro
When calling distributeYield() or distributeYieldWithLimit(), the transaction might experience an unexpected revert as a result of a yield-token blacklisted token holder.
Vulnerability Details
As mentioned in ArcTokenFactory.sol, the yield token could be USDC:
param yieldToken Address of the yield token (e.g., USDC)
USDC is one example of a token with a blacklist, reverting whenever a blacklisted address is involved in a transaction. However, when distributeYield() or distributeYieldWithLimit() are being called, the function iterates over holders, transferring yield tokens to multiple addresses at the same time. Since yToken.safeTransfer() is not called using a try-catch scheme, any blacklisted user would revert the entire transaction.
Impact Details
Any blacklisted user would cause an unexpected revert without a clear event indicating the problem (and more importantly, the index of the problematic holder). While this holder could be skipped using the distributeYieldWithLimit() function, the lack of clear revert reason might cause a temporary DoS until the issue is identified.
{% hint style="info" %} Suggestion: Consider using a try-catch block around transfers of the yield-token, skipping holders that failed to receive the yield-token, and emitting an event describing the failure and the index (or address) of the problematic holder. {% endhint %}
Proof of Concept
<details> <summary>Proof of Concept</summary>As per Attackathon rules, no PoC is necessary.
</details>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 yield distribution function does not use a try-catch around token transfers, so a single blacklisted holder reverts the entire batch.
Impact
A blacklisted holder could cause a temporary denial of service for yield distribution until the problematic holder is identified and skipped.
What the attacker needed
A holder is blacklisted by the yield token
The fix
The report suggests using a try-catch block around yield-token transfers, skipping failed holders and emitting an event with the failure and the holder's index or address.
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.
Some tokens, like USDC, can block specific addresses from sending or receiving them. If a yield distribution tries to pay a blocked address, the whole payment fails, and nobody gets paid. This report says that could let someone stop the distribution temporarily.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.