Automated Detection of Hazards