The melon fly (Bactrocera cucurbitae) usually lays eggs under the skin of host fruit. Eggs may also be laid into flowers, stems and exposed roots, hatching into larvae which tunnel through the flesh of the fruit.
Melon Fly Pest Profile
Source: California Department of Food and AgricultureVisit Website
Images courtesy of Bugwood.org