transfer/mint allows the destination to be the token/contract's own address with no guard, silently locking tokens that no function can ever recover.
// user fat-fingers transfer(tokenAddress, 1000) // tokens now sit at address(this) with no sweep function -> gone.
require(to != address(this) && to != address(0), "bad recipient");
The SaferICO scanner runs 201 detectors over your Solidity source, SAFE-0210 among them. Paste an address or the source itself — a small per-scan fee, shown before you sign, or unlimited on any plan.