Skip to content

Unchecked Low-Level Call Return Value

SAFE-0026 External Calls Checked automatically by the scanner
1

What goes wrong

The boolean returned by .call/.send/.delegatecall is ignored. A failed transfer or call is treated as success, so accounting proceeds as if value moved when it did not.

2

How to fix it

the pattern that is safe
(bool ok, ) = msg.sender.call{value: amount}("");
require(ok, "transfer failed");
balances[msg.sender] = 0;
SWC-104. Always check call success.
Check your own contract for this

The SaferICO scanner runs 201 detectors over your Solidity source, SAFE-0026 among them. Paste an address or the source itself — a small per-scan fee, shown before you sign, or unlimited on any plan.

Run the scanner See how it is attacked Read the docs