For a while now, I have been interested in viruses, backdoors, etc. As a result, I've started to tinker around with techniques on how to go undetectable for educational/personal purposes. I'd like to open source my code as a learning resource, however, I am worried that if someone were to actually use my code maliciously, I would be held responsible.
If I am to open source my code under a free license, what can I do to prevent myself from being blamed, can I write a guideline which specifies me as not responsible?