Re: Almost got tagged! :)
It could have been either. If you startled her it could have been a defensive strike. If she was hungry it could have been a hungry strike. If she just flew at you out of no where and didn't have a defensive posture then it was probably feeding related.
Re: Almost got tagged! :)
I have one like that, who lays with her head just out of her hide, any time the tub opens she is expecting to be fed, she was an underweight adoptee also.
Re: Almost got tagged! :)
It is possible that a snake could be conditioned to associate opening the enclosure with food, especially in circumstances where most of the time when the tub/tank is opened food is offered. If this is what is causing this you may benifit from increased cage activity. Snakes which are used to regular activity in the enclosure (maintenance, cleaning, handling) are much less likely to go into feeding mode, even if they are hungry.