Been discussing this with a lot of policy people. Right now there is a huge gap in hacking law, because the US' main hacking law, the Computer Fraud and Abuse Act (CFAA) requires that the perpetrator knowingly and intentionally accessed a system without authorization
Problem is, for hacking to be a CFAA violation, there's still a requirement that someone knowingly and intentionally hacked into the system (or at least tried to).
There are some laws that enable the CFAA to reach much further than just direct CFAA violations. The furthest that I'm aware of is "Conspiracy to aid and abet a violation of the Computer Fraud and Abuse Act".
Basically, you entered into some kind of implicit agreement to provide assistance (creation of a tool, provided access to data, etc) that would help someone else in the commission of a CFAA violation.
But there's still a lot of knowledge and intent required. The state has to prove the person conspiring to aid & abet had knowledge that a crime was going to be committed/was being committed and still continued with the conspiracy, with the intent to help further said conspiracy.
I think the weakest I've ever seen successfully convicted on is "the other party didn't explicitly detail their intent to commit a crime, but it was kind of obvious, and there's no way you're this dumb" (being a massive dumbass is actually sort-of a defense to the knowledge/intent requirement if the prosecutor genuinely can't prove otherwise).
It can't just be you made a hacking tool, and someone took it and committed a crime with it, otherwise basically every pentester and red teamer who has ever posted open source hacking tools, or their tooling has gotten leaked would be open to prosecution.
But the "knowingly and intentionally" part creates an absolutely massive loophole when it comes to recklessly building AI systems that can hack. Because someone can basically just deploy an agentic hacking system in a stupid way, it hacks into something and causes a bunch of damage, then the owner can use the defense "whoops, my bad, I didn't know it'd do that". And now the prosecutor must prove they did in fact know it would do that.
Even if the AI is legally considered to have violated the CFAA, you can't arrest & convict an AI agent (I mean you probably could, but it'd be very pointless, though extremely funny).
To prosecute the human behind the AI system, there's still the knowledge/intent requirement, which in many cases, knowledge or intent may genuinely not be present. There's a lot of people just recklessly deploying AI systems, and it's on the prosecutor to prove that there was knowledge & intent of a crime being committed.
I suspect that at some point the agentic AI "it wasn't me, it was the agents" defense will get egregious enough that either:
a) Congress will expand the CFAA to explicitly cover reckless deployment or operation of AI tooling.
b) Some prosecutor will just argue a flimsy interpretation of some existing law that the judge accepts, and it becomes case law that AI-powered dumbassery is a crime
(Fun fact: the latter is how they got me. They argued that because the malware I wrote had a keylogger in it, it constituted a "wiretapping device", and charged me under the Federal Wiretapping Statute. gg, wp).