Skip to content
Smart contracts Audit finding Beginner

Lack of ETH Success Transfer Checks in Dispatcher.sol

The Dispatcher contract's native ETH transfer command uses a low-level call but ignores the returned success flag. A transfer that fails (for example because the recipient rejects ETH) would go unnoticed, so the router continues as if payment succeeded while the recipient receives nothing.

Allen_George08 Follow

Originally disclosed on Immunefi

  • Disclosed after under an hour

#43912 [SC-Low] Lack of ETH Success Transfer Checks in Dispatcher.sol

Submitted on Apr 14th 2025 at 07:17:05 UTC by @Allen_George08 for Audit Comp | Spectra Finance

Description

Brief/Intro

The Dispatcher.sol has a command TRANSFER_NATIVE which is transferring native eth using a low-level call which returns a value. After the call the contract doesn't have a succcess check which will lead to un-noticed failed transfer.

Vulnerability Details

Here's a snippet from the Dispatcher.sol contract.

Dispatcher.sol

Solidity
        else if (command == Commands.TRANSFER_NATIVE) {
            (address recipient, uint256 amount) = abi.decode(_inputs, (address, uint256));

            (bool success,) = payable(recipient).call{value: amount}("");
            //@audit lacks success checks
        } else {
            revert InvalidCommandType(command);
        }

This low-level call can fail silently for a number of reasons:

  • The recipient contract reverts in its fallback/receive function.
  • Insufficient gas provided for execution.
  • Transfers to smart contracts that do not accept ETH.
  • Transfer limits or blocked addresses enforced by recipient logic.

Because the return value (success) is ignored, such failures would go unnoticed and create inconsistencies in user expectations vs. actual contract state.

Impact Details

  • Silent reverting of calls.
  • The vulnerability doesn't cause a damage to users or protocol but fails to deliver promised returns i.e It falls under the Low severity category of Immunefi.

Proof of Concept

Proof of Concept

  1. A transfer native eth via Router::execute() is executed and sends commands and funds in.
  2. The recipient is a contract that rejects ETH transfers (e.g., has no receive() or fallback() and doesn't implement payable).
  3. The call fails internally, but since success isn’t checked, the router logic continues as if the transfer succeeded.
  4. The recipient receives nothing, yet the system may assume payment has occurred.

The original report as published on Immunefi, by Allen_George08. 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

The return value of the low-level ETH transfer call is ignored, so a failed transfer does not revert or get handled.

Impact

Failed ETH transfers are silently ignored, so the protocol may fail to deliver promised returns, though the report states no funds are lost.

What the attacker needed

Recipient rejects ETH (e.g. no receive function)

The fix

The transfer should be fixed by checking the returned success value and reverting when the call fails.

How it was found

  1. A user calls the router's execute function with a native ETH transfer command and funds.
  2. The recipient is a contract that rejects ETH transfers.
  3. The internal call fails but the missing success check lets the router continue.
  4. The recipient receives nothing while the system may assume payment occurred.

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.

When a contract sends ETH to another address, the send can fail, for example if the receiver is a contract that refuses money. The code here asks whether the send worked but never looks at the answer, so a failed payment is treated as a success. Nothing is stolen, but the system can believe money was paid when it was not.

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 Allen_George08

View all

1 more disclosed report, 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.