Vigilantism

civilian who undertakes law enforcement without legal authority

A vigilante is a civilian or organization acting in a law enforcement capacity (or in the pursuit of self-perceived justice) without legal authority.