Earthworms in temperate countries do not carry parasites that are communicable to frogs. It could very well be the case that no earthworms carry parasites communicable to frogs. The ones in your garden are fine, unless the garden has been treated with any sort of pesticide/herbicide.