Here, the authors show that Salmonella YB1 inhibits metastasis in multiple mouse models of cancer through a mechanism dependent on IFN-γ and NK cells. This evidence concerns the gene IFNG and cancer.