Notably, HBV-specific CD8+TRM cells congregate in the livers of patients with HCC. Here, CD8A is linked to hepatocellular carcinoma.