Artificial intelligence is increasingly being used to identify software vulnerabilities and strengthen digital security. But a recent testing incident…