We discovered that four key genes (CDK1, RRM2, ANLN, and HMMR) in the prediction model interacted with HBx during the entire disease process, including HBV infection and HCC occurrence. Here, CDK1 is linked to hepatocellular carcinoma.