Skip to content
Smart contracts Audit finding Beginner

Unchecked low-level ETH transfer in Dispatcher.sol may lead to undetected failures

The Dispatcher contract forwards ETH to a user-supplied recipient using a low-level call but never checks whether the call succeeded. If the recipient rejects the ETH, the transfer fails silently and the funds stay stuck in the router with no way to recover them.

DSbeX Follow

Originally disclosed on Immunefi

  • Disclosed after under an hour

#43987 [SC-Low] Unchecked low-level ETH transfer in `Dispatcher.sol` may lead to undetected failures

Submitted on Apr 15th 2025 at 11:22:17 UTC by @DSbeX for Audit Comp | Spectra Finance

Description

Brief/Intro

The TRANSFER_NATIVE command in the Dispatcher.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 and user funds are locked in the contract. 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:

JavaScript
} 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 expects 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:

https://github.com/immunefi-team/Spectra-Audit-Competition/blob/1cebdc67a9276fd87105d13f302fd77d000d0c0b/src/router/Dispatcher.sol#L485

Proof of Concept

Proof of Concept

  1. User sends ETH via TRANSFER_NATIVE to a non-payable contract.
  2. ETH is accepted into the Router via msg.value.
  3. .call to the recipient fails silently. (because of the non-payable contract)
  4. Execution continues, user is unaware of failure.
  5. ETH remains in the Router with no recovery method.

The original report as published on Immunefi, by DSbeX. 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 return value of the low-level call is discarded, so a failed ETH transfer does not revert the transaction.

Impact

ETH meant for a recipient that rejects it could be silently left in the router, with no mechanism for recovery or refund.

What the attacker needed

User sends ETH via TRANSFER_NATIVE; recipient rejects ETH or call fails

The fix

The contract should check the success flag of the low-level call and revert when the transfer fails, so the user is alerted instead of losing funds silently.

How it was found

  1. User sends ETH via TRANSFER_NATIVE to a non-payable contract.
  2. ETH is accepted into the Router via msg.value.
  3. .call to the recipient fails silently. (because of the non-payable contract)
  4. Execution continues, user is unaware of failure.
  5. 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 ETH to another address with a low-level call, which reports back whether it worked. Here the code ignores that report, so when the recipient refuses the money the transaction still looks successful. The ETH is then left sitting in the router contract, and the user has no obvious way to get it back.

What is Smart contracts?

Flaws in on-chain code that let an attacker drain funds, freeze them or break the protocol's accounting.

More by DSbeX

View all

11 more disclosed reports, best first.

More from Spectra Finance

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Smart contract vulnerabilities

The lesson behind this report.

Flaws in on-chain code that let an attacker drain funds, freeze them or break the protocol's accounting.