I’ve heard this but considering they are widely eaten without issue I’m not convinced it’s a real problem. Many foods contain carcinogens, but it’s the dose that makes the poison. Considering the history of raw consumption it would take research demonstrating a link to cancer outcomes to convince me they’re not safe.
That said, I think they taste much better cooked anyway.