In both the malignant cells of the tumour and immune cells within the microenvironment, activation of NRF2 by electrophilic KRAS inhibitors positively contributes to the clinical efficacy of these drugs by promoting anti-cancer immunity. Here, NFE2L2 is linked to cancer.