I've read various threads, where you go into cure and the worm will then parachute down on a string of silk, have had that happen too. It's too late when that happens. That means it was in there shitting and the bud is contaminated.
You need to cut out the afflicted area when you trim before you cure.
Also, washing your bud will not hurt the product. You want a clean sterile product. Trim, debug, dunk in peroxide water mix, final rinse, hang. I've found dead flies in my water solution after, you don't want that in your smoke either. I'm of the opinion washing outdoor bud is a MUST.