Most Helpful Girl
Flies can carry the Shigella bacteria, which is most commonly transferred to food from feces on human hands and flies. It is better safe than sorry to throw the potatoes away. Potatoes are a TCS (temperature controlled for safety) food. Botulism is also another risk. I personally would never risk it. Potatoes are quite cheap. Reheated mashed potatoes never taste as good anyway.
Culinary Arts major
Most Helpful Guy
it ought to still be safe to eat unless you have bug infestations or something like that than maybe don't.