To conclude, our study reveals that MDZ inhibits HCC tumour growth by moderating the NF-κB pathway and alleviating the exhaustion of CD8+ T cells. The gene discussed is CD8A; the disease is neoplasm.