ROC analysis and Kaplan–Meier curves highlighted CHI3L1, FCGBP, VSIG2, and TFF2 as promising biomarkers for GC, offering superior modeling accuracy. Here, TFF2 is linked to gastric cancer.