Sourdough starters contain wild yeast and bacteria that can inhibit mold spores and harmful bacteria from forming. Starters can still mold, though, so it’s best to keep an eye on your starter and keep up with regular feedings if you aren’t keeping it in the refrigerator.