I think there's a lot of unnecessary fear-mongering about security and AI. A part of it is people simply not knowing how things work. A part is certain companies purposefully spreading this narrative for their own ideological/commercial reasons. I'm not an employee at said companies and I haven't witnessed first-hand if their internal models truly possess some godly powers that's on track to wipe us all out. But I use their SOTA models on a daily basis, and I'm amused how the idea of an AI doomsday can ever enter someone's mind.
I think we first need to dissect the interaction between AI and security. I can think of three:
In chess, one of the beginner's lessons is "don't play wish chess", or don't wish your opponent can't find the move that you dread the most. In security, there's the often-frowned-upon-but-exists-nonetheless-because-YOLO practice of "security by obscurity".
Was software bug-proof before AI? No, it was as sloppy as it could be (more on this later). Take any 20-year-old website (as far as I know, a lot of bank/hospital/government software still run on archaic systems because they are never upgraded, or take the website of your local restaurant that haven't had the financing for a rewrite since its day 1) and just be amazed at how easy to hack it is.