It shall be unlawful for the permittee to allow to remain unguarded at the place of excavation any machinery, equipment, or other device having the characteristics of an attractive nuisance likely to attract children and be hazardous to their safety or health.