Following LASSO Cox regression analysis, heat shock protein B2 (HSPB2) and acyl-CoA synthetase medium-chain family member 5 (ACSM5) were identified as the most significant genes associated with tumor microenvironment (TME) alterations and Helicobacter pylori infection. Here, ACSM5 is linked to neoplasm.