It tries to destroy incentives for these behaviors before they happen. You have to address that on case-by-case basis. A lot of acts we consider harmful stem from bad material situation, which is an inherent part of this system. System needs people in very bad situation to be willing to do the worst jobs. And anarchists overall think that you should put more action towards HELPING a person that got harmed than only punishing a persecutor of harmful act.