However, the IPFS team is aware of this problem, and is building in measures to allow nodes to opt out of storing globally available blacklists of known bad objects (i.e. pirated content or illegal content)
In practice, this is definitely a really hard problem to solve, and very important. But I think doable.