"Make my web app secure."
So, yes, asking an AI to secure your app is going to be much better than what the average dev churns out.
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.
Also, can we please have a civil discussion?