Is this specifically involving a hydrazine? I got downvoted for this yesterday.
"Even the cultivated A. bisporus contains small amounts of hydrazines, the most abundant of which is agaritine (a mycotoxin and carcinogen). However, the hydrazines are destroyed by moderate heat when cooking."