ANSWER:
Such droppings of insects are pure as they are negligible. However, it seems that it also undergoes a rigorous process that would change the characteristics of it.
https://islamqa.info/en/answers/162658/ruling-on-eating-sweets-that-contain-gelatin-and-carmine