Tim-3/gal-9 signaling pathway mediates functional inhibition and senescence of T cells in HBV-associated HCC patients and predicts poor prognosis. Here, HAVCR2 is linked to hepatocellular carcinoma.