Signature verification mis-orders parameters, hashes the wrong data, accepts arbitrary signers, or does not validate that the recovered signer holds the required role.
bytes32 h = keccak256(abi.encode(a, b)); // unambiguous encoding
require(authorized[ECDSA.recover(h, sig)], "unauthorized");
Largest recorded losses in the same failure class — related, not the same bug:
The SaferICO scanner runs 201 detectors over your Solidity source, SAFE-0047 among them. Paste an address or the source itself — a small per-scan fee, shown before you sign, or unlimited on any plan.