I'll give you much credit for keeping your cool. And props to her for having a good appetite-If I remember right, you're not even sure she is in shed? And she's clearly famished, so I think I'd go ahead & feed her. (I'm not seeing her, of course- but usually snakes in shed won't eat.)
I can see where you might not be trusting her so much in the future, but mostly it's a matter of paying close attention & learning to read her body language better. Also, when you see signs that she is hungry, you need to clearly identify to her that you are not "it", or just avoid handling her at that time- some snakes are harder than others to dissuade. You just need more experience.
BTW, a snake "in shed" will usually bite defensively. This does NOT sound like a defensive bite- it sounds like hunger to me, since she hung on. That's a feeding bite- the kind we all wish to avoid. Your pinky was warm & wiggling- it met her criteria, lol. Oops!