FoodSafety.gov describes food poisoning as illness from contaminated food. Visible pest contamination points to a sanitation problem.
Finding insects or pest evidence in sealed food is a reason to stop using the product.
Keep the package if safe to do so if you need to report the problem.