Working for an illegal business (tornado cash isn't just some code repository, it's basically a SaaS business backed on a chain), on its product, usually makes you liable. That's why people working for cartels are prosecutable.
edit: I believe the term is "criminal facilitation."
edit: I believe the term is "criminal facilitation."