In a Rudyard Kipling story, one of these animals saves a family from a deadly cobra
Jungle Book 
by Rudyard Kipling (1894) ... from its inhabitants; Rikki-tikki-tavi, a brave 
mongoose, defeats a deadly cobra; and more.