Most of the solidity contracts have an init function that everyone can call.
This could lead to a race condition when the contract is deployed. At that moment a hacker could call the init function and make the deployed contracts useless. Then it would have to be redeployed, costing a lot of gas.
Recommend adding a check to the init function, for example that only the deployer can call the function.
strictly-scarce (vader) confirmed:
dmvt (judge) commented:
