The pathogen Pseudomonas aeruginosa negatively affects the attraction response of the nematode Caenorhabditis elegans to bacteria.