Yeah, in that case unless there are specific laws violated by the code (earlier DMCA violations come to mind) then it should be safe as I said.
But as usual things are only legal until it’s tried.
A machine that prints counterfeit bills might be illegal to make or sell even without ever being used in some jurisdictions while not in others. And whether the machine has other, legal purposes, may or may not matter.
The “dual use” thing is a common argument for most technical things when there is talk of bans and regulation. I think it’s mostly a hollow argument in cases where the primary actual users are criminal users. That some technology can be used for illegal purposes should not be enough to ban it, but nor should whether there exists a legal use for a technology be enough argument that it shouldn’t be outlawed.
But as usual things are only legal until it’s tried.
A machine that prints counterfeit bills might be illegal to make or sell even without ever being used in some jurisdictions while not in others. And whether the machine has other, legal purposes, may or may not matter.
The “dual use” thing is a common argument for most technical things when there is talk of bans and regulation. I think it’s mostly a hollow argument in cases where the primary actual users are criminal users. That some technology can be used for illegal purposes should not be enough to ban it, but nor should whether there exists a legal use for a technology be enough argument that it shouldn’t be outlawed.