May I change the emphasis of the question away from the worms and towards the garbage?
I assume it would be a hazard to the sacred space to have a huge pile of rotting garbage in the basement, but on the other hand, the amount of garbage the worms consume in natural process is okay.
So what exactly creates the danger to a gnostic student (cleanliness is next to Godliness)?
Why is it recommended that you take the trash out frequently, how does trash attract negative energy?
Is it the state of decay of the garbage: 1 day, 1 week, 1 month etc.
Is it the amount: a lunch bag, a barrel, a dumpster etc.
Thank you, I appreciate your work on this site very much.