Are bugs in flour harmful?
Photo Credit: Courtesy of 3DStockPhoto (flour image)
Yes, it is safe. Assuming the flour is in something you will bake or otherwise heat up as the high temps will kill them. They are mainly protein so you might even consider them health. At the same time, you probably don't want to eat food or be served with food with dead weevils in it.