mushrooms, even common button mushrooms, contain traces of carcinogenic compounds in raw form. the same toxin, hydrazine, is also found in portobello mushrooms, and shiitake mushrooms contain a naturally occurring formaldehyde. both chemicals are heat-sensitive and abolished upon exposure to heat.