You are handed 200 lines of AI-generated code in an interview and told some of it is exploitable. Where do you look first?
Start a secure code review of AI-generated code at the trust boundaries, not at line one. Find where untrusted input enters and where it reaches a query, a shell, a file path or an authorisation decision, then check what is missing between them as hard as what is present.