We need a legal structure to make companies liable for the actions of the agents they've made.
I'm 99% sure the Computer Fraud and Abuse Act covers this. The problem is that it seems that none of the victims want to, or are brave enough, to sue a company with absurd amounts of funding.
I'm pretty sure it's already illegal to hack others.
Agent technology labs are likely exempted of this due to the significance ascribed to their work.
We already have it.
Good luck convincing the current DOJ to do anything useful at all though! It is currently intentionally stacked with incompetent cronies who have been told that their job is to attack the President's enemies and ignore the misdeeds of his allies.
It will remain like that until he's gone (and not replaced with another Republican wannabe dictator).