In summary, we introduced and validated a prognostic model for HCC based on T cell marker genes, emphasizing the roles of PTTG1, BATF, LMNB1, and SLC38A1 in HCC progression. This evidence concerns the gene LMNB1 and hepatocellular carcinoma.