Sometimes, meal moths are spread at the store.
One food scientist told me it often is worse at stores where the dog food aisle is close to the rice and bean aisle.
I had an infestation in 2008 that was awful.
If I see meal moths in a store selling beans or rice, when I’m shopping, I don’t buy anything.
I also now store my dog’s food in an airtight cereal container with a flip lid, and keep the larger bag of dog food away from the pantry.