The oligosaccharyl transferase (OST) complex is required for the maintenance of C. elegans survival upon infection with Pseudomonas aeruginosa. Here, DDOST is linked to infection.