Furthermore, our investigation uncovered the involvement of HMGB2 in CD8+ T cell exhaustion and the immunosuppressive microenvironment of HCC, highlighting its multifaceted role in hepatocarcinogenesis at single-cell resolution. This evidence concerns the gene CD8A and hepatocellular carcinoma.