Indeed a lot of social media platforms are used by foreign powers to create discord. Human psychology is much more attentive to negative messages and this is too easy to weaponize. A solution against that would probably be world changing. It would have to preserve anonymity still of course.
You are right that foreign powers abuse these platforms, but I don't personally believe that the platforms care. They just want to sell ads. Controversy will likely drive more traffic and more ad conversions.