Torrent files also aren’t illegal.
Also, you’re on the internet, which isn’t beholden solely to US copyright laws, so unless you’re a lawyer who specializes in international copyright law, I doubt you can speak with any certainty to the legality of post content in every jurisdiction across the globe.
Here’s an idea: if you don’t want to see that content, block the community.