Nature, Published online: 09 April 2025; doi:10.1038/d41586-025-01065-4Gene editing and many other useful biotechnology tools came from studies of bacteria fighting off viral invaders. But scientists have only begun to unlock the secrets of this ancient arms race.