Handling potentially harmful situations