Sorry, I should have said intruders as well as internal bad faith actors.
There will still be psychopaths and sociopaths and serial killers and pedophiles in a communist or anarchist society.
Communities will still need to deal with those malignant people, whether by outcasting/exiling/deporting them or inflicting punishment + delivering rehabilitation. Those activities will be authoritarian over the bad actors.