No one has any software without bugs and security flaws in it. AI is already much better at finding those than humans. Do you really not see the problem here?
No one has any use for these things when they aren't on the internet. This is a fantasy, that AI can be both useful and controlled at the same time.