AI writes working code fast. It also makes the same security mistakes again and again. Here are the 10 most common ones, why they happen, and a quick way to check each one in your own app.