Since OpenAI gave the public access to its ChatGPT app, stories have appeared about how artificial intelligence can be exploited by bad actors. But even good actors can create security risks for their supply chains when using AI to produce code.