Salmonella can contaminate tomatoes on the farm via the roots, flowers or cracks in the skin. If an infected tomato is eaten raw, it has a high risk of infecting the person who consumers it.