I'm not seeing any reasonable evidence of a consensus that this even
is a problem. Let alone that there is no other solution than to run from it.
There's no fix for criminal activity on the internet (objectively worse than non-free code) and yet I don't think anyone (RMS included) is proposing to sever the connections just to make sure they don't accidentally encounter such activity. The more radical comparison would be "bad stuff" in society and completely isolating yourself from it.