ST combined with mIHC validated the spatial expression patterns of HMGB2 within the TME, providing additional evidence of its role in HCC progression and immune evasion. This evidence concerns the gene HMGB2 and hepatocellular carcinoma.