The LASSO analysis identified GSDMC, GZMA, AIM2, and PD-L1, as hub pyroptosis genes, and we constructed a novel and reliable predictive signature for the OS of patients with CM. The gene discussed is GSDMC; the disease is cutaneous mastocytosis.