Most discussions of AI-generated code focus on whether AI can write code. The harder question is whether you can trust it.