Can't say in general, but in the case of Storm pellets, our vet assured us that once it has been through the rat's digestive system, it breaks down and is harmless.

She says she has only once seen a dog come to harm from Storm and that was a Jack Russel that jumped up on the table where the Storm was kept and scoffed the whole box!

The dog had an upset tummy for a day or so....