Skip to content
medium Best Practice No SWC entry CWE-693

Emergency Pause Missing / Pause Bypass

SAFE-0083 Best Practice Checked automatically by the scanner
1

What goes wrong

There is no circuit breaker to halt the protocol during an incident, or some value-moving paths ignore the paused flag, so an exploit cannot be contained.

2

How to fix it

the pattern that is safe
function withdraw() external whenNotPaused nonReentrant { _pay(); }
Add Pausable and apply it to all critical paths.
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-0083 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