The yellow mongoose is carnivorous, consuming mostly arthropods but also other small mammals, lizards, snakes and eggs of all kinds.