If everything went together as it should, the hammer springs and the little spring in the center of the hammer pivot hole should keep the pins in place.
That said, I am in the process of adding anti-walk pins to a couple of my more "serious use" AR15s.