DO NOT LISTEN TO THE PEOPLE SAYING MOLD IS SAVE!!! FOUND THIS
Yes, mold in a hermit crab's substrate is unsafe and can cause health problems for the crabs:
Mycotoxins
Mold can produce mycotoxins, which can be dangerous to the health of hermit crabs and humans.
Carbon dioxide, water, and other compounds
Mold produces these compounds when it breaks down proteins and complex carbohydrates.
Entry routes
Mold spores can settle on every surface in a closed habitat, including the hermit crab's body and gills.
![blush :crabblush:](./images/smilies/blush.gif)