Don’t ask Hacker News for legal advice. If you really want to know the answer, ask a lawyer.
Standard answer fit to keep the parasites fed. There is no "the answer" here, there are many answers depending on which lawyers you ask and how much you can afford to feed them. Just release the code somewhere, anonymously, it isn't yours anyway.
The thing is, at least in Germany, lawyers are required to carry a liability insurance and in the case th advice ends up being really bad you can hold their insurance accountable.