Gcc2-deleted or Rab14-deleted cancer cells induce T-cell and IFN-dependent anti-tumour immunity and inhibit tumour growth in mice. Here, GCC2 is linked to cancer.