Weevils, @keobooks can be indicative of Indian Meal Moth infestation, and if you do some reading about them on-line, you will buy pantry-pest traps and keep them fresh. I was keeping bird seed in the house during the winter and I was actually in the early stages of the ‘larva dropping from the ceiling’ infestation when I learned about them. The foodstuffs are usually tainted at the store, and if you see a moth in your grocery or farm store, they’re carriers.
I worked in a food plant and they had an Indian Meal Moth infestation where the corrugated cardboard, when peeled back, looked like a bee hive. It was taken so seriously that they closed the plant so they could fumigate.
Oddly enough, my aunt taught me that red pepper is one of things most likely to be/get infested with bugs, and it’s true