In conclusion, the present study identified a TF-based risk model consisted of HMGA1 and MAFG in HCC based on public datasets from multiple databases. This evidence concerns the gene MAFG and hepatocellular carcinoma.