Re: Oh dear... maybe
He may well have "witten and shared malware code for research purposes" but it is perfectly fair to argue that he has to accept some responsibility if some of that code is subsequently used for malicious purposes.
Maybe someone with experience of lowish level Windows programming could comment on the possible alternative uses of the code in the blog linked in the article. However, my immediate thought is where does this stop? If a code fragment from some random Github repository gets used in malware is the author guilty of writing the malware?