Arctokens cannot be burned or minted when transfers are restricted
When transfer restrictions are enabled, the whitelist check requires both the sender and recipient to be whitelisted, but minting and burning involve the zero address, which cannot be whitelisted. As a result, mint and burn operations always revert while transfers are restricted.
Originally disclosed on Immunefi
- Disclosed after under an hour
50120 sc low arctokens cannot be burned or minted when transfers are restricted
Submitted on Jul 21st 2025 at 21:00:21 UTC by @KlosMitSoss for Attackathon | Plume Network
- Report ID: #50120
- Report Type: Smart Contract
- Report severity: Low
- Target: https://github.com/immunefi-team/attackathon-plume-network/blob/main/arc/src/restrictions/WhitelistRestrictions.sol
- Impacts: Contract fails to deliver promised returns, but doesn't lose value
Description
Brief/Intro
When restricting transfers, it is ensured that both the to address and the from address are whitelisted. However, this causes calls to ArcToken::mint() and ArcToken::burn() to revert since address(0) cannot be whitelisted.
Vulnerability Details
When minting ArcTokens, they are transferred from address(0). When burning ArcTokens, they are transferred to address(0). Furthermore, it is possible to restrict transfers, which means that whenever an ArcToken is transferred, WhiteListRestrictions::isTransferAllowed() is called (https://github.com/immunefi-team/attackathon-plume-network/blob/580cc6d61b08a728bd98f11b9a2140b84f41c802/arc/src/restrictions/WhitelistRestrictions.sol#L101-L111).
When transfers are restricted, this function only returns true when both the from address and the to address are whitelisted. However, when minting or burning, one of the two addresses will be address(0). Since address(0) cannot be whitelisted (https://github.com/immunefi-team/attackathon-plume-network/blob/580cc6d61b08a728bd98f11b9a2140b84f41c802/arc/src/restrictions/WhitelistRestrictions.sol#L135-L137), minting or burning operations will always revert.
To mitigate this issue, either allow whitelisting address(0) or modify isTransferAllowed() to return true when only one of the to or from addresses is whitelisted, as long as the other is address(0).
Impact Details
ArcTokens can neither be minted nor burned when transfers are restricted.
References
Code references are provided throughout the report.
Proof of Concept
{% stepper %} {% step %}
Step
Call WhitelistRestrictions::setTransfersAllowed() to toggle transfer restrictions. In this case, set it to false (restrict transfers).
Reference: https://github.com/immunefi-team/attackathon-plume-network/blob/580cc6d61b08a728bd98f11b9a2140b84f41c802/arc/src/restrictions/WhitelistRestrictions.sol#L207-L212 {% endstep %}
{% step %}
Step
Now, any calls to ArcToken::mint() or ArcToken::burn() will revert on one of the following lines, because address(0) cannot be whitelisted, nor is there any exception to the restriction for transferring from address(0) (minting) or transferring to address(0) (burning):
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 transfer restriction check requires both the from and to addresses to be whitelisted, without an exception for the zero address used in mint and burn operations.
What the attacker needed
Transfers are restricted
The fix
The check should be modified to allow minting and burning by returning true when one side is the zero address and the other is whitelisted, or by allowing the zero address to be whitelisted.
How it was found
- Call setTransfersAllowed() to restrict transfers.
- Attempt to call ArcToken::mint() or ArcToken::burn(), which reverts because address(0) cannot be whitelisted.
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 token contract can have a switch that only lets approved addresses send or receive tokens. Minting creates new tokens from a special empty address, and burning destroys tokens by sending them to that same empty address. Because the empty address can never be approved, the switch blocks minting and burning entirely.
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.