Do you realize solving the problem is not the point? Point is to flow money to few particular companies and their shareholders.
Of course the solution is to make companies/individuals liable for what they do with the software. But then half of OpenAI and Anthropic would already have to go to jail. But their hacking is different than anyone elses.
Hell we already have those laws that make people liable for hacking and other bad behavior on the internet but those laws are exactly the type of regulation the AI companies don't want.