Could they possibly just be tiny insects / beetles from the substrate ?
I’d pick the snake up then wipe it down head to tail with a couple of pieces of slightly damp paper towel ..
If there are any black flecks on the paper ... crush them with your fingernail or the back of a teaspoon and see if it’s full of blood
Sent from my iPhone using Tapatalk Pro