A mint function lacks access control, supply caps, or proper accounting, letting an attacker mint unlimited tokens and dump or drain liquidity (infinite mint).
function mint(address to, uint256 amt) external onlyRole(MINTER_ROLE) {
require(totalSupply() + amt <= MAX_SUPPLY, "cap");
_mint(to, amt);
}
The SaferICO scanner runs 201 detectors over your Solidity source, SAFE-0053 among them. Paste an address or the source itself — a small per-scan fee, shown before you sign, or unlimited on any plan.