Surely the solution to this is to pass a law making AI firms responsible if their product hacks into anything. Unlimited fine or prison for the CEO. They would soon find a way to stop it happening.
bbc.co.uk
Rogue OpenAI agent 'infiltrated' Australian government website in world first
Australia criticised OpenAI for taking "too long" to tell them about the breach which happened in June.