This is NOT a reptile! This is the larva of the Hemeroplanes triptolemus moth. In its larval form it is capable of expanding its anterior body segments to give it the appearance of a snake, complete with simulated eyes. It’s mimicry extends even to the point where it will harmlessly strike at potential predators.
Thanks to the Costa Rica Traveler Magazine for this image.
source: I fucking love science