Skip to content
medium Low-Level / Assembly No SWC entry CWE-436

ABI Encoding Collision / Selector Clash

SAFE-0088 Low-Level / Assembly Checked automatically by the scanner
1

What goes wrong

In transparent proxies or multiplexed dispatchers, an implementation function selector can collide with an admin/proxy selector, so a user call is silently routed to the wrong function.

2

How to fix it

the pattern that is safe
// Use OZ TransparentUpgradeableProxy: admin and user call spaces are separated
Avoid selector clashes; use transparent proxy semantics.
3

Where this has happened

Largest recorded losses in the same failure class — related, not the same bug:

Check your own contract for this

The SaferICO scanner runs 201 detectors over your Solidity source, SAFE-0088 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