AI Code Security: Common Threats, and Best Practices for Securing AI-Generated Code | Textpad