Is there any particular reason spices would be more of a concern than produce that are consumed fresh and in much higher quantities?
https://www.fda.gov/food/alerts-advisories-safety-informatio...
But also some plants tend to accumulate certain compounds. Possibly to 100...1000x the levels from the soil it grows in. Eg. rice is known to accumulate arsenic occuring in soils naturally. And some soils just happen to be rich in, or polluted with <insert undesired substance here>.
Farmers may not even know. Or care...
Is also normally unfalsifiable and cheaper, so there is less incentives into manipulating it.