In the great epic Mahabharata, the depiction of nagas tends toward the negative.
Kadru, the ancestral mother of snakes, made a bet with her sister Vinata, the stakes being that the loser would be enslaved to the winner.