As human viruses like HIV and SARS-CoV-2 (the coronavirus behind Covid-19) have shown, certain pathogens can short-circuit the immune system.