107 CAF-DEGs were identified in the HCC samples, and five prognosis-related genes (ACTA2, IGJ, CTHRC1, CXCL12, and LAMB1) were obtained by Cox analysis and utilized to build a CAF-related risk model. Here, CXCL12 is linked to hepatocellular carcinoma.