Controlling the risk of neoformed contaminants