The only legitimite way in which a programmer could be held responsible for the actions of the person who uses their code is if the actions of the person result in damages that were intentionally written into the code and were not in any way disclosed to the user.
i.e., Smith and Wesson designs a gun that fires a bullet out the back, so that when you fire it at someone else it blows your own brains out. They don't tell you this, and you go out and shoot someone. You are liable for that person's death, and they are liable for your's.
Other than that, any individual is responsible for his or her own actions, regardless of who developed the tools they use.
The only legitimite way in which a programmer could be held responsible for the actions of the person who uses their code is if the actions of the person result in damages that were intentionally written into the code and were not in any way disclosed to the user. i.e., Smith and Wesson designs a gun that fires a bullet out the back, so that when you fire it at someone else it blows your own brains out. They don't tell you this, and you go out and shoot someone. You are liable for that person's death, and they are liable for your's. Other than that, any individual is responsible for his or her own actions, regardless of who developed the tools they use.