With hackers adopting AI, it’s a cat-and-mouse game