Our study showed that SLAMF1 and TRAF3IP3 were lowly expressed in HBV-related HCC and positively related with the infiltration of B cells, CD4+ T cells, CD8+ T cells, and dendritic cells, but not neutrophils and macrophages. Here, CD8A is linked to hepatocellular carcinoma.