You can also use your senses to decide if an egg is safe to eat — cracked eggs should not give off much of a scent, and should have clear whites with a bright yolk. If you notice a foul odor, slimy texture, or discoloration, the egg is spoiled and could be contaminated with salmonella that leads to diarrhea, vomiting, fever, and worse.