The targeted degradation of foreign nucleic acids by type III CRISPR–Cas systems is mediated by the multisubunit Csm interference complex. In addition, the CRISPR-associated protein Csm6 ribonuclease, which does not form part of the Csm complex, degrades foreign RNAs to provide full immunity, but how these two processes are linked is unknown. Now, two new studies reveal the mechanistic link between invader sensing and the activity of Csm6. Both studies by Kazlauskiene et al. and Niewoehner, Garcia-Doval et al. discovered that RNA binding by the Csm complex triggers its Cas10 subunit to synthesize cyclic oligoadenylate from ATP, which then binds to Csm6 and allosterically activates its ribonuclease activity. Together, these studies reveal a signalling pathway in bacteria that is reminiscent of signalling in mammalian innate immunity to control viral infection.