@tozka
#goblinsolutions
In the cabinet itself, damprid as a dessicant to reduce moisture.
There are composting bins or buckets which seal shut, including types with an added nitrobacteria pack, to greatly enhance the rate of decomposition. This practice is popular in japan. example- https://en.wikipedia.org/wiki/Bokashi_(horticulture)
Short of these fancy methods, a bucket with a lid to hold scraps, which is emptied regularly, perhaps a few times a week would help a lot.
Activated charcoal or carbon could also be helpful, but... I do not know how it would be arranged, engineering-wise.
If mold has grown someplace, the spores are likely alive even on porous surfaces. Plastic can be cleaned with dish soap, which unfortunately leaves a residue. Porous surfaces cleaned with diish soap ued for plants or organic matter for plants can be left in the sun for a few days, which should remove the residue.
It is possible that spores could continue to exist in the wood of a damp closed cabinet space.
For this, I would recommend removing everything from the drawer. Spray all plastic containers outside with 91% isypropyl alcohol or ethanol/everclear. Spray the wood inside the cabinet from all angles with the same. Allow it to dry and vent open to air for a few hours, so the alcohol can evaporate.
I can not promise that this will remove all mold spores, but you will be in a better position to prevent mold regrowth than before!