Guarding Against Machine Safety Failure