Metal-based nanomaterials are widely used in cancer immunotherapy because of their unique biological effects, which mainly include metal-based nanomaterials that activate the cGAS–STING pathway and NLRP3 inflammatory vesicles, as well as inducing ICD, ferroptosis, cuproptosis, and cellular pyroptosis. Here, NLRP3 is linked to cancer.