Pinworm
Symptoms:
Blackened cavities are present near the stem scar of green tomato fruit, and some excrement may be present around the cavities. If fruit is cut open, a tunnel will be present throughout the fruit cavity. The larvae (the worm) may or may not be present.
Control:
Consult the Vegetable IPM Web Site for recommended controls of this pest.