While cooking broccoli, worms appeared in pot. After removing worms, is it safe to eat or throw out?
To the best of my knowledge, the worms are not dangerous to human health. An old farmers' trick is to soak veggies in cold salt water for 10 minutes or so, to encourage all the critters to let go. If you're growing yourself, you'll want to practice some controls before food gets to the kitchen. https://www.gardeningknowhow.com/edible/vegetables/broccoli/worms-in-broccoli-caterpillars-in-the-broccoli-head.htm