Why Code Scanning Alone Isn't Enough for AI-Generated Code