Advanced
Smart Contract Security Audit
Analyze a Solidity smart contract for common vulnerabilities and security risks.
📝 Contenido del prompt
Act as a senior smart contract auditor. Review the following Solidity code snippet and identify potential security vulnerabilities such as re-entrancy, integer overflow/underflow, access control issues, and gas optimization problems. For each vulnerability found, explain the risk, the specific line of code, and provide a corrected version of the code.