This study identifies RecA as a key factor in environmental resilience and virulence, making it a promising target for mitigating infections and contamination. This evidence concerns the gene RAD51 and infection.