The attackers were reportedly planning a reprisal assault on communities accused of supporting local security groups operating in the area.