Silent ETH transfer failure in TRANSFER_NATIVE command can permanently lock user funds
The TRANSFER_NATIVE command in the router forwards ETH using a low-level call but does not check whether the call succeeded. If the recipient rejects the ETH, the transfer fails silently and the funds remain stuck in the router with no way to recover them.
- Disclosed after under an hour
#43981 [SC-Low] Silent ETH transfer failure in `TRANSFER_NATIVE` command can permanently lock user funds
Submitted on Apr 15th 2025 at 10:26:53 UTC by @DSbeX for Audit Comp | Spectra Finance
- Report ID: #43981
- Report Type: Smart Contract
- Report severity: Low
- Target: https://github.com/immunefi-team/Spectra-Audit-Competition/blob/main/src/router/Dispatcher.sol
- Impacts:
- Griefing (e.g. no profit motive for an attacker, but damage to the users or the protocol)
Description
Brief/Intro
The TRANSFER_NATIVE command in the Router.sol allows users to forward ETH to any arbitrary address via a low-level .call{value: amount}(""). However, if the recipient address is a contract that does not support receiving ETH(or any other reason of which the transaction will revert), the call fails silently. There is no validation of the recipient beforehand, nor is the failure communicated to the caller.
Vulnerability Details
In the _dispatch() function of the Dispatcher.sol , the following command is handled:
} else if (command == Commands.TRANSFER_NATIVE) {
(address recipient, uint256 amount) = abi.decode(_inputs, (address, uint256));
(bool success, ) = payable(recipient).call{value: amount}("");
// success is not checked
}
The failure of .call is not tracked or surfaced in any way. From the user’s perspective, ETH is sent into the Router.sol and expected to be delivered — but no indication is given if the transfer fails.
While this is considered a user input error, the contract does not enforce or warn about this scenario(so the user expectes it to revert if the transaction doesn't execute) — leading to silent loss of funds, even if not truly frozen or maliciously mishandled.
Impact Details
This applies to any user sending ETH through a TRANSFER_NATIVE command to a recipient that rejects ETH or causes the .call to fail for some reason:
Unexpected behavior: ETH silently fails to deliver, but execution continues.
Poor user experience: users are not alerted and all their funds that were meant for this transaction are locked
No mechanism is provided for recovery or refund.
References
_dispatch() in Dispatcher.sol
Router.execute() passes msg.value through to _dispatch() when ETH is being sent
Proof of Concept
Proof of Concept
- User sends ETH via TRANSFER_NATIVE to a non-payable contract.
- ETH is accepted into the Router via msg.value.
- .call to the recipient fails silently. (because of the non-payable contract)
- Execution continues, user is unaware of failure.
- ETH remains in the Router with no recovery method.
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 low-level call's success boolean is not checked, so a failed ETH transfer does not revert the transaction.
Impact
ETH sent to a recipient that rejects it is silently left in the router and cannot be recovered, causing a loss of funds for the user.
What the attacker needed
User sends ETH via TRANSFER_NATIVE; recipient rejects ETH or call fails
The fix
The contract should check the success boolean of the low-level call and revert the transaction if the transfer fails.
How it was found
- User sends ETH via TRANSFER_NATIVE to a non-payable contract.
- ETH is accepted into the Router via msg.value.
- .call to the recipient fails silently because the contract is non-payable.
- Execution continues and the user is unaware of the failure.
- ETH remains in the Router with no recovery method.
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 smart contract can send Ether to another address using a low-level call, which returns a true or false value indicating success. Here the code ignores that true/false value, so if the recipient refuses the payment the transaction still continues as if nothing went wrong. The user's Ether is then left sitting in the router contract with no function to send it back.
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.