The GFPT2-O-GlcNAcylation-YBX1 axis promotes IL-18 secretion to regulate the tumor immune microenvironment in pancreatic cancer. Here, GFPT2 is linked to familial pancreatic carcinoma.