A 2-TF risk signature, comprising high mobility group AT-hook protein 1 (HMGA1) and MAF BZIP transcription factor G (MAFG), was constructed and validated to negatively related to the overall survival (OS) of HCC. The gene discussed is TF; the disease is hepatocellular carcinoma.