I don't agree with your logic:
Everyone caught up in the hack was innocent, except for all of Epik's pedo porn site owners. None of them, as far as I know, were breaking the law in US, where EPIK resides. None of them deserve to have their data stolen or be doxed. None of them deserve to go to prison for things they believe in their hearts, even if they live in an oppressive country, a terrible country with hate speech laws or a country with sharia type laws.
I don't agree with your analogies:
Imagine a school with a bunch of kids, the parents trust their kids with that school but the school has no one at the door checking adults who enter, any ol pervert can enter and rape a child. Of course the perverts are wrong, but there are always perverts in the world, it is the school's responsibility to protect those children from the perverts.