Access Control Issues
How They Work
solidity function mint(uint256 _amount) public { // Anyone can mint tokens totalSupply += _amount; }solidity function updateOwner(address _newOwner) public { // Missing restriction to allow only the current owner owner = _newOwner; }
Real-Life Impact
Last updated
