Students explore how AI-generated code can introduce security vulnerabilities. They learn to identify common pitfalls like 'SQL injection' or insecure password handling and practice writing prompts with security constraints.

Similar Lessons