Goldfish crackers contain onion powder, and eating a lot can cause poisoning. All parts of the onion or the onion plant are toxic to dogs, including the leaves, flesh, juice, and processed powders. Fried or powdered onions and the allium family (garlic, leeks, shallots, and chives) are harmful to dogs.