@Hejor1 : I have never known of any Ectropis species larvae living in a hollow twig . Hemibela larvae are known to live in a hollow twig. This one looks a bit long for that genus, but maybe it is from another genus. The answer can only be obtained by rearing it to an adult, so I hope you have it in protective custody?