From what I could see of the head, it's not from the pit viper family, so it wouldn't be venomous. Possibly a king snake. Here in Indiana, the smaller ones like to hunt in farm services for nesting mice.

Personally, those aggressive brown wasps bother me more. Still a surprise to open up a deadfront and find a snake, though.