Watching a rat

I scroll through camera footage to check on my chickens between visits to the coop. Mainly the scrolling is to count them (three) and see where they sleep (separately). I saw a dark blip on the floor as I time jumped, and went back to find a rat.

Photo description: rat on the floor of the coop, circled in purple. There is a hen on the roost, one in a nesting box (middle, behind curtains), and the third hen on a bench on the right.
Photo description: the rat is now climbing the back screen porch. It tried that a couple times. The screen is made of two layers of wire mesh.
Photo description: the rat is now underneath Wing Ding the hen, who can hear it and moves her head to listen, which spooks the rat and it leaves her alone.
Photo description: now the rat is near the nesting boxes where Seashell is sitting, it also leaves her alone.
Photo description: the rat also investigated the work table, peeking out from under the cover.
Photo description: the rat climbed up on the bench with Schmoo, who could also hear the rat and made it think twice about bothering her.

Rats will eat chicken given the opportunity, but not these hens today. Chickens will eat mice and rats, but not this rat today.

How the rat got in is no mystery, I keep the coop door open in the summer for the breeze. There is enough hardware cloth to keep the larger predators out, but not rats. I keep the food stored in a locked metal can, and the feed for the chickens is in a hanging feeder outside the coop area. I have no doubt the rat is able to get to the food outside the coop, rats are clever and dexterous. I think it was curiosity that brought it into the coop, looking for snacks.