They are not legal. Section 908 of the PA. Crimes Code lists a stun gun as a prohibited offensive weapon.