cyanogenesis

ˌsʌɪənə(ʊ)ˈdʒɛnɪsɪs

noun

the production of hydrogen cyanide by certain plants, such as cherry laurel and bracken, as a response to wounding or a deterrent to herbivores.