What do you mean "safe"? All mace is designed to cause irritation, but I don't know that any of it is considered unsafe, except perhaps the really concentrated stuff (like bear spray).
If you want something to ward off aggressive animals without the risks of blowback, I really like the citronella Direct Stop/Spray Shield product as it is quite effective but without the effects on mucous membranes.