Using bioinformatics, we screened three genes (TEAD4, SOCS2, and CIT) that may play an important role in the transformation of NAFLD/NASH into HCC, and constructed a risk prognosis model in HCC patients, which is helpful for the early stage of HCC diagnosis and precision therapy. Here, SOCS2 is linked to metabolic dysfunction-associated steatotic liver disease.