Skip to content

In-depth lesson · Missing access control in contracts

Reports behind this point

List every external and public function and ask who should be allowed to call it. Look for missing modifiers on setters, fee changes, minting, burning, and withdrawal functions. A quick test is to call the function from a fresh account and see whether it succeeds when it should not.