Posting this to IMHO as I am not sure there is a clear scientific answer, but I would appreciate any technical insight if it exists.
For years now my wife and I have been battling with bugs (maggots and small moths) that miraculously appear in pretty much all of our foodgrains after some time. We have tried a range of containers, most recently this one from Ikea, but the little buggers always seem to get in there. And it isn’t just one of the grain types, it’s pretty much all of them. If it is relevant, we keep basmati rice, regular white rice, white flour, whole wheat flour, oatmeal, polenta, corn meal, Bhutanese red rice and chick pea flour. Originally we suspected that the moths might be coming from the ones that were imported from South Asia (my Indian MIL thinks that the Indian grains often have eggs in them), but keeping the grains in the Ikea containers did not stop the others from getting the moths too. And after one time when a batch of the red rice was totally overrun with the moths, we baked the next batch in the oven to kill any eggs, but it still got infested.
We are getting really sick of having to throw out the grains frequently and/or not being able to depend on having something when we need it. And to add to the fun, my 4 yo daughter is terrified of the little moths when they get out and fly around the apartment.
Do other Dopers face the same problem, and do you have any advice for how to deal with it?