Tomato leafminer
occur underneath the crown of the fruit and even inside the fruit itself. On leaves, the larvae only feed on mesophyll tissues, leaving the epidermis intact [...] mine inside the leaf, stem or fruit. In the second to fourth instars they become greenish with a black band behind the head. The prepupae of the tomato leaf [...] place in the soil or on the surface of a leaf, in a curled leaf or in a mine. If they leave the mines they build silk cocoons on the leaflets or in the soil