This is interesting though I remember seeing a ted talk on covering the corpse in fungi to detoxify the corpse while composting because human bodies are generally highly toxic...
I don't know the chemical names offhand, but suffice to say the decomposition process has plenty of nasty byproducts, not to mention whatever might have been in the intestinal tract (eating feces == bad).
On a slightly more serious note... there are plenty of carrion eating animals. Many of which are capable of eating humans. I'm sure it's not that toxic.
iirc the carrion-eating animals have evolved particular mechanisms such that eating dead flesh doesn't harm them; they can eat a lot of stuff that would kill us. What is deadly toxic for a human may be nontoxic for a vulture or cockroach.