Can't you just look and see if there are any other bugs in it? If no other bugs were visible, it was probably just a rogue bug caught in the wrong place at the wrong time.
There was one other bug. eek. still safe you think? same kind of bug, miniature moth like thing.
I am so bummed. It was a full bag of icing sugar.