In conclusion, ZNF385A and ZNF346 are promising candidate biomarkers for the diagnosis, prognosis, and response to immunotherapy in HCC, and this study may help to understand the tumor microenvironment (TME) of liver cancer, and to develop new therapeutic targets. Here, ZNF346 is linked to liver cancer.