If you find an egg outside of its carton and you're unsure of its origin or how long it has been sitting out, it's generally not recommended to cook and consume it. Eggs can be susceptible to contamination, and consuming spoiled or contaminated eggs can lead to foodborne illnesses.
To ensure food safety, it's best to follow these guidelines:
Check for freshness: If you find an egg outside of its carton, first check for signs of spoilage. Discard the egg if it has an off-putting odor, a cracked or damaged shell, or if it is significantly past its expiration date.
Perform the float test: Fill a bowl with water and gently place the egg into the water. Fresh eggs will sink to the bottom and lie horizontally. If the egg stands upright on the bottom or floats to the surface, it's best to discard it, as it may be spoiled.
When in doubt, throw it out: If you cannot determine the freshness or safety of the egg, it's safer to discard it rather than risk consuming a potentially contaminated or spoiled egg.
Remember, it's essential to handle and consume eggs safely to prevent foodborne illnesses. It is generally recommended to purchase eggs from reputable sources and store them properly in the refrigerator. If you're uncertain about the freshness or safety of an egg, it's better to err on the side of caution and not consume it.