Scientists are searching for ways to develop antibiotics that can accurately target infectious bacteria. Increased specificity could help to combat antibiotic resistance and also spare “good” bacteria from being attacked by broad-spectrum antibiotics.