apparently, mostly fungus; some predacious on bark beetles; stored grain (several spp are important pests)(1)
Remarks
The larvae of some Cryptolestes are unique among insects in having paired prosternal silk glands with which the spin a cocoon within which they pupate(1)