as others have mentioned, those white stone and powdery stuff is urates. the bug could've come from anywhere. it could be a parasite from inside your snake, it could be an external parasite like a mite. it could've been a helpful springtail or isopod that feeds on waste and decaying plant matter inside animal enclosures. keep an eye on your BP and it's waterbowl for bugs. IMO i would clean your tank and replace the greying substrate if u are really concerned.