Jokes aside, I will suggest that:
1. Making harmful products is a bad idea.
2. If you chose to make a harmful product as a programming exercise, publishing it is a bad idea.
3. If you find someone else has published a harmful product, posting a link to a forum is a bad idea.
4. If you find someone else has posted a link to a harmful product, upvoting it is a bad idea.
Life is complicated. There is no simple formula that will tell you the right thing to do in the general case. And sometimes even when we know which is which, we end up doing the wrong thing because the right thing would be harder.
But when we know which is which, and the right thing is easy? Then, at least, we should be able to stop doing the wrong thing.