Ever hear of the Virus Creation Laboratory? Better than open source, it was a code factory that emitted them without heavy duty coding at all.
No, it wasn't better than open source, it was worse. Had VCL been open source, then it could have been fixed by the community, rather than abandoned. By now, we could not only have the source code for the viruses, but could also have *.vcl files that would allow your copy of VCL to quickly reproduce the original virus with you own copy of VCL.
Imagine the possibilities of taking the vcl file for your favorite/least favorite virus. Loading it up and tweaking it to your very own needs. All without having to do any heavy coding. Tired of that virus ridden spam bot filling your inbox, create a computer "bacteriophage" that targets the spam bots and wipes their hard drives.
I know, I know, you ask why not just remove the spambot and let the machine live on. That would be just treating the symptoms of the larger problem. The larger problem being the computer running the spambot. If you wipe the hard drive often enough, the physical owner of the
machine will eventually learn to better secure their machine and not let the problem return. Sure, they will probably still have no clue that they were spamming the world and will only have taken the steps to keep the bacteriophage from wiping their hard drive, but the end result will be the same. That and a lot of us here will profit from the lusers bringing their machines in for repairs. It's a win-win situation for us.