In this study, we identified six mitophagy genes (ATG12, CSNK2B, MTERF3, TOMM20, TOMM22, and TOMM40) as diagnostic feature biomarkers for HCC according to a combination of ML algorithms and classical bioinformatics. Here, CSNK2B is linked to hepatocellular carcinoma.