A hidden evolutionary arms race unfolds between bacteria and the viruses that attack them. By understanding how bacteria cut and rearrange DNA through recombination, researchers can harness these mechanisms for precise gene editing. This work could enable powerful new treatments for genetic diseases, helping patients like the first personalised-therapy recipient, KJ.