Results showed that the CAFs-related target gene, SPP1, is a key regulatory gene of KLF2 affecting cancer fibrosis, and is also a promising diagnostic factor for HCC. Here, KLF2 is linked to cancer.