From ChatGPT: "Smart contracts with a mint function can be risky because they allow for the creation of new tokens at any time, potentially giving the owner of the contract the ability to print an unlimited supply of tokens.