Lord Mashima

is a protecting deity in Jiraiya's novel, read by Tsunade in her Infinite Tsukuyomi dream.

According to Kaya, the deity sleeps underground, protecting her village and its inhabitants. In its honour, a shrine at the outskirts of the village was build. The shrine features snake-like emblems and is also a hidden entrance to the underground, where snake-like creatures, akin to those on the emblems, live.

Lord Mashima is apparently treated with much respect, since Kaya mentioned the villagers having lived peacefully to avoid enraging it. Also, Kaya prayed to it for her sons' safety and initially assumed their safe return was thanks to the deity's mercy.