In our study, we found that the HP infection score in the tumor group was notably higher than that in the normal group and screened five key prognostic genes (CTLA4, CPVL, EMB, CXCR4, and FAM241A) from the HP infection–related DEGs in STAD to establish a riskscore model. The gene discussed is CXCR4; the disease is neoplasm.