UFD1 and infection: Collectively, our findings show that inhibition of the UFD-1-NPL-4 complex triggers an aberrant immune response that is detrimental to immunocompetent worms under infection conditions but can be advantageous for immunocompromised worms.