the united states department of agriculture does not recommend eating raw shell eggs that are not cooked or undercooked due to the possibility that salmonella bacteria may be present. however, homemade mayonnaise can be safely made if raw, in-shell pasteurized eggs or pasteurized egg products are used.