To conclude, our results suggest that cystatin F is an important molecular mediator in tumour microenvironments and is responsible for shaping the anti-tumour immune response and function of cytotoxic lymphocytes. Here, CST7 is linked to neoplasm.