Technically, most molds cannot survive cooking temperatures. However, many molds produce toxins that do not break down even under high temperatures. Consumption of such toxins can lead to sickness. Therefore, it is best to discard any mold-containing food items.