If you provide a tool to a criminal that they use in commission of a crime, you are assisting them and should generally be prosecuted unless a good reason exists to counter.
Is providing a public service a "good enough" reason?
If you provide free classes on bomb-making, should you bear any responsibility for how your students use the knowledge? Just because you're offering a public good/service doesn't absolve you of responsibility.