During pathogenic infection, BIRC2 and BIRC3 promote host survival by preventing death-receptor-induced programmed necrosis in immune and non-immune cells. Here, BIRC2 is linked to infection.