There was an increase in LAG3 expression in CD8+ TRM cells in end-stage HCC; moreover, FGL1 levels were negatively correlated with CD103 expression and related to poor outcomes in HCC. Here, CD8A is linked to hepatocellular carcinoma.