SARM1 inhibits the activation of Klebsiella-induced absent in melanoma 2 inflammasome to limit IL-1β production, suppressing further inflammation. Here, SARM1 is linked to melanoma.