Re: Let the police to the police work already!
I understand that point.
Stupid counterexample: Say I own a house. I allow people to come in and peddle drugs or other illegal goods. I would argue that by letting people come in and openly do that I can be held complicit in any of these crimes - under current law. Similar if you allow people to share illegal material through your platform. As soon as you are aware of what's going on you have to stop and report it. Closing your eyes and going "lalalalalaaa, I cannot see you" doesn't help you.
As I said, that's a stupid but maybe sort of helpful example.
And no, I cannot think of a good solution. But I think if you are a copyright holder you should get paid for your work. And if you use a software library without a clear license agreement for anything production you deserve to be hit with a sockful of thinwire terminators - that argument by Github doesn't count.