GZMB and breast cancer: These results suggest that the differing immune cell infiltration patterns and their associations with prognostic genes like GZMB contribute to the distinct immune microenvironments in HRG and LRG, may offer new insights into the immunomodulatory mechanisms involved in BC progression and provide guidance for the development of targeted immunotherapies.