> AI is finding vulnerabilities in all kinds of software written by humans.
I'm aware — I've used LLMs to find vulnerabilities, myself. But it doesn't follow that because AI can find them that AI can find the optimal fix, because fixing vulnerabilities often involves tradeoffs.
So, yes, asking an AI to secure your app is going to be much better than what the average dev churns out.