Are you familiar with the species you are culturing for composting?

The term earthworm is used pretty loosely to describe a wide variety of species; but most commonly sold 'nightcrawler' and 'redworm/ red wiggler' species from pet and bait supply shops are safe to food... though the latter are known to excrete an unpleasant substance that some herps find unappealing.