I've seen a green tree snake with skin worms before which just looked like little lumps all over the body and I think each one actually had a little worm in it

. Don't know a lot about them but perhaps do a little research on skin worms. Or even better take it to a vet