dead bug in unopened pasta bag

Cooked the pasta and everything but noticed as I was draining that there was a bug in my pasta. I know for sure it did not come from my pot, must of come from the bag. Ugh. I took the bug and threw it out but now wondering if I should dispose of it all and remake it?